cscope with android source

최대 1 분 소요

  • generate android source
#!/bin/bash
echo "Listing Android files ..."
rm -f all.files
rm -f cscope.files
find \
        "./frameworks/" \
        "./packages/" \
        "./hardware/" \
        -type f \( -name "*.java" -o -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.mk" \) \
        -print \
        -exec bash -c 'ls "$0" >> all.files' {} \;

echo "Done"
cat all.files | grep -Ev "tests" > cscope.files
time cscope -bqkR

태그:

카테고리:

업데이트: