platform_build/core
Justin Yun 2bfe0a1a25 Restore "Linktype check for native:product"
Similar to native:vendor, native:product can use VNDK libs but not
vndk_private.
It is activated when PRODUCT_PRODUCT_VNDK_VERSION is set.

This restores the reverted commit
4e7e76fe5a (aosp/1197274).
The problem of the original CL was assuming no modules have both
LOCAL_PRODUCT_MODULE and LOCAL_USE_VNDK in the old implementations.
But many vendor modules in the targets without setting
PRODUCT_PRODUCT_VNDK_VERSION in old branches had both flags that
caused link failures.
To make it no-op without PRODUCT_PRODUCT_VNDK_VERSION, I defined
LOCAL_USE_VNDK_PRODUCT that is set to true if
PRODUCT_PRODUCT_VNDK_VERSION is defined and LOCAL_PRODUCT_MODULE is
true.

Bug: 146620523
Test: build with PRODUCT_PRODUCT_VNDK_VERSION := current
Change-Id: I344c7dc1c47f08706c101e486ff07c3f10aff8ac
2020-01-22 00:16:25 +00:00
..
clang
combo Add back the llvm-ar P flag 2019-09-06 15:19:59 -07:00
tasks Merge "Track addition of internal classes derived from OpenJDK 9+181." 2020-01-17 16:41:48 +00:00
aapt2.mk Allow passing --legacy in LOCAL_AAPT_FLAGS 2019-06-22 13:03:09 -07:00
aapt_flags.mk
allowed_ndk_types.mk
android_manifest.mk Allow codename.fingerprint format for minSdkVersion 2020-01-16 10:04:55 -08:00
app_certificate_validate.mk
app_prebuilt_internal.mk Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
autogen_test_config.mk Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
aux_config.mk Add back the llvm-ar P flag 2019-09-06 15:19:59 -07:00
aux_executable.mk
aux_static_library.mk
aux_toolchain.mk
base_rules.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
binary.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
board_config.mk Add BUILD_BROKEN_NINJA_USES_ENV_VARS 2020-01-02 20:09:25 -08: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 Version bump to QQ1A.200105.003 [core/build_id.mk] 2019-12-17 19:20:46 +00:00
build_rro_package.mk Do not remove RRO resources 2020-01-14 17:00:13 -08:00
cc_prebuilt_internal.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
ccache.mk
check_elf_file.mk Enable prebuilt ELF check for all targets 2019-12-09 14:00:25 -08:00
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
config.mk Define PRODUCT_PRODUCT_VNDK_VERSION automatically 2020-01-11 12:44:08 +00:00
config_sanitizers.mk Stop linking libdl.a into static bins 2019-10-24 18:15:05 -07:00
configure_module_stem.mk
construct_context.sh Move verify_uses_libraries.sh out of dexpreopt 2019-05-26 17:42:17 +00:00
copy_headers.mk Stop removing valid copy headers 2019-12-26 16:52:34 -08:00
cxx_stl_setup.mk Update make build system for dynamic unwinder. 2020-01-10 11:09:52 -08:00
definitions.mk Merge "Update make build system for dynamic unwinder." 2020-01-21 21:28:44 +00:00
deprecation.mk Start the deprecation of BUILD_HOST_STATIC_LIBRARY 2019-06-14 09:37:42 -07:00
device.mk
dex_preopt.mk Add art dexpreopt to boot.zip archive 2019-12-04 16:50:17 -08:00
dex_preopt_config.mk Remove generation of the dexpreopt tool paths from make. 2020-01-07 13:00:38 +00:00
dex_preopt_libart.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
dex_preopt_libart_boot.mk
dex_preopt_odex_install.mk Use boot image extension in the JIT-zygote experiment. 2020-01-10 15:29:42 +00:00
distdir.mk
dumpvar.mk Fix dump-vars output to handle quotes. 2019-05-30 20:59:50 -07:00
dynamic_binary.mk Support injecting boringssl hash in Make 2019-09-05 15:31:31 -07:00
empty_test_config.xml
envsetup.mk Remove module jacocoagent from TARGET_CORE_JARS. 2019-10-29 17:45:04 +00:00
executable.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
executable_internal.mk Update make build system for dynamic unwinder. 2020-01-10 11:09:52 -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 Fix to avoid breaking aosp_x86 build 2019-09-20 12:43:02 -07:00
generate_enforce_rro.mk Don't sign auto-generated RROs with platform cert 2019-05-01 16:42:56 +01:00
goma.mk
header_library.mk
header_library_internal.mk
host_dalvik_java_library.mk Set pools manually for rules that can run in RBE or goma 2019-11-12 13:59:49 -08:00
host_dalvik_static_java_library.mk
host_executable.mk
host_executable_internal.mk Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
host_fuzz_test.mk Fix fuzzer builds. 2019-05-20 16:58:26 -07:00
host_java_library.mk Set pools manually for rules that can run in RBE or goma 2019-11-12 13:59:49 -08:00
host_java_library_common.mk
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk
host_shared_library_internal.mk
host_shared_test_lib.mk
host_static_library.mk
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
install_jni_libs.mk Rename product_services to system_ext 2019-07-09 08:57:19 +00:00
install_jni_libs_internal.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
instrumentation_test_config_template.xml Instrumentation test doesn't support extra config 2019-08-26 15:50:15 -07:00
jacoco.mk
java.mk Initialize common_proguard_flags for each module 2019-12-13 16:23:11 -08:00
java_common.mk Remove support for EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9. 2019-10-25 16:55:54 +01:00
java_host_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
java_library.mk Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
java_prebuilt_internal.mk Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
java_renderscript.mk Add labels to rewrapper cc compile action. Prevent ccwrapper from being 2019-08-12 14:13:31 -04:00
java_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
jetifier.mk
link_type.mk
LINUX_KERNEL_COPYING
local_systemsdk.mk Enforce hidden apis usage in product(make) 2019-11-06 19:41:47 +09:00
local_vndk.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
main.mk device_(manifest|matrix).xml -> vendor_* 2020-01-14 14:24:51 -08:00
Makefile Reland "Improve BUILT_ASSEMBLED_*_MANIFEST checks" 2020-01-14 14:25:31 -08:00
misc_prebuilt_internal.mk Add RENDERSCRIPT_BITCODE to misc_prebuilt_internal whitelist. 2019-11-11 15:21:06 -08:00
module_arch_supported.mk
multi_prebuilt.mk
multilib.mk
native_benchmark.mk
native_benchmark_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
native_host_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
native_test.mk
native_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
ninja_config.mk Merge "Stop supporting wrapping the build with make" 2019-07-30 21:48:52 +00:00
node_fns.mk Add support for single-value product variables 2019-05-06 16:17:20 +01:00
notice_files.mk Avoid path conflicts for the notice files 2019-11-04 10:30:34 +09:00
OWNERS
pack_dyn_relocs_setup.mk Explicitly add lld's relr relocation flags for Android Pie and above 2019-07-30 22:36:29 -07:00
package.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
package_internal.mk Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
pathmap.mk
pdk_config.mk Replace framework.jar with framework-minus-apex.jar 2019-10-28 09:55:33 +00:00
pdk_fusion_modules.mk
phony_package.mk
prebuilt.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
prebuilt_internal.mk Add RENDERSCRIPT_BITCODE to misc prebuilt whitelist. 2019-11-11 09:30:38 -08:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Ensure current product use PRODUCT_* vars directly 2019-10-30 14:29:42 +00:00
product.mk Define PRODUCT_PRODUCT_VNDK_VERSION 2019-12-21 00:49:09 +00:00
product_config.mk Verify updatable jars are in PRODUCT_BOOT_JARS 2019-12-16 11:27:18 +00:00
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags Keep proguard fields for lite runtime 2019-09-05 14:42:14 -07:00
project_definitions.mk
python_binary_host_test_config_template.xml
rbe.mk Add PWD to environment variable whitelist for RBE builds. 2019-08-27 23:50:31 +00:00
root.mk
rust_device_test_config_template.xml Add rust_device_test_config_template.xml 2019-12-02 17:44:47 +00:00
rust_host_test_config_template.xml Add rust_host_test_config_template.xml 2019-11-14 09:57:13 -08:00
sdk_check.mk
sdk_font.mk
shared_library.mk
shared_library_internal.mk Update make build system for dynamic unwinder. 2020-01-10 11:09:52 -08:00
shared_test_lib.mk
soong_app_prebuilt.mk Add Soong android_app and android_test modules to javac-check 2019-12-30 22:08:07 -08:00
soong_cc_prebuilt.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
soong_config.mk Define PRODUCT_PRODUCT_VNDK_VERSION 2019-12-21 00:49:09 +00:00
soong_droiddoc_prebuilt.mk Allow files generated by droidstubs to be copied in the SDK 2019-10-15 17:27:43 +01:00
soong_java_prebuilt.mk AIDEGen: Collect the classes.jar of the prebuilt modules into module-info.json 2019-06-14 10:47:18 +08:00
soong_rust_prebuilt.mk Set NATIVE_TESTS executable like EXECUTABLES 2019-11-15 14:10:09 -08:00
static_java_library.mk Add dependencies for files in LOCAL_PROGUARD_FLAGS 2019-08-09 09:19:52 -07:00
static_library.mk
static_library_internal.mk Merge changes I2183ac9f,I2c76701c,Ibbe4e11a,I0706faa2,Ic5b7c4fb, ... 2019-06-13 17:13:22 +00:00
static_test_lib.mk
suite_host_config.mk Generalize vts config module for other Suites 2019-10-18 18:28:23 +00:00
support_libraries.mk
target_test_config.mk
target_test_internal.mk
test_config_common.mk
use_lld_setup.mk
verify_uses_libraries.sh
version_defaults.mk DO NOT MERGE - Merge QQ1A.200105.003 into stage-aosp-master 2020-01-02 23:03:40 +00:00
WINPTHREADS_COPYING