2d61a7d005
This script is responsible for generating <module>_using.txt, which is a file containing all NDK symbols used by the shared libraries in an APEX. This script doesn't work as-is in the bazel sandbox; namely it tries to create tmp directories in read only input dirs, for example: "mkdir: cannot create directory 'bazel-out/android_target-fastbuild-ST-7fe6d3cd3905/bin/packages/modules/adb/apex/com.android.adbd_staging_dir/tmpUnzipped': Permission denied" The staging dir inputs are also symlinks, so the `find` call needs a new -L flag to follow symlinks. This CL fixes that by using a tmpdir, and also refactors the script to be less fragile. I'm not a fan of the camelCase, but I'll save that for another change. Test: presubmits Bug: 239081455 Bug: 257226023 Fixes: 257226023 Change-Id: I1d0fe93c47c92d046e72c0ab32014a5dc8bbd597 |
||
---|---|---|
.. | ||
check_boot_jars | ||
hiddenapi | ||
Android.bp | ||
archive_repack.sh | ||
build-apex-bundle.py | ||
build-ndk-prebuilts.sh | ||
build-rustdocs.sh | ||
build_broken_logs.go | ||
check_do_not_merge.sh | ||
construct_context.py | ||
construct_context_test.py | ||
conv_linker_config.py | ||
diff_build_graphs.sh | ||
freeze-sysprop-api-files.sh | ||
gen-java-current-api-files.sh | ||
gen-kotlin-build-file.py | ||
gen-sysprop-api-files.sh | ||
gen_java_usedby_apex.sh | ||
gen_ndk_backedby_apex.sh | ||
gen_ndk_usedby_apex.sh | ||
get_clang_version.py | ||
get_clang_version_test.py | ||
jar-args.sh | ||
jar-wrapper.sh | ||
jars-to-module-info-java.sh | ||
jsonmodify.py | ||
jsonmodify_test.py | ||
lint_project_xml.py | ||
lint_project_xml_test.py | ||
list_image.sh | ||
manifest.py | ||
manifest_check.py | ||
manifest_check_test.py | ||
manifest_fixer.py | ||
manifest_fixer_test.py | ||
microfactory.bash | ||
ninja_rsp.py | ||
OWNERS | ||
package-check.sh | ||
rbc-run | ||
reverse-deps.sh | ||
rustfmt.toml | ||
setup-android-build.sh | ||
setup_go_workspace_for_soong.sh | ||
strip.sh | ||
system-clang-format | ||
system-clang-format-2 | ||
test_config_fixer.py | ||
test_config_fixer_test.py | ||
toc.sh | ||
transitive-deps.sh | ||
unpack-prebuilt-apex.sh | ||
update_out |