platform_build/core
Anton Hansson 13ea2a6a7d Automate the strip and assignment of PRODUCT_ vars
With this change, all PRODUCT_ variables are treated the same
when it comes to stripping and assigning them to their final
variable name. In the past, all the PRODUCT variables needed
to be listed in two places to achieve this.

The documentation previously attached to the strip/assignment
is moved to the PRODUCT_ variable list in product.mk.

Also refactor some of the default value logic to cope with
the new automation.

Many places in the build system that currently refer to
$(PRODUCTS.$(INTERNAL_PRODUCT).X) can now be modified to
use $(X) directly.

Bug: 116769560
Test: verified noop on PRODUCT_ variables on all products in the tree
Change-Id: I5677c355e81359b1d3c0db2a2232941097a05047
2019-03-28 15:26:49 +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 Revert "Revert "Build System: Solve dependency problem for test"" 2019-03-14 01:05:36 +00:00
LINUX_KERNEL_COPYING
Makefile Only call make_recovery_patch when BUILDING_SYSTEM_IMAGE. 2019-03-25 18:34:30 +00:00
OWNERS Update OWNERS for dex preopt related files. 2018-12-18 19:39:20 +00:00
WINPTHREADS_COPYING
aapt2.mk Support LOCAL_STATIC_JAVA_AAR_LIBRARIES with aapt2 2018-05-23 13:39:15 -07:00
aapt_flags.mk Move aapt2.mk before java.mk 2018-03-20 15:47:45 -07:00
allowed_ndk_types.mk
android_manifest.mk Update manifest merger to use binary 2019-02-27 06:18: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 Define non-system module as variable 2019-01-18 18:24:30 +09:00
app_prebuilt_internal.mk Split out app_prebuilt_internal.mk. 2019-03-19 13:35:23 -07: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 Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
binary.mk Add support for no-vendor-variant VNDK 2019-03-20 10:23:04 -07:00
board_config.mk Move BoardConfig strip / READONLY marking 2019-03-01 10:04:18 +00:00
build-system.html Remove showcommands from docs 2018-07-14 09:32:13 -07:00
build_id.mk Make change and version bump to PPRL.190305.001 2019-03-08 18:53:29 +00:00
build_rro_package.mk Change RRO default location to /product 2019-02-07 13:06:18 +00:00
ccache.mk Mark export/unexport as deprecated 2018-06-21 10:12:23 -07:00
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 Merge "Read product/device RRO dirs separately from soong" 2019-03-21 11:28:19 +00:00
config.mk Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
config_sanitizers.mk Don't enable CFI diagnostics in include paths. 2019-02-06 11:09:05 -08:00
configure_module_stem.mk Restrict characters in module names 2018-06-12 13:48:49 -07:00
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 Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
device.mk
dex_preopt.mk Support for install multiple boot images. 2019-02-22 15:33:23 +00:00
dex_preopt_config.mk Move WITH_DEXPREOPT default value 2019-02-27 15:03:23 +00:00
dex_preopt_libart.mk Support for install multiple boot images. 2019-02-22 15:33:23 +00: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
dpi_specific_apk.mk Add module-target-built-files function 2019-03-20 10:22:21 -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 Revert "Revert "Build System: Solve dependency problem for test"" 2019-03-14 01:05:36 +00: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 Consolidate sdk version handling 2019-02-07 08:55:48 -08:00
fuzz_test.mk
generate_enforce_rro.mk Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00: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 Consolidate sdk version handling 2019-02-07 08:55:48 -08: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 Build System: Fix rpath error if native executable under testcase folder. 2018-05-07 06:29:12 +00:00
host_fuzz_test.mk
host_java_library.mk Merge "Mark more targets as PHONY" 2018-07-24 15:37:00 -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
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 Support app shared libs in /product and /product_services. 2018-08-29 13:42:09 +01:00
install_jni_libs_internal.mk Add support for no-vendor-variant VNDK 2019-03-20 10:23:04 -07:00
instrumentation_test_config_template.xml Update the base autogenerated config template for instru 2018-03-16 18:16:34 +00:00
jacoco.mk Use find(1)'s -exec directly. 2019-01-14 12:56:07 -08:00
java.mk Consolidate sdk version handling 2019-02-07 08:55:48 -08:00
java_common.mk Build System: Add java lib header files to module dependency list im module-info.mk 2019-01-24 09:27:48 +08: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_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
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 Automate the strip and assignment of PRODUCT_ vars 2019-03-28 15:26:49 +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 build/make: auto generate Test config file for Google Benchmark Test 2018-04-19 09:16:54 +00:00
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
notice_files.mk Add -CROSS suffix to cross host OS notice targets. 2018-11-08 16:53:02 -08:00
pack_dyn_relocs_setup.mk Disable standalone relocation packer 2018-06-26 00:35:46 +00:00
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 Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -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 Merge "Split out app_prebuilt_internal.mk." 2019-03-20 00:51:45 +00: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 Automate the strip and assignment of PRODUCT_ vars 2019-03-28 15:26:49 +00:00
product_config.mk Automate the strip and assignment of PRODUCT_ vars 2019-03-28 15:26:49 +00:00
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags Remove obsolete proguard flags 2019-01-25 21:30:13 +00:00
project_definitions.mk Always statically include Support Libraries, move SDK definitions up a dir 2018-05-03 16:47:11 -07:00
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 Enforce specifying sdk/private for apps. 2018-03-09 10:15:25 +00:00
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 Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
soong_cc_prebuilt.mk Add support for no-vendor-variant VNDK 2019-03-20 10:23:04 -07:00
soong_config.mk Merge "Read product/device RRO dirs separately from soong" 2019-03-21 11:28:19 +00:00
soong_droiddoc_prebuilt.mk Build docs zips with make docs 2019-01-18 16:08:14 -08:00
soong_java_prebuilt.mk Add a dependency on boot jars $(LOCAL_BUILT_MODULE) 2019-03-18 13:17:22 -07:00
static_java_library.mk Fix resource overlay order for static libraries 2019-02-14 03:34:57 +00: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 Fix support libraries dependencies based on Soong modules 2018-05-03 16:47:55 -07:00
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 Use $(AAPT) instead of aapt for verifying uses libraries 2018-05-14 10:18:02 -07:00
version_defaults.mk DO NOT MERGE - Merge PPRL.190305.001 into master 2019-03-11 11:13:56 -07:00