LineageOS-16.1
== Android9(Pie)
1. 复制$LosD/*.bp
到空目录$Dst
理由是$LosD
巨大执行find慢
LosD=/app5/OP3TLos16Build/;BpD=/home/z/OP3TLos16Build-bp;
mkdir -p $BpD; cd $LosD; find . -maxdepth 1 -type d -not -name "\.*" | while read k ; do ( \find $k -type f -name "*.bp" | while read j; do { mkdir -p $BpD/$(dirname $j); cp -v $j $BpD/$j ;} ; done \
;) ; done
Lineage-16.1共有1983
个*.bp
: find $BpD -type f | wc -l
== 1983
2. 查找谁依赖skia
- 粗略
cd $BpD; find -type f -not -path "./external/skia/Android.bp"| while read j ; do { grep -Hn 'skia' $j 1>/dev/null && echo $j ;}; done | sort
./external/pdfium/pdfiumfxge.bp
./external/skqp/Android.bp
./frameworks/base/core/jni/Android.bp
./frameworks/base/libs/hwui/Android.bp
- 具体
cd $BpD; find -type f -not -path "./external/skia/Android.bp"| while read j ; do { grep -Hn 'skia' $j ;}; done
./frameworks/base/libs/hwui/Android.bp:5: "skia_deps",
./frameworks/base/libs/hwui/Android.bp:38: "external/skia/include/private",
./frameworks/base/libs/hwui/Android.bp:39: "external/skia/src/core",
./frameworks/base/libs/hwui/Android.bp:40: "external/skia/src/effects",
./frameworks/base/libs/hwui/Android.bp:41: "external/skia/src/image",
./frameworks/base/libs/hwui/Android.bp:42: "external/skia/src/utils",
./frameworks/base/libs/hwui/Android.bp:43: "external/skia/src/gpu",
./frameworks/base/libs/hwui/Android.bp:44: "external/skia/src/shaders",
./frameworks/base/libs/hwui/Android.bp:150: whole_static_libs: ["libskia"],
./frameworks/base/libs/hwui/Android.bp:163: "pipeline/skia/GLFunctorDrawable.cpp",
./frameworks/base/libs/hwui/Android.bp:164: "pipeline/skia/LayerDrawable.cpp",
./frameworks/base/libs/hwui/Android.bp:165: "pipeline/skia/RenderNodeDrawable.cpp",
./frameworks/base/libs/hwui/Android.bp:166: "pipeline/skia/ReorderBarrierDrawables.cpp",
./frameworks/base/libs/hwui/Android.bp:167: "pipeline/skia/ShaderCache.cpp",
./frameworks/base/libs/hwui/Android.bp:168: "pipeline/skia/SkiaDisplayList.cpp",
./frameworks/base/libs/hwui/Android.bp:169: "pipeline/skia/SkiaMemoryTracer.cpp",
./frameworks/base/libs/hwui/Android.bp:170: "pipeline/skia/SkiaOpenGLPipeline.cpp",
./frameworks/base/libs/hwui/Android.bp:171: "pipeline/skia/SkiaOpenGLReadback.cpp",
./frameworks/base/libs/hwui/Android.bp:172: "pipeline/skia/SkiaPipeline.cpp",
./frameworks/base/libs/hwui/Android.bp:173: "pipeline/skia/SkiaProfileRenderer.cpp",
./frameworks/base/libs/hwui/Android.bp:174: "pipeline/skia/SkiaRecordingCanvas.cpp",
./frameworks/base/libs/hwui/Android.bp:175: "pipeline/skia/SkiaVulkanPipeline.cpp",
./frameworks/base/libs/hwui/Android.bp:176: "pipeline/skia/VectorDrawableAtlas.cpp",
./frameworks/base/core/jni/Android.bp:217: "external/skia/include/private",
./frameworks/base/core/jni/Android.bp:218: "external/skia/src/codec",
./frameworks/base/core/jni/Android.bp:219: "external/skia/src/core",
./frameworks/base/core/jni/Android.bp:220: "external/skia/src/effects",
./frameworks/base/core/jni/Android.bp:221: "external/skia/src/image",
./frameworks/base/core/jni/Android.bp:222: "external/skia/src/images",
./external/pdfium/pdfiumfxge.bp:16: "core/fxge/android/cfpf_skiabufferfont.cpp",
./external/pdfium/pdfiumfxge.bp:17: "core/fxge/android/cfpf_skiadevicemodule.cpp",
./external/pdfium/pdfiumfxge.bp:18: "core/fxge/android/cfpf_skiafilefont.cpp",
./external/pdfium/pdfiumfxge.bp:19: "core/fxge/android/cfpf_skiafont.cpp",
./external/pdfium/pdfiumfxge.bp:20: "core/fxge/android/cfpf_skiafontdescriptor.cpp",
./external/pdfium/pdfiumfxge.bp:21: "core/fxge/android/cfpf_skiafontmgr.cpp",
./external/pdfium/pdfiumfxge.bp:22: "core/fxge/android/cfpf_skiapathfont.cpp",
./external/skqp/Android.bp:1071: "src/ports/SkImageGenerator_skia.cpp",
./external/skqp/Android.bp:1522: "tools/skqp/jni/org_skia_skqp_SkQPRunner.cpp",