platform_build_soong/cc
Chris Parsons 484e50aa7c bp2build: support generated sources and hdrs
There are two pieces to make this work:
1. Local include paths must include $(BINDIR)-relative paths, to support
generated headers in those directories.
2. The srcs that bp2build outputs for BUILD targets must include labels
for targets given in generated_hdrs and generated_srcs.

Support for exported_generated_hdrs intentionally deferred.

This allows us to remove several targets from the bp2build denylist.
Some are moved to the mixed build denylist, because genreated headers are
still unsupported in mixed builds.
Test: bp2build.sh CI script

Change-Id: Ib4f9dac20f6445487b8dad53b91eac01f437a590
2021-05-17 14:30:07 -04:00
..
config bp2build: export some cc toolchain flags into Starlark. 2021-05-13 06:25:47 +00:00
libbuildversion Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
ndk_api_coverage_parser Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
ndkstubgen Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
symbolfile Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
Android.bp Move TestVendorPublicLibraries into vendor_public_library_test.go 2021-04-26 17:43:32 -07:00
androidmk.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
api_level.go Remove nativeApiLevelFromUserWithDefault 2021-04-15 14:00:00 +09:00
binary.go bp2build: convert paths/module refs to Bazel label 2021-02-04 13:45:56 -05:00
binary_sdk_member.go
bp2build.go bp2build: support generated sources and hdrs 2021-05-17 14:30:07 -04:00
builder.go Add order-only dependency on shared libraries 2021-05-13 18:01:24 -07:00
cc.go Soong: check if lndk is needed for apex build 2021-05-13 14:04:45 -07:00
cc_test.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
ccdeps.go
cflag_artifacts.go
check.go
cmakelists.go AIDEGen: Add "-fprofile-sample-use" parameter into category. 2021-03-08 09:33:23 +08:00
compdb.go
compiler.go Merge changes from topic "min_sdk_version" 2021-03-26 08:07:28 +00:00
compiler_test.go
coverage.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
fuzz.go Add GetEmbeddedPrebuilt and IsModulePrebuilt 2021-04-28 14:02:04 +01:00
gen.go cpp output of an AIDL file is together with the headers 2021-04-07 21:49:34 +09:00
gen_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
genrule.go Add debug ramdisk variant. 2021-04-29 22:58:17 +09:00
genrule_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
image.go Merge "Add debug ramdisk variant." 2021-05-02 23:54:40 +00:00
installer.go
kernel_headers.go
library.go Fix missing headers for vndk snapshotted libc 2021-05-14 20:15:55 +09:00
library_headers.go bp2build: remove header globs in generated srcs. 2021-04-27 06:26:40 +00:00
library_headers_test.go
library_sdk_member.go Incorporate cc_library_headers into mixed builds 2021-04-23 09:37:33 -04:00
library_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
linkable.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
linker.go cc/linker.go: check min_sdk_version. 2021-05-14 14:03:53 -07:00
llndk_library.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
lto.go
makevars.go Remove most of the remaining references to gccCmd. 2021-05-06 12:25:56 -07:00
ndk_headers.go Remove draft API support. 2021-04-13 15:55:47 -07:00
ndk_library.go Merge changes Ib07d4410,I0b306292 2021-04-15 23:21:55 +00:00
ndk_prebuilt.go Add Target to cc.SharedLibraryInfo 2021-01-26 11:02:53 -08:00
ndk_sysroot.go Remove draft API support. 2021-04-13 15:55:47 -07:00
object.go bp2build: refactor/standardize cc_* bp2build converters 2021-04-22 08:31:24 +00:00
object_test.go Move cc_object tests to object_test.go 2021-04-19 12:44:51 -04:00
OWNERS
pgo.go [pgo] Do not explicitly link profile runtime 2021-03-23 18:07:30 -07:00
prebuilt.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00
prebuilt_test.go Remove ccFixtureFactory 2021-03-30 23:44:43 +01:00
proto.go
proto_test.go Rename OptionalPath.RelativeToPath -> RelativeToTop 2021-03-30 20:06:22 +01:00
pylintrc
rs.go
sabi.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
sanitize.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
sdk.go Remove some global state from vendor and recovery snapshots 2021-02-01 20:02:39 +09:00
sdk_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
snapshot_prebuilt.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
snapshot_utils.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
stl.go Skip default dependencies for header libraries 2021-04-26 18:23:45 -07:00
strip.go
stub_library.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
sysprop.go
test.go Define vsr_min_shipping_api_level to cc_test 2021-05-14 12:47:18 +09:00
test_data_test.go
testing.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
tidy.go Forbit extra quotes in tidy flag lists 2021-02-25 20:46:15 -08:00
toolchain_library.go
util.go
vendor_public_library.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
vendor_public_library_test.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
vendor_snapshot.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
vendor_snapshot_test.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
vndk.go Refactor vendor snapshot to use LinkableInterface. 2021-05-12 14:01:10 -04:00
vndk_prebuilt.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00