Sign in
android
/
platform
/
external
/
google-fruit
/
aab1763b43e9059358a0480755a6d54812a313c7
/
.
/
extras
/
doc
/
extract_dependencies.sh
blob: b4c60f529d9417d0576a60fbccea337fcc0e6295 [
file
] [
log
] [
blame
]
#!/bin/bash
echo
"// Running from dir $PWD"
echo
'digraph g {'
for
f
in
$
(
ls
*.
cpp
*.
h
)
do
echo
"$(echo "
$f
" | sed 's/\./_/g') [label=\"$f\"]"
for
g
in
$
(
fgrep
-
l
"#include \"$f\""
*)
do
echo
"$g -> $f"
|
sed
's/\./_/g'
done
done
echo
'}'