android_build/core
Alexey Polyudov 19e0320ccb build: aux: Fix link type checking for AUX builds
AUX build environent is volatile and is only instantiated in
a context of AUX-aware module.
link-type checking is happening outside such context, and
is not able to correctly determine AUX build dependencies.

1. Save enough of context in LINK_TYPE variable;
   Use AUX-<variant-name> instead of AUX
2. Load correct set of AUX meta build vars before
   building link_type rules

Bug: 62060489
Test: make auxiliary

build no longer tries to access "/STATIC_LIBRARIES" path

Change-Id: I9764d4a0740da1c55a6f8429398872fc4362942c
(cherry picked from commit 55ebe631b4)
2017-08-04 12:45:02 -07:00
..
clang Merge "Add OWNERS in build/make" am: d79ce64555 2017-06-22 04:34:38 +00:00
combo Revert "Use java prebuilts" 2017-07-19 22:42:46 +00:00
no_java_path
tasks Revert "Revert "emulator: create qemu images for system,vendor"" 2017-08-01 14:34:15 -07:00
aapt2.mk Add mising AAPT2 dependency 2017-06-08 10:19:10 -07:00
android_manifest.mk
apicheck_msg_current.txt
apicheck_msg_last.txt
aux_config.mk Don't run find on directories that don't exist 2017-01-11 23:31:46 +00:00
aux_executable.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
aux_static_library.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
aux_toolchain.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
base_rules.mk Merge "Add LOCAL_OVERRIDES_MODULES" 2017-06-22 04:49:41 +00:00
binary.mk Merge "Vendor modules in make also have __ANDROID_VNDK__ defined." into oc-mr1-dev 2017-08-02 19:56:17 +00:00
build_id.mk DO NOT MERGE Setting build_id to OC-MR1 for oc-mr1-dev 2017-07-24 19:20:32 -07:00
build_rro_package.mk Fix typo in build_rro_package.mk 2017-03-31 15:33:45 +08:00
build-system.html Support java annotation proccessors 2017-04-11 12:22:53 -07:00
ccache.mk
checktree
cleanbuild.mk Move dataclean and installclean to soong_ui 2017-05-18 13:42:40 -07:00
cleanspec.mk
clear_vars.mk Merge "Update to latest jacoco usage" 2017-07-17 20:44:10 +00:00
config_sanitizers.mk Allow integer_overflow sanitizer path exclusion. 2017-07-18 15:14:22 -07:00
config.mk Merge "Revert "Use java prebuilts"" am: 4d69df5191 am: f4e78ccf25 2017-07-19 22:58:23 +00:00
configure_local_jack.mk Support LOCAL_JACK_ENABLED := javac_frontend 2017-05-02 13:11:35 -07:00
configure_module_stem.mk
copy_headers.mk Prohibit host modules from using LOCAL_COPY_HEADERS 2016-11-28 13:46:17 -08:00
cxx_stl_setup.mk Add libdl.so to the list of system shared libs 2017-06-27 16:05:13 -07:00
definitions.mk Merge "Revert "Use dx.jar directly"" 2017-07-18 07:14:26 +00:00
device.mk
dex_preopt_libart_boot.mk Add support for using profiles for boot images 2017-07-07 16:48:02 -07:00
dex_preopt_libart.mk Add support for using profiles for boot images 2017-07-07 16:48:02 -07:00
dex_preopt_odex_install.mk Add PRODUCT_SYSTEM_SERVER_DEBUG_INFO property 2017-06-26 14:10:53 -07:00
dex_preopt.mk Add a new PRODUCT variable for forcing 'speed' preopt. 2017-06-15 12:40:15 +01:00
distdir.mk Remove the rest of showcommands, dist goal 2017-05-26 12:57:04 -07:00
dpi_specific_apk.mk Move proguard before classes.jar 2017-04-11 17:00:02 +00:00
droiddoc.mk Merge "Make 'make docs' work on OpenJDK 9 toolchain." 2017-07-19 09:55:30 +00:00
dumpvar.mk Add TARGET_PLATFORM_VERSION to lunch 2017-03-23 09:44:08 -07:00
dynamic_binary.mk Use installed module stem for .so soname 2017-05-19 14:30:12 -07:00
envsetup.mk Define paths for vendor native tests. 2017-07-13 15:46:00 +00:00
executable_internal.mk Support split /system and /vendor modules from Soong 2017-04-11 13:17:48 -07:00
executable_prefer_symlink.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
executable.mk Record module type statistics 2016-07-29 19:58:35 +00:00
filter_symbols.sh
find-jdk-tools-jar.sh Revert "Use java prebuilts" 2017-07-19 22:42:46 +00:00
fuzz_test.mk Update fuzz_test makefile. 2017-04-19 10:58:58 -07:00
generate_enforce_rro.mk Enforce RROs for all the build-time ROs 2017-03-30 10:43:38 +09:00
goma.mk Set JAVAC_WRAPPER if USE_GOMA is set. 2017-06-14 07:57:54 +00:00
header_library_internal.mk Add Header Library support to Make 2017-02-15 16:04:49 -08:00
header_library.mk Add Header Library support to Make 2017-02-15 16:04:49 -08:00
help.mk Add vnod. 2017-03-07 12:17:51 -08:00
host_dalvik_java_library.mk Revert "Use dx.jar directly" 2017-07-18 05:22:59 +00:00
host_dalvik_static_java_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_executable_internal.mk
host_executable.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
host_fuzz_test.mk Update coverage sanitizer flags in make 2017-06-29 08:53:02 -07:00
host_java_library_common.mk
host_java_library.mk Update to latest jacoco usage 2017-07-14 13:04:05 -07:00
host_native_test.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_prebuilt.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_shared_library_internal.mk
host_shared_library.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
host_shared_test_lib.mk Finish refactoring tests to NATIVE_TESTS 2016-06-22 00:27:54 -07:00
host_static_library_internal.mk
host_static_library.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
host_static_test_lib.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_test_internal.mk Support non-gtest NATIVE_TESTS 2016-12-21 20:27:06 -08:00
install_jni_libs_internal.mk Apks are again allowed to use vendor libs as before 2017-07-26 10:59:57 -07:00
install_jni_libs.mk Embedding the JNI lib is controlled by PRODUCT_FULL_TREBLE 2017-05-17 23:20:26 +09:00
jack-default.args Changing default Jack arguments. 2017-03-28 12:13:32 +02:00
jacoco.mk Update to latest jacoco usage 2017-07-14 13:04:05 -07:00
java_common.mk Merge "Drop build support for LEGACY_USE_JAVA7." am: 5368131063 am: 28be9906d4 2017-05-24 10:33:33 +00:00
java_library.mk Update to latest jacoco usage 2017-07-14 13:04:05 -07:00
java.mk Merge "Revert "Use dx.jar directly"" 2017-07-18 07:14:26 +00:00
link_type.mk build: aux: Fix link type checking for AUX builds 2017-08-04 12:45:02 -07:00
LINUX_KERNEL_COPYING
local_vndk.mk LOCAL_PROPRIETARY_MODULE implies LOCAL_USE_VNDK 2017-06-20 15:42:54 -07:00
main.mk build: aux: Fix link type checking for AUX builds 2017-08-04 12:45:02 -07:00
Makefile Revert "Revert "emulator: create qemu images for system,vendor"" 2017-08-01 14:34:15 -07:00
math.mk Move math function definitions. 2017-06-01 17:18:56 -07:00
module_arch_supported.mk
multi_prebuilt.mk Fix duplicate and dangling rules 2017-04-11 10:02:04 -07:00
multilib.mk
native_benchmark.mk resolve merge conflicts of dd9aee1 to stage-aosp-master 2016-07-29 14:15:14 -07:00
native_test.mk Record module type statistics 2016-07-29 19:58:35 +00:00
ninja_config.mk Move APP-% and PRODUCT-% implementation out of Kati 2017-05-26 12:57:04 -07:00
node_fns.mk
notice_files.mk Exclude ndk stubs from notice file list 2017-04-05 09:47:37 -07:00
package_internal.mk Merge "Update to latest jacoco usage" 2017-07-17 20:44:10 +00:00
package.mk Fix LOCAL_MULTILIB := 64 in TARGET_TRANSLATE_2ND_ARCH builds 2017-04-20 11:19:10 -07:00
pathmap.mk Merge "Remove JNI_H_INCLUDE from make." am: cc96704ad2 am: 2d05df376d am: f88b6bd7d8 2017-07-19 01:51:33 +00:00
pdk_config.mk add legacy-android-test java library to PDK platform.zip 2017-07-27 21:27:16 +00:00
pdk_fusion_modules.mk Add LOCAL_VENDOR_MODULE as a synonym to LOCAL_PROPRIETARY_MODULE 2017-03-20 20:57:04 -07:00
phony_package.mk Record module type statistics 2016-07-29 19:58:35 +00:00
prebuilt_internal.mk Don't add .vendor suffix for vendor-only modules 2017-07-27 09:47:55 +09:00
prebuilt.mk Support native test prebuilts for X86+ARM builds 2017-01-17 14:19:50 -08:00
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
process_wrapper.sh
product_config.mk Merge "Allow integer_overflow sanitizer path exclusion." am: ad9dde8a86 am: 815c1f5941 am: 7e18525ef7 2017-07-19 01:50:35 +00:00
product-graph.mk
product.mk Merge "Allow integer_overflow sanitizer path exclusion." am: ad9dde8a86 am: 815c1f5941 am: 7e18525ef7 2017-07-19 01:50:35 +00:00
proguard_basic_keeps.flags
proguard_tests.flags
proguard.emma.flags
proguard.flags
proguard.jacoco.flags
root.mk
sdk_font.mk Updating path to new frameworks/layoutlib project 2017-05-08 11:07:46 +01:00
setup_one_odex.mk Move profile logic to dex_preopt_odex_install 2017-03-03 16:23:14 -08:00
shared_library_internal.mk Support split /system and /vendor modules from Soong 2017-04-11 13:17:48 -07:00
shared_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
shared_test_lib.mk Finish refactoring tests to NATIVE_TESTS 2016-06-22 00:27:54 -07:00
soong_config.mk Allow integer_overflow sanitizer path exclusion. 2017-07-18 15:14:22 -07:00
static_java_library.mk Merge "Provide make variables for java binaries" am: 5e19557eb9 am: e885ccf0df 2017-07-01 01:45:16 +00:00
static_library_internal.mk Support Soong native coverage 2017-02-10 09:27:35 -08:00
static_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
static_test_lib.mk Record module type statistics 2016-07-29 19:58:35 +00:00
target_test_internal.mk Support non-gtest NATIVE_TESTS 2016-12-21 20:27:06 -08:00
version_defaults.mk Making a comment a bit more explicit 2017-08-03 17:38:26 -07:00
WINPTHREADS_COPYING Statically link libwinpthread into windows binaries. 2017-02-23 17:56:44 -08:00