platform_build_soong/rust
Colin Cross 62a0cfd054 Annotate dependency tags for dependencies of installed files
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: Ic22603a5c0718b5a21686672a7471f952b4d1017
2020-11-14 16:24:10 -08:00
..
config Use Rust 1.47.0 prebuilts 2020-11-05 17:35:34 +01:00
Android.bp Add rust_protobuf module. 2020-08-31 14:05:39 -04:00
OWNERS Add Matt to OWNERS for Rust 2020-06-26 09:23:47 +02:00
androidmk.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
binary.go rust: Add static binary support 2020-10-02 12:31:23 -04:00
binary_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
bindgen.go Rust bindgen should use r399163b. 2020-11-09 16:28:23 -08:00
bindgen_test.go rust: Add cflag checks against -xc++ and -std. 2020-10-16 10:52:46 -04:00
builder.go rust: Fix absolute path OUT_DIR bug 2020-11-11 11:25:48 -05:00
builder_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
clippy.go rust: modify linting properties 2020-08-13 15:58:09 +02:00
clippy_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
compiler.go rust: Add static binary support 2020-10-02 12:31:23 -04:00
compiler_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
coverage.go Migrate away from removed option 2020-08-25 15:27:15 -07:00
coverage_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
library.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
library_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
prebuilt.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
proc_macro.go rust: strip libraries and binaries 2020-08-28 10:50:17 +02:00
project_json.go Add config.AndroidFirstDeviceTarget. 2020-10-12 14:15:19 +00:00
project_json_test.go rust: refactor tests setup 2020-10-08 15:51:10 +02:00
protobuf.go rust_grpcio well known types support, default deps 2020-11-11 12:09:26 -08:00
protobuf_test.go rust_grpcio well known types support, default deps 2020-11-11 12:09:26 -08:00
rust.go rust_grpcio well known types support, default deps 2020-11-11 12:09:26 -08:00
rust_test.go Annotate dependency tags for dependencies of installed files 2020-11-14 16:24:10 -08:00
source_provider.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
source_provider_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
strip.go rust: strip libraries and binaries 2020-08-28 10:50:17 +02:00
test.go rust: Refactor staticStd to stdLinkage 2020-09-28 13:26:05 -04:00
test_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
testing.go Annotate dependency tags for dependencies of installed files 2020-11-14 16:24:10 -08:00