platform_build/core
Dan Willemsen 3bb168f10d Order objects based on LOCAL_SRC_FILES and LOCAL_GENERATED_SOURCES
We have been reordering objects to the linker based on how they were
generated. In soong, they're ordered based on the order listed in the
src_files.

Keep track of which source files created which object files so that we
can create the ordered list. Optionally change the order, based on
BINARY_OBJECTS_ORDER. That way we can compare make and soong builds.

Since we're keeping track of the used source files, warn when an entry
in LOCAL_SRC_FILES is not used. (whether it is an unused file like a
header, or a typo)

LOCAL_GENERATED_SOURCES is not verified, since it is valid to add
headers and other files in that list (to set up dependencies).

Change-Id: I1dfbbb3aa570c11c1db3b7133e46ed0b8c3b8989
2016-01-27 16:48:02 -08:00
..
clang Add an RS_CLANG variable as well for RenderScript. 2016-01-22 15:11:58 -08:00
combo Switch to Vista instead of Win2K. 2016-01-12 17:56:47 -08:00
tasks Update the package whitelist for the boot image. 2015-12-24 10:10:55 +00:00
android_manifest.mk
apicheck_msg_current.txt
apicheck_msg_last.txt
base_rules.mk Disable .toc optimization for host modules. 2015-12-15 10:00:19 -08:00
binary.mk Order objects based on LOCAL_SRC_FILES and LOCAL_GENERATED_SOURCES 2016-01-27 16:48:02 -08: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 Disable goma/ccache with USE_XXX=false 2015-12-18 15:26:17 +09:00
checktree
cleanbuild.mk Write clean_steps.mk with multiple commands 2016-01-27 14:59:56 +09:00
cleanspec.mk
clear_vars.mk Allow modules to override the default NOTICE file. 2015-12-24 10:10:55 +00:00
config.mk Set flag when using sdk tools in place 2016-01-20 16:08:49 -08:00
config_sanitizers.mk Remove RPATH for AddressSanitizer. 2015-12-21 10:29:54 -08:00
configure_local_jack.mk Strip LOCAL_MODULE before referencing it. 2015-10-26 17:06:08 -07:00
configure_module_stem.mk
copy_headers.mk
cxx_stl_setup.mk Add support for LOCAL_NDK_STL_VARIANT := none. 2015-12-09 15:59:17 -08:00
definitions.mk Order objects based on LOCAL_SRC_FILES and LOCAL_GENERATED_SOURCES 2016-01-27 16:48:02 -08:00
device.mk
dex_preopt.mk
dex_preopt_libart.mk Build: Build changes for multi oat/image support. 2015-12-24 10:10:55 +00:00
dex_preopt_libart_boot.mk Build: Build changes for multi oat/image support. 2015-12-24 10:10:55 +00:00
dex_preopt_odex_install.mk
distdir.mk Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS. 2015-11-03 17:10:28 -08:00
dpi_specific_apk.mk Do not run zipalign when building APK (except prebuilts). 2015-12-04 10:15:06 -08:00
droiddoc.mk Revert "Revert "Make OpenJDK 8 the default"" 2016-01-25 17:12:41 +00:00
dumpvar.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
dynamic_binary.mk Allow globally disabling the relocation packer. 2015-11-12 15:27:49 -08:00
envsetup.mk Error out if MALLOC_IMPL is defined. 2016-01-22 11:25:24 -08:00
executable.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
executable_internal.mk Use libgcov OR libclang_rt.profile, not both. 2015-10-08 14:16:39 -07:00
executable_prefer_symlink.mk resolved conflicts for 953981db to stage-aosp-master 2015-09-28 18:45:23 -07:00
filter_symbols.sh
find-jdk-tools-jar.sh Error out early on nonstandard JDK directory layouts 2015-10-23 19:00:43 -07:00
fuzz_test.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
goma.mk Disable goma/ccache with USE_XXX=false 2015-12-18 15:26:17 +09:00
help.mk
host_dalvik_java_library.mk Use core-oj alongside core-libart wherever required. 2015-12-24 10:10:55 +00:00
host_dalvik_static_java_library.mk Use core-oj alongside core-libart wherever required. 2015-12-24 10:10:55 +00:00
host_executable.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_executable_internal.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_fuzz_test.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
host_java_library.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_java_library_common.mk
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 Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_shared_library_internal.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_shared_test_lib.mk
host_static_library.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_static_library_internal.mk Fix LOCAL_MODULE_HOST_OS 2015-09-04 15:41:38 -07:00
host_static_test_lib.mk
host_test_internal.mk Link libgtest_main before libgtest 2015-09-25 16:11:31 -07:00
install_jni_libs.mk
install_jni_libs_internal.mk Use direct dependency on the JNI so files. 2015-10-15 17:50:06 -07:00
jack-default.args
java.mk Merge "Always start jack server before first call to jack" 2015-12-22 13:59:49 +00:00
java_common.mk Revert "Temporary workaround to build bouncycastle / nist-pkits" 2015-12-24 12:39:51 +00:00
java_library.mk Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
legacy_prebuilts.mk Remove old grandfathered ALL_PREBUILTS 2015-09-30 14:53:53 -07:00
LINUX_KERNEL_COPYING build: Add LINUX_KERNEL_COPYING license file 2015-11-09 02:27:01 +01:00
main.mk Revert "Revert "Make OpenJDK 8 the default"" 2016-01-25 17:12:41 +00:00
Makefile Place the META/ dir first in the target_files.zip. 2016-01-26 18:52:10 -08:00
module_arch_supported.mk Add LOCAL_MODULE_HOST_OS 2015-09-03 16:40:51 -07:00
multi_prebuilt.mk
multilib.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
native_benchmark.mk
native_test.mk
ninja.mk Allow building kati & makeparallel with soong 2016-01-13 13:08:29 -08: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
package_internal.mk Do not run zipalign when building APK (except prebuilts). 2015-12-04 10:15:06 -08:00
pathmap.mk am 43bbbf8a: Merge "Remove more of the pathmap." 2015-09-24 21:59:58 +00:00
pdk_config.mk Use core-oj alongside core-libart wherever required. 2015-12-24 10:10:55 +00:00
phony_package.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
post_clean.mk
prebuilt.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
prebuilt_internal.mk Order objects based on LOCAL_SRC_FILES and LOCAL_GENERATED_SOURCES 2016-01-27 16:48:02 -08:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Fix "make product-graph" and "make dump-products". 2015-10-28 16:49:44 -07:00
product.mk Merge "envsetup,product,ninja: enable symlink traversal" 2015-11-02 22:27:27 +00:00
product_config.mk Fix "make product-graph" and "make dump-products". 2015-10-28 16:49:44 -07:00
proguard.emma.flags
proguard.flags
proguard_basic_keeps.flags
proguard_tests.flags
root.mk
sdk_font.mk Sort more instances of wildcard and find 2015-09-30 22:25:49 +00:00
setup_one_odex.mk
shared_library.mk Turn shared library multilib warnings into errors 2015-09-24 13:21:11 -07:00
shared_library_internal.mk Use libgcov OR libclang_rt.profile, not both. 2015-10-08 14:16:39 -07:00
shared_test_lib.mk
soong.mk Allow building kati & makeparallel with soong 2016-01-13 13:08:29 -08:00
static_java_library.mk Move "include configure_local_jack.mk" 2016-01-11 13:34:16 -08:00
static_library.mk
static_library_internal.mk
static_test_lib.mk
target_test_internal.mk Link libgtest_main before libgtest 2015-09-25 16:11:31 -07:00
version_defaults.mk Merge "make USER limited to 6 characters when generating BUILD_NUMBER" 2015-12-16 21:42:07 +00:00