platform_build/core
Ying Wang 05f9f35836 Harden dependency on generated sources.
Previously if a library has custom generated headers in
LOCAL_GENERATED_SOURCES and export its include path with
LOCAL_EXPORT_C_INCLUDE_DIRS, there is almost no way for the users of the
library to set up dependency of their object files on the generated
headers.
This change makes the generated sources dependency of the library's
export_includes, which is guaranteed generated before client code gets
compiled.

Also we added proto-generated cpp files to my_generated_sources so that
we can deal solely with $(my_generated_sources). Because many
Android.mks assume the generted .pb.hs are in $(generated_sources_dir)
instead of $(intermediates), we have to generate the source files in
$(generated_sources_dir) and make a copy in $(intermediates).

Bug: 28622149
Change-Id: I73b21443fa706f3735faf16356ed8c08fbfecca6
2016-05-06 10:20:17 -07:00
..
clang Merge "Update RS to use latest Clang-2812033 prebuilts as well." 2016-05-04 21:00:07 +00:00
combo libm's headers have moved to live with their libc cousins. 2016-04-04 12:58:50 -07:00
no_java_path Disable java when JAVA_NOT_REQUIRED is set 2016-02-08 17:02:48 -08:00
tasks old-cts: Add testng and libcoreoj test support 2016-04-26 17:00:22 -07:00
android_manifest.mk
apicheck_msg_current.txt
apicheck_msg_last.txt
base_rules.mk Support x86+arm multilib build. 2016-03-25 13:29:53 -07:00
binary.mk Harden dependency on generated sources. 2016-05-06 10:20:17 -07:00
build-system.html set ro.adb.secure=1 for user builds 2015-12-23 20:18:15 +00:00
build_id.mk
ccache.mk ccache: Allow external setting of CCACHE_COMPILERCHECK variable 2016-03-15 19:44:21 +02:00
checktree
cleanbuild.mk Remove special cases in installclean 2016-02-29 15:15:16 -08:00
cleanspec.mk
clear_vars.mk Call clang-tidy based on WITH_TIDY* variables. 2016-04-21 12:31:13 -07:00
config.mk Update prebuilt build tools path 2016-05-04 16:02:02 -07:00
config_sanitizers.mk Link in ASAN library if my_global_santitize is set. 2016-03-15 16:53:46 -07:00
configure_local_jack.mk Remove support of disabling Jack. 2016-03-30 14:03:12 -07:00
configure_module_stem.mk
copy_headers.mk Warn more clearly when there are duplicate copied headers 2016-02-23 13:40:07 -08:00
cxx_stl_setup.mk Remove support for device libstdc++ as stl 2016-03-17 13:10:56 -07:00
definitions.mk Harden dependency on generated sources. 2016-05-06 10:20:17 -07:00
device.mk
dex_preopt.mk [DO NOT MERGE] Remove code pulled in by accident. 2016-03-25 18:24:42 -07:00
dex_preopt_libart.mk Support x86+arm multilib build. 2016-03-25 13:29:53 -07:00
dex_preopt_libart_boot.mk Build: Add ART_BOOT_IMAGE_EXTRA_ARGS 2016-04-11 15:10:09 -07:00
dex_preopt_odex_install.mk Allow to build native tests for translation arch only. 2016-04-20 13:57:22 -07:00
distdir.mk
dpi_specific_apk.mk Remove support of disabling Jack. 2016-03-30 14:03:12 -07:00
droiddoc.mk Remove USE_NINJA=false 2016-02-26 21:48:31 -08:00
dumpvar.mk Fix dumping variables of absolute paths. 2016-03-07 11:30:35 -08:00
dynamic_binary.mk Use strip mode mini-debug-info by default except on mips. 2016-04-26 17:39:59 -07:00
envsetup.mk Support x86+arm multilib build. 2016-03-25 13:29:53 -07:00
executable.mk Allow to build native tests for translation arch only. 2016-04-20 13:57:22 -07:00
executable_internal.mk Enable LOCAL_POST_LINK_CMD for non-static executables. 2016-03-02 17:04:11 -08:00
executable_prefer_symlink.mk Remove USE_NINJA=false 2016-02-26 21:48:31 -08:00
filter_symbols.sh
find-jdk-tools-jar.sh
fuzz_test.mk
goma.mk Always use ensure_start to ensure goma's daemon runs 2016-04-12 18:14:28 +09:00
help.mk
host_dalvik_java_library.mk Remove bootclasspath handling for Jack 2016-04-22 09:29:32 +02:00
host_dalvik_static_java_library.mk Remove bootclasspath handling for Jack 2016-04-22 09:29:32 +02:00
host_executable.mk Add 64-bit windows cross-compiles 2016-02-05 16:33:18 -08:00
host_executable_internal.mk
host_fuzz_test.mk
host_java_library.mk Add normalize_path.py to prerequisites 2016-04-19 16:22:27 +09:00
host_java_library_common.mk Remove javac support in host dex rules. 2016-03-24 16:48:47 -07:00
host_native_test.mk Default LOCAL_MULTILIB:=both for HOST_NATIVE_TEST 2015-12-21 16:34:25 -08:00
host_prebuilt.mk
host_shared_library.mk Add 64-bit windows cross-compiles 2016-02-05 16:33:18 -08:00
host_shared_library_internal.mk Remove USE_NINJA=false 2016-02-26 21:48:31 -08:00
host_shared_test_lib.mk
host_static_library.mk Add 64-bit windows cross-compiles 2016-02-05 16:33:18 -08:00
host_static_library_internal.mk
host_static_test_lib.mk
host_test_internal.mk Get gtest includes from the exported headers. 2016-03-02 13:05:46 -08:00
install_jni_libs.mk
install_jni_libs_internal.mk
jack-default.args
java.mk Merge "Add normalize_path.py to prerequisites" 2016-04-21 05:34:06 +00:00
java_common.mk Warn if there is file with unknown suffix in Java module's sources. 2016-04-26 15:59:06 -07:00
java_library.mk Remove support of disabling Jack. 2016-03-30 14:03:12 -07:00
LINUX_KERNEL_COPYING
main.mk Call clang-tidy based on WITH_TIDY* variables. 2016-04-21 12:31:13 -07:00
Makefile Add input dependencies to .img targets 2016-04-19 18:41:27 +09:00
module_arch_supported.mk Tell Soong about HOST_CROSS_* 2016-02-09 16:00:14 -08:00
multi_prebuilt.mk
multilib.mk
native_benchmark.mk Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark. 2016-03-04 13:37:43 -08:00
native_test.mk
ninja.mk Only pass NINJA_ARGS to the main ninja compile 2016-05-05 16:55:21 -07:00
node_fns.mk
notice_files.mk Allow modules to override the default NOTICE file. 2015-12-24 10:10:55 +00:00
package.mk Support x86+arm multilib build. 2016-03-25 13:29:53 -07:00
package_internal.mk Fix code coverage for apps 2016-04-04 10:48:02 +02:00
pathmap.mk
pdk_config.mk Move PDK selection into config.mk 2016-02-01 18:05:07 -08:00
pdk_fusion_modules.mk Use $(BUILD_SYSTEM) as the LOCAL_PATH of auto-generated modules. 2016-03-25 11:06:51 -07:00
phony_package.mk Remove USE_NINJA=false 2016-02-26 21:48:31 -08:00
post_clean.mk Clean generated source dir if .proto/.rs is gonee. 2016-03-02 10:59:59 -08:00
prebuilt.mk Don't reset LOCAL_*MODULE_STEM. 2016-04-19 12:20:47 -07:00
prebuilt_internal.mk Add jack's argument files to prerequisites 2016-04-07 18:56:42 +09:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk
product.mk Speed up lunch/tapas/etc. shell utility functions. 2016-03-04 11:01:57 -08:00
product_config.mk
proguard.emma.flags
proguard.flags
proguard.jacoco.flags Support code coverage with Jack 2016-01-27 19:14:14 +01:00
proguard_basic_keeps.flags
proguard_tests.flags
root.mk
sdk_font.mk
setup_one_odex.mk
shared_library.mk Don't reset LOCAL_*MODULE_STEM. 2016-04-19 12:20:47 -07:00
shared_library_internal.mk Remove USE_NINJA=false 2016-02-26 21:48:31 -08:00
shared_test_lib.mk
soong.mk Only pass NINJA_ARGS to the main ninja compile 2016-05-05 16:55:21 -07:00
static_java_library.mk Remove support of disabling Jack. 2016-03-30 14:03:12 -07:00
static_library.mk Don't reset LOCAL_*MODULE_STEM. 2016-04-19 12:20:47 -07:00
static_library_internal.mk Delete relics left behind by commit 86e6b7ed51 . 2016-03-04 16:28:01 -08:00
static_test_lib.mk
target_test_internal.mk Add support for multiple flavors of the NDK gtest. 2016-03-23 13:25:06 -07:00
version_defaults.mk Inform Jack of the min sdk 2016-03-16 11:55:46 +01:00