platform_build_soong/cc
Jiyong Park fa616137a2 android_system_image that generates linker.config.pb
android_system_image module type is a specialization of the
android_filesystem module type. Currently, it adds a build rule for
creating linker.config.pb from the information about all the other files
in the filesystem and includes linker.config.pb to the filesystem as
well.

To do so, the filesystem module now provides a function pointer which
subtype modules like android_system_image can implement to pass extra
files that they want to package in the filesystem.

In addition, the linkerconfig package is revised to make it possible to
build linker.config.pb file outside of the package.

Bug: 185391776
Test: m microdroid and inspect etc/linker.config.pb in it.

Change-Id: Id89c40b519213062860d7306029b8413d8d36a2d
2021-04-21 09:11:21 +09:00
..
config Switch to clang r416183b 12.0.5. 2021-04-15 20:22:01 +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 Add os/target configurable selects for label list attributes. 2021-04-02 08:17:34 +00:00
androidmk.go Add ctx to AndroidMkExtraEntriesFunc 2021-02-19 23:05:40 +00: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: refactor compiler/linker prop function. 2021-04-09 10:45:48 +00:00
builder.go Revert^2 "[strip.sh] Move remaining GNU binutils usage to llvm binutils" 2021-04-08 18:31:46 +01:00
cc.go Add a denylist for specifically mixed builds 2021-04-19 12:30:02 -04:00
cc_test.go Merge "Move cc_object tests to object_test.go" 2021-04-19 22:48:15 +00:00
ccdeps.go
cflag_artifacts.go
check.go Remove unnecessary snake case variables. 2020-12-22 12:38:35 -08:00
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 Build against cfi supported coverage lib 2021-01-14 11:46:10 -08:00
fuzz.go Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList 2021-03-16 16:52:56 -07: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-15 00:56:30 +00:00
genrule_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
image.go Merge changes from topic "userdebug_plat_sepolicy.cil_Android.bp" 2021-04-15 05:22:35 +00:00
installer.go
kernel_headers.go
library.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00
library_headers.go bp2build: refactor compiler/linker prop function. 2021-04-09 10:45:48 +00:00
library_headers_test.go
library_sdk_member.go Generated headers may not be arch specific 2021-02-22 18:23:22 +00:00
library_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
linkable.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00
linker.go Remove libgcc toolchain libs for Android 2021-04-02 21:07:35 -07:00
llndk_library.go Create LLNDK vendor variants when DeviceVndkVersion is not set 2021-01-07 17:19:27 -08:00
lto.go
makevars.go Merge "Remove remaining libnativehelper implicit includes" 2021-01-13 06:11:03 +00: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 compiler/linker prop function. 2021-04-09 10:45:48 +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 cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
sanitize.go Merge changes I46e851c8,I2c9eb248 2021-04-09 22:31:09 +00: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 Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00
snapshot_utils.go Allow extending of the list of directories to be scanned for VSDK 2021-03-15 23:14:47 +00:00
stl.go Use old unwinder for R cc modules 2021-04-08 19:28:28 +09:00
strip.go Allow stripping host modules 2020-12-04 09:43:49 -08:00
stub_library.go android_system_image that generates linker.config.pb 2021-04-21 09:11:21 +09:00
sysprop.go
test.go Update test_min_api_level for cc_test 2021-02-20 00:46:21 +00:00
test_data_test.go
testing.go Remove libgcc toolchain libs for Android 2021-04-02 21:07:35 -07:00
tidy.go Forbit extra quotes in tidy flag lists 2021-02-25 20:46:15 -08:00
toolchain_library.go
util.go Add some comments for VNDK / vendor snapshots 2020-12-10 21:12:39 +09:00
vendor_public_library.go
vendor_snapshot.go cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
vendor_snapshot_test.go Support reexporting vndk from vendor snapshot 2021-04-13 10:16:49 +09:00
vndk.go Add LLNDK stubs and headers to VNDK snapshot 2021-04-16 23:02:04 +09:00
vndk_prebuilt.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00