platform_build/core
patricktu ab435e39a5 AIDEGen: Collect the srcjar path of modules into module-info.json
By design doc: go/aidegen-doc-generate-R
In order to generate R.java of app modules, AIDEGen needs to build
the module. It might cause system.img oversized so we turn to build
the target srcjar file if it exists in module-info.json.

Build module-info.json without this change:
Build time: 1m47.227s
File size: 14,186,429 Bytes

Build module-info.json with this change:
Build time: 1m46.796s
File size: 14,614,470 Bytes

Bug: 132407603
Test: 1. m out/target/product/generic_x86_64/module-info.json
      2. by grep "target/common/obj/APPS/Settings_intermediates/aapt2.srcjar"
         in module-info.json.

Change-Id: I09c812aede0324bc38acbead0a863a85ae15b33e
2019-05-17 01:46:56 +00:00
..
clang Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
combo Merge "Add x86 AVX2 and AVX512 supported architectures" 2019-03-20 06:22:22 +00:00
tasks AIDEGen: Collect the srcjar path of modules into module-info.json 2019-05-17 01:46:56 +00:00
aapt2.mk
aapt_flags.mk
allowed_ndk_types.mk
android_manifest.mk Merge "Allow codename.fingerprint format for targetSdkVersion" 2019-04-22 16:48:35 +00:00
android_vts_host_config.mk Add a wrapper file for the vts_config module. 2019-02-14 18:13:36 -08:00
app_certificate_validate.mk Access PRODUCT_ variables directly 2019-03-28 15:54:25 +00:00
app_prebuilt_internal.mk Always use aapt2 for prebuilt appcompat 2019-04-16 22:40:25 +00:00
autogen_test_config.mk Add a placeholder EXTRA_OPTIONS to inject more tradefed options 2019-03-01 11:36:36 -08:00
aux_config.mk Fix aux_config warning 2019-02-04 20:52:14 -08:00
aux_executable.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
aux_static_library.mk
aux_toolchain.mk Move libgcc to libcrt.builtins 2018-11-08 13:40:34 -08:00
base_rules.mk Split ALL_MODULES.*.REQUIRED and friends between target/host 2019-04-10 13:22:23 -07:00
binary.mk Merge "Remove our clang-tidy wrapper" 2019-04-05 17:17:10 -07:00
board_config.mk Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set 2019-05-09 09:56:55 +09:00
build-system.html Remove TARGET_ROOT_OUT_SBIN / TARGET_ROOT_OUT_SBIN_UNSTRIPPED 2019-04-17 11:12:32 -07:00
build_id.mk Make change and version bump to PPRL.190405.003 2019-04-08 18:50:28 +00:00
build_rro_package.mk Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility 2019-04-03 01:31:43 +00:00
cc_prebuilt_internal.mk prebuilt_internal.mk refactoring. 2019-03-26 15:29:20 -07:00
ccache.mk
check_elf_file.mk Fix check_elf_file with LOCAL_SDK_VERSION and NDK libs 2019-03-01 10:25:25 +08:00
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Remove AAPT1 support 2019-04-17 16:50:30 -07:00
config.mk Use the installed vboot_signer. 2019-05-06 20:03:24 -07:00
config_sanitizers.mk Access PRODUCT_ variables directly 2019-03-28 15:54:25 +00:00
configure_module_stem.mk
construct_context.sh Fix build time preopt with shared library uses. 2018-12-18 17:33:02 +00:00
copy_headers.mk
cxx_stl_setup.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
definitions.mk Remove reverse-list from java static libraries. 2019-04-29 10:31:02 -07:00
deprecation.mk Move BUILD_[HOST_]SHARED_TEST_LIBRARY to obsolete list 2019-05-08 12:37:10 -07:00
device.mk
dex_preopt.mk Rename PRODUCT_USES_ART to PRODUCT_USES_DEFAULT_ART_CONFIG 2019-05-01 15:35:03 -07:00
dex_preopt_config.mk Add PRODUCT_DEX_PREOPT_RESOLVE_STARTUP_STRINGS 2019-04-30 17:00:19 -07:00
dex_preopt_libart.mk Move the profile rule out of dex_preopt_libart.mk. 2019-04-05 18:44:15 +01:00
dex_preopt_libart_boot.mk Support for install multiple boot images. 2019-02-22 15:33:23 +00:00
dex_preopt_odex_install.mk Add a flag to select the apex boot image for preopt. 2019-03-08 14:41:14 +00:00
distdir.mk Fix dist-for-goals with no targets 2018-10-20 16:59:41 -07:00
dumpvar.mk
dynamic_binary.mk Use llvm-{strip,objcopy} by default 2019-01-30 13:40:44 +00:00
empty_test_config.xml
envsetup.mk Adding boot-debug.img and ramdisk-debug.img 2019-04-22 21:50:07 +08:00
executable.mk Build: Do not build sanitize-never executable 2018-10-10 19:27:04 -07:00
executable_internal.mk Allow projects to exclude from libcrt_builtins 2018-11-08 13:41:05 -08:00
executable_prefer_symlink.mk
filter_symbols.sh
force_aapt2.mk Don't set LOCAL_SDK_RES_VERSION to current if LOCAL_SDK_VERSION is core_current 2019-04-18 11:14:58 -07:00
fuzz_test.mk
generate_enforce_rro.mk Don't sign auto-generated RROs with platform cert 2019-05-01 16:42:56 +01:00
goma.mk Remove Goma resource check code. 2019-01-11 17:07:58 +09:00
header_library.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
header_library_internal.mk Add soong_cc_prebuilt.mk 2018-09-10 14:46:52 -07:00
host_dalvik_java_library.mk Remove reverse-list from java static libraries. 2019-04-29 10:31:02 -07:00
host_dalvik_static_java_library.mk
host_executable.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
host_executable_internal.mk
host_fuzz_test.mk
host_java_library.mk Remove reverse-list from java static libraries. 2019-04-29 10:31:02 -07:00
host_java_library_common.mk Remove host- prefix from protobuf libraries 2018-10-26 23:55:49 -07:00
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
host_shared_library_internal.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
host_shared_test_lib.mk
host_static_library.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
host_static_library_internal.mk
host_static_test_lib.mk Deprecate next set of make module types 2019-05-08 12:27:53 -07:00
host_test_config.mk
host_test_internal.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
install_jni_libs.mk Indent the install_jni_libs makefiles 2019-04-03 14:24:43 +01:00
install_jni_libs_internal.mk Indent the install_jni_libs makefiles 2019-04-03 14:24:43 +01:00
instrumentation_test_config_template.xml
jacoco.mk Use find(1)'s -exec directly. 2019-01-14 12:56:07 -08:00
java.mk AIDEGen: Collect the srcjar path of modules into module-info.json 2019-05-17 01:46:56 +00:00
java_common.mk Remove AAPT1 support 2019-04-17 16:50:30 -07:00
java_host_test_config_template.xml Allow Soong to autogenerate test configs 2018-08-14 15:39:32 -07:00
java_library.mk Remove dexpreopting of boot jars from Make 2019-02-15 13:00:14 -08:00
java_prebuilt_internal.mk Remove AAPT1 support 2019-04-17 16:50:30 -07:00
java_renderscript.mk Fix dep filename for rs.srcjar 2019-01-03 22:14:56 -08:00
java_test_config_template.xml Allow Soong to autogenerate test configs 2018-08-14 15:39:32 -07:00
jetifier.mk Follow minor Jetifier usage change 2018-08-29 17:33:29 +00:00
link_type.mk
LINUX_KERNEL_COPYING
local_systemsdk.mk Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
local_vndk.mk Add support for /odm partition 2018-08-08 18:59:44 +08:00
main.mk Merge "Extend library absence check to Bionic libs and all ART debug libs." 2019-05-09 11:51:37 +00:00
Makefile Merge "Move ro.boot.dynamic_partitions to vendor/build.prop" 2019-05-08 21:39:26 +00:00
module_arch_supported.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
multi_prebuilt.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
multilib.mk
native_benchmark.mk Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
native_benchmark_test_config_template.xml
native_host_test_config_template.xml ATest: Host native test config auto-gen support. 2018-08-14 14:53:14 -07:00
native_test.mk
native_test_config_template.xml Add a placeholder EXTRA_OPTIONS to inject more tradefed options 2019-03-01 11:36:36 -08:00
ninja_config.mk Remove valgrind-test-art% targets from PARSE_TIME_MAKE_GOALS. 2019-03-13 17:28:11 +00:00
node_fns.mk Add support for single-value product variables 2019-05-06 16:17:20 +01:00
notice_files.mk Skip unneeded notice files for ETC modules. 2019-04-22 21:39:10 +00:00
OWNERS Update OWNERS for dex preopt related files. 2018-12-18 19:39:20 +00:00
pack_dyn_relocs_setup.mk
package.mk Warn when defining a 32-bit product on a 64-bit device. 2018-07-09 13:17:52 +01:00
package_internal.mk Remove AAPT1 support 2019-04-17 16:50:30 -07:00
pathmap.mk
pdk_config.mk Remove usages of legacy-test and legacy-android-test 2019-02-22 15:45:03 +00:00
pdk_fusion_modules.mk Fix pre-extracted PDKs 2018-11-05 10:57:24 -08:00
phony_package.mk
prebuilt.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
prebuilt_internal.mk prebuilt_internal.mk refactoring. 2019-03-26 15:29:20 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Fix the product-graph target 2019-03-20 11:03:59 +00:00
product.mk Merge "Add PRODUCT_EXTRA_VNDK_VERSIONS product variables" 2019-05-09 08:25:23 +00:00
product_config.mk Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags 2019-05-07 11:00:37 -07:00
proguard.flags Understand the support library/androidx @Keep annotations 2019-03-26 23:44:01 +00:00
proguard.jacoco.flags
proguard_basic_keeps.flags Remove unsupported option from R8 flags 2019-04-22 20:00:37 +00:00
project_definitions.mk
python_binary_host_test_config_template.xml ATest: Add test config template for python. 2018-11-20 15:31:44 +08:00
root.mk
sdk_check.mk
sdk_font.mk
shared_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
shared_library_internal.mk Allow projects to exclude from libcrt_builtins 2018-11-08 13:41:05 -08:00
shared_test_lib.mk
soong_app_prebuilt.mk Merge "Support PRESIGNED in soong_app_prebuilt.mk" 2019-05-04 00:22:29 +00:00
soong_cc_prebuilt.mk Skip checking ELF files for uninstallable soong modules 2019-04-02 14:06:22 -07:00
soong_config.mk Enable native_bridge 2019-05-03 15:32:15 +02:00
soong_droiddoc_prebuilt.mk Build docs zips with make docs 2019-01-18 16:08:14 -08:00
soong_java_prebuilt.mk Support LOCAL_SOONG_PROGUARD_DICT in soong_java_prebuilt.mk 2019-04-23 20:05:35 +00:00
static_java_library.mk Remove AAPT1 support 2019-04-17 16:50:30 -07:00
static_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
static_library_internal.mk
static_test_lib.mk
support_libraries.mk
target_test_config.mk
target_test_internal.mk Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
test_config_common.mk
use_lld_setup.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
verify_uses_libraries.sh
version_defaults.mk Master is now designated for R. Update MAX_PLATFORM_VERSION, etc. 2019-04-17 18:09:53 -07:00
WINPTHREADS_COPYING