platform_build_soong/cc
Jeff Gaston 294356f045 Automatically reorder C/C++ link dependencies in Soong
This uses knowledge of transitive dependencies to reorder
linker command line arguments such that if module A depends
on module B, then module A is automatically listed before
module B in the linker command line.

This should mostly remove the need for Android.bp files to
list all of their static dependencies in link order

Bug: 66260943
Test: reorder the entries of static_libs in an Android.bp and see that linking still succeeds

Change-Id: I20f851ab9f2f30031254e4f30023b6140d15d6c3
2017-10-18 14:30:05 -07:00
..
config MIPS: Remove -U__unix and -U__unix__ from cflags 2017-10-18 16:37:21 +02:00
androidmk.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
binary.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
builder.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
cc.go Automatically reorder C/C++ link dependencies in Soong 2017-10-18 14:30:05 -07:00
cc_test.go Automatically reorder C/C++ link dependencies in Soong 2017-10-18 14:30:05 -07:00
check.go Ban --coverage now that we have native coverage 2017-02-14 13:05:48 -08:00
cmakelists.go Run gofmt 2017-05-09 13:44:49 -07:00
compiler.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
coverage.go Refactor factories 2017-06-30 21:08:36 +00:00
gen.go Add support for .proto files in java modules 2017-10-03 10:25:15 -07:00
gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
genrule.go Add cc_genrule 2017-09-18 23:33:25 -07:00
installer.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
linker.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
llndk_library.go vendor_available:false hides a lib from vendors 2017-10-10 19:38:06 +09:00
lto.go Add support for thin LTO 2017-09-01 14:21:44 +08:00
makevars.go vendor_available:false hides a lib from vendors 2017-10-10 19:38:06 +09:00
ndk_headers.go Make binaries executable 2017-08-31 13:48:52 -07:00
ndk_library.go Make binaries executable 2017-08-31 13:48:52 -07:00
ndk_prebuilt.go Refactor factories 2017-06-30 21:08:36 +00:00
ndk_sysroot.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
object.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
pgo.go Add enable_profile_use property 2017-10-16 13:36:29 -07:00
prebuilt.go Make binaries executable 2017-08-31 13:48:52 -07:00
proto.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
rs.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
sabi.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
sanitize.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
stl.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
strip.go Separate cc.go 2016-07-29 15:17:58 -07:00
test.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
test_data_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go soong: add __clang_analyzer__ to clang-tidy 2017-05-04 01:19:02 +00:00
toolchain_library.go Refactor factories 2017-06-30 21:08:36 +00:00
util.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
vndk.go vendor_available:false hides a lib from vendors 2017-10-10 19:38:06 +09:00