platform_build_soong/cc
Colin Cross e9fe2949b8 Annotate dependency tags for dependencies of installed files
Relands Ic22603a5c0718b5a21686672a7471f952b4d1017 with a minor
change to track libc++ dependencies for python hosts and after
a fix to an internal genrule that depended on transitively
installed java libraries (ag/13068670).

Soong currently assumes that installed files should depend on
installed files of all transitive dependencies, which results
in extra installed file dependencies through genrules, static
libs, etc.

Annotate dependency tags for dependencies for which the
installed files are necessary such as shared libraries
and JNI libraries.

This avoids extra installed files, and is also a first step
towards genrules using their own copy of tools instead of
the installed copy.

Bug: 124313442
Test: m checkbuild
Test: java.TestBinary
Test: cc.TestInstallSharedLibs
Test: deptag_test.go
Change-Id: I725871249d561428e6f67bba6a7c65b580012b72
2020-11-23 18:06:08 -08:00
..
config Fix Broken build 6978250 on aosp-master 2020-11-18 14:26:41 -08:00
libbuildversion Set apex_available property 2020-04-28 21:08:58 +09:00
ndk_api_coverage_parser Fix non-determinism in tests. 2020-07-16 13:23:33 -07:00
ndkstubgen Add type information to symbolfile and ndkstubgen. 2020-09-24 14:03:31 -07:00
symbolfile Add type information to symbolfile and ndkstubgen. 2020-09-24 14:03:31 -07:00
Android.bp Replace stringly-typed API levels. 2020-09-18 12:41:28 -07:00
androidmk.go Merge "Add unit_test test option in test configs" 2020-11-18 04:40:37 +00:00
api_level.go Replace stringly-typed API levels. 2020-09-18 12:41:28 -07:00
binary.go Use the the preferred architecture symlink as the tool path if it exists 2020-11-14 14:38:34 -08:00
binary_sdk_member.go Create fewer empty version variants 2020-10-05 18:57:21 -07:00
builder.go Revert "Add -fdebug-compilation-dir option" 2020-10-20 09:29:34 -04:00
cc.go Annotate dependency tags for dependencies of installed files 2020-11-23 18:06:08 -08:00
cc_test.go Annotate dependency tags for dependencies of installed files 2020-11-23 18:06:08 -08:00
ccdeps.go Add soong cc and java deps to general-tests dist 2020-07-06 16:19:56 -07:00
cflag_artifacts.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
check.go Forbid -fwhole_program_vtables 2020-09-23 01:39:32 +08:00
cmakelists.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compdb.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compiler.go rust: Add header library support to rust_bindgen. 2020-11-17 13:40:50 -05:00
compiler_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
coverage.go Merge "Add libraryDependencyTag to track dependencies on static and shared libraries" 2020-08-06 00:06:28 +00:00
fuzz.go Replace android.WriteFile rule with android.WriteFileRule 2020-11-14 16:26:00 -08:00
gen.go Revert "Rewrite sbox to use a textproto manifest" 2020-11-20 18:44:31 +00:00
gen_test.go Revert "Rewrite sbox to use a textproto manifest" 2020-11-20 18:44:31 +00:00
genrule.go Define product_available property 2020-11-08 23:53:22 +00:00
genrule_test.go Move genrule on top of RuleBuilder 2020-11-17 11:23:45 -08:00
image.go Define product_available property 2020-11-08 23:53:22 +00:00
installer.go Only output make targets for uninstallable static libs in the APEX 2020-08-06 22:52:58 +01:00
kernel_headers.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
library.go Store ndkKnownLibs in the config 2020-11-17 10:50:19 -08:00
library_headers.go Disable all host OS variants except those explicitly included. 2020-08-03 21:06:50 +01:00
library_headers_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
library_sdk_member.go Define product_available property 2020-11-08 23:53:22 +00:00
library_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
linkable.go rust_grpcio well known types support, default deps 2020-11-11 12:09:26 -08:00
linker.go Define product_available property 2020-11-08 23:53:22 +00:00
llndk_library.go Define product_available property 2020-11-08 23:53:22 +00:00
lto.go Global ThinLTO: opt out vndk binaries as a workaround 2020-10-09 22:08:11 +08:00
makevars.go Store ndkKnownLibs in the config 2020-11-17 10:50:19 -08:00
ndk_headers.go Remove unused mips workarounds. 2020-03-06 18:15:44 -08:00
ndk_library.go Store ndkKnownLibs in the config 2020-11-17 10:50:19 -08:00
ndk_prebuilt.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
ndk_sysroot.go Move stubs related methods out of LinkableInterface 2020-10-29 14:17:54 -07:00
object.go Remove vendor crt special case 2020-10-02 13:00:19 -07:00
object_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
OWNERS Refactor OWNERS files in platform/build/soong. 2020-10-08 16:14:32 -07:00
pgo.go Always generate profiling debug info 2020-11-03 18:13:21 +00:00
prebuilt.go Move stubs related methods out of LinkableInterface 2020-10-29 14:17:54 -07:00
prebuilt_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
proto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
proto_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
pylintrc Fix pylint issues in gen_stub_libs. 2020-07-16 13:21:43 -07:00
rs.go Remove obsolete PDK build functionality 2020-08-11 01:11:44 +00:00
sabi.go Add libraryDependencyTag to track dependencies on static and shared libraries 2020-07-29 13:22:30 -07:00
sanitize.go Add CFI support for assembly heavy libraries 2020-11-18 17:32:54 -08:00
sdk.go Don't make SplitPerApiLevel imply UseSdk 2020-10-02 13:00:19 -07:00
sdk_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
snapshot_utils.go Merge "Support for recovery snapshot." 2020-11-17 20:51:54 +00:00
stl.go Replace stringly-typed API levels. 2020-09-18 12:41:28 -07:00
strip.go cc: export Stripper struct 2020-08-27 10:13:42 +02:00
sysprop.go Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
test.go Add unit_test test option in test configs 2020-11-16 11:05:00 -08:00
test_data_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
testing.go Annotate dependency tags for dependencies of installed files 2020-11-23 18:06:08 -08:00
tidy.go Allow globally disabling some clang-tidy checks. 2020-08-18 13:28:03 -07:00
toolchain_library.go Move stubs related methods out of LinkableInterface 2020-10-29 14:17:54 -07:00
util.go Merge "soong: add support for module specific lexer flags" 2020-08-28 19:24:01 +00:00
vendor_public_library.go cc: export Stripper struct 2020-08-27 10:13:42 +02:00
vendor_snapshot.go Support for recovery snapshot. 2020-11-16 17:09:36 -08:00
vndk.go Replace android.WriteFile rule with android.WriteFileRule 2020-11-14 16:26:00 -08:00
vndk_prebuilt.go Merge "Define product_available property" 2020-11-09 00:40:50 +00:00