platform_build/core
Jiyong Park 5217eed7a3 Add TARGET_FLATTEN_APEX
TARGET_FLATTEN_APEX, when set to true, flattens APEXes that are on
/system. Flattening an APEX means files in it are not packaged as a mini
file system image, but exist in the /system partition as individual
files. This option is for devices where kernel does not support loopback
devices or the maximum number of loopback devices is too small (though
the threshold is TBD as of now).

Bug: 118485880
Test: TARGET_FLATTEN_APEX=true m apex.test; tree
out/target/product/.../system/apex/apex.test shows list of files in it.

Test; m apex.test, then a file out/target/product/.../system/apex/apex
.test.apex exists.

Change-Id: Ie13cb062c1387d55689692ba2b123e606ada8aa4
2018-11-14 07:53:23 +09:00
..
clang Merge changes I52805f5d,Ifb16ed87 2018-11-13 21:56:47 +00:00
combo Add A76 to known v8-a cores 2018-10-12 23:54:51 +00:00
tasks Copy shared libraries used by tests to testcases directory 2018-11-04 19:51:59 -08:00
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 Merge "Remove support for stlport." 2018-01-10 00:12:48 +00:00
android_manifest.mk Allow target to specify LOCAL_PREFER_INTEGRITY 2018-10-24 11:40:07 -07:00
autogen_test_config.mk Revert "ATest: GTest auto gen config support run-test-as." 2018-10-25 07:11:26 +00:00
aux_config.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07: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 Exempt Soong from LOCAL_TEST_DATA checks 2018-11-01 19:37:03 -07:00
binary.mk Merge changes I52805f5d,Ifb16ed87 2018-11-13 21:56:47 +00:00
build-system.html Remove showcommands from docs 2018-07-14 09:32:13 -07:00
build_id.mk Don't use export with BUILD_ID 2018-04-17 11:20:33 -07:00
build_rro_package.mk
ccache.mk Mark export/unexport as deprecated 2018-06-21 10:12:23 -07:00
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Allow projects to exclude from libcrt_builtins 2018-11-08 13:41:05 -08:00
config.mk Merge changes from topic "dp_retrofit" 2018-11-13 20:29:18 +00:00
config_sanitizers.mk Link hwasan static library to native tests. 2018-11-01 15:43:14 -07:00
configure_module_stem.mk Restrict characters in module names 2018-06-12 13:48:49 -07:00
construct_context.sh Add support for preopt with uses-libraries 2018-05-10 11:52:26 -07:00
copy_headers.mk
cxx_stl_setup.mk Change STL for Windows to libc++. 2018-09-25 21:11:23 -07:00
definitions.mk Merge changes I52805f5d,Ifb16ed87 2018-11-13 21:56:47 +00:00
device.mk
dex_preopt.mk Reduce the propagation of LOCAL_DEX_PREOPT := nostripping 2018-10-23 22:33:07 -07:00
dex_preopt_libart.mk Prebuild: Remove --compile-pic and -Xnorelocate. 2018-10-09 17:35:07 +01:00
dex_preopt_libart_boot.mk Prebuild: Remove --multi-image. 2018-10-11 17:14:45 +01:00
dex_preopt_odex_install.mk Merge "Pass privileged dexpreopt module configuration to Soong" 2018-10-26 00:00:12 +00:00
distdir.mk Fix dist-for-goals with no targets 2018-10-20 16:59:41 -07:00
dpi_specific_apk.mk Replace some uses of zip with merge_zips, soong_zip, and zip2zip 2018-09-15 09:16:26 -07:00
dumpvar.mk
dynamic_binary.mk Use build/soong/scripts/strip.sh for Make modules 2018-09-10 11:05:32 -07:00
empty_test_config.xml
envsetup.mk Clean up DIST_DIR usages, move to dist-for-goals 2018-10-16 23:37:51 -07: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 Revert "Revert "Use AAPT2 by default"" 2018-05-25 11:34:13 -07:00
fuzz_test.mk Add the honggfuzz binary as a dependency and keep symbols 2018-01-24 23:50:46 +00:00
generate_enforce_rro.mk Set LOCAL_SDK_VERSION := current for RROs 2018-11-01 18:48:28 +00:00
goma.mk Mark export/unexport as deprecated 2018-06-21 10:12:23 -07:00
header_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
header_library_internal.mk Add soong_cc_prebuilt.mk 2018-09-10 14:46:52 -07:00
host_dalvik_java_library.mk Replace some uses of zip with merge_zips, soong_zip, and zip2zip 2018-09-15 09:16:26 -07:00
host_dalvik_static_java_library.mk
host_executable.mk Merge "Don't set -pie for windows modules" 2018-09-20 00:00:42 +00: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 *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07: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 *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
host_static_library_internal.mk
host_static_test_lib.mk
host_test_config.mk
host_test_internal.mk
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 Record installed JNI libs in INSTALLED files. 2018-10-01 16:23:53 +01:00
instrumentation_test_config_template.xml Update the base autogenerated config template for instru 2018-03-16 18:16:34 +00:00
jacoco.mk
java.mk Write greylist annotation metadata to a csv file. 2018-10-16 12:06:02 +01:00
java_common.mk Add -CROSS suffix to cross host OS notice targets. 2018-11-08 16:53:02 -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 Reduce the propagation of LOCAL_DEX_PREOPT := nostripping 2018-10-23 22:33:07 -07:00
java_renderscript.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07: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
json.mk Factor out json from soong_config.mk 2018-11-12 11:15:12 -08:00
link_type.mk
LINUX_KERNEL_COPYING
local_systemsdk.mk Set LOCAL_SDK_VERSION := current for RROs 2018-11-01 18:48:28 +00:00
local_vndk.mk Add support for /odm partition 2018-08-08 18:59:44 +08:00
main.mk Merge changes from topic "dp_retrofit" 2018-11-13 20:29:18 +00:00
Makefile Merge changes from topic "dp_retrofit" 2018-11-13 20:29:18 +00:00
module_arch_supported.mk
multi_prebuilt.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
multilib.mk
native_benchmark.mk
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 Revert "ATest: GTest auto gen config support run-test-as." 2018-10-25 07:11:26 +00:00
ninja_config.mk Stop passing DIST_DIR to Soong 2018-10-20 21:37:44 -07:00
node_fns.mk
notice_files.mk Add -CROSS suffix to cross host OS notice targets. 2018-11-08 16:53:02 -08:00
OWNERS Use multiple globs/emails in per-file syntax 2018-08-20 14:16:04 -07: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 Only zip2zip bundle resources if they exist 2018-11-05 10:13:10 -08:00
pathmap.mk
pdk_config.mk Use soong_zip for platform.zip 2018-10-01 13:41:27 -07:00
pdk_fusion_modules.mk Fix pre-extracted PDKs 2018-11-05 10:57:24 -08:00
phony_package.mk
prebuilt.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
prebuilt_internal.mk Reduce the propagation of LOCAL_DEX_PREOPT := nostripping 2018-10-23 22:33:07 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Add support for /odm partition 2018-08-08 18:59:44 +08:00
product.mk Add build flags for spanning the super partition across multiple block devices. 2018-11-12 16:12:51 -08:00
product_config.mk Add build flags for spanning the super partition across multiple block devices. 2018-11-12 16:12:51 -08:00
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags
project_definitions.mk Always statically include Support Libraries, move SDK definitions up a dir 2018-05-03 16:47:11 -07:00
root.mk
sdk_check.mk Enforce specifying sdk/private for apps. 2018-03-09 10:15:25 +00:00
sdk_font.mk
setup_one_odex.mk org.apache.http.legacy.boot is renamed to org.apache.http.legacy.impl 2018-05-22 20:37:30 +09:00
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 Dist bundle modules from Soong 2018-10-30 15:47:59 -07:00
soong_cc_prebuilt.mk Add -CROSS suffix to cross host OS notice targets. 2018-11-08 16:53:02 -08:00
soong_config.mk Add TARGET_FLATTEN_APEX 2018-11-14 07:53:23 +09:00
soong_droiddoc_prebuilt.mk Copy api-versions.xml to out/target/common/obj/PACKAGING 2018-09-18 23:35:07 -07:00
soong_java_prebuilt.mk Merge "Allow UnsupportedAppUsage annotations to be in separate target" 2018-11-01 10:22:53 +00:00
static_java_library.mk Support LOCAL_STATIC_JAVA_AAR_LIBRARIES with aapt2 2018-05-23 13:39:15 -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 Fix support libraries dependencies based on Soong modules 2018-05-03 16:47:55 -07:00
target_test_config.mk
target_test_internal.mk
test_config_common.mk
use_lld_setup.mk Remove USE_CLANG_LLD[=false] 2018-10-21 19:55:40 -07: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 Merge "Provisionally increase PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION to 23." 2018-09-03 07:28:17 -07:00
WINPTHREADS_COPYING