platform_build_soong/android
Jooyung Han df09d173ca Generate linker config with packaged items.
Previously, we gather all deps without checking if a dep is actually one
of packaged items (CopyDepsToZip contents)

For example, following items shouldn't be listed.

provideLibs: "platform-mainline-sdk_libartpalette-system@current.so"
provideLibs: "platform-mainline-sdk_liblog@current.so"
provideLibs: "runtime-module-sdk_libc@current.so"
provideLibs: "runtime-module-sdk_libdl@current.so"
provideLibs: "runtime-module-sdk_libdl_android@current.so"
provideLibs: "runtime-module-sdk_libm@current.so"

Now, we gather only those modules contributing CopyDepsToZip to generate
linker config for android_system_image.

Test: m nothing
Test: m microdroid
Test: conv_linker_config print -s
    .../microdroid/android_common/root/system/etc/linker.config.pb
    shouldn't list sdk members.
Change-Id: Ife5d2193ab59970367d10e196aaaa922c6582862
2021-05-11 11:56:54 +09:00
..
soongconfig Fix nested properties in soong config structs 2021-03-05 17:26:37 -08:00
Android.bp Add various test files as testSrcs, so that they run on CI. 2021-04-21 11:23:57 -04:00
android_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
androidmk.go Support paths for vintf_fragments from Soong. 2021-04-21 09:11:32 -04:00
androidmk_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
apex.go Remove libqemu_pipe from minSdkVersionAllowlist 2021-04-27 13:05:48 -07:00
apex_test.go ApexInfo doesn't pass MinSdkVersion as string, but as ApiLevel 2021-04-15 15:17:54 +09:00
api_levels.go Move java.sdkSpec to the android package 2021-04-03 08:25:12 +09:00
arch.go Refactor how bp2build gets arch-specific props. 2021-05-05 09:00:01 +02:00
arch_list.go [arm64] Build NDK with PAuth and BTI 2021-01-26 08:15:07 +01:00
arch_test.go Add bp2build arch-specific paths mutator 2021-04-21 18:21:50 -04:00
bazel.go Merge "bp2build: build static version of libstdc++." 2021-05-04 08:46:37 +00:00
bazel_handler.go Call mixed mode Bazel in the symlink forest. 2021-04-20 17:43:02 +02:00
bazel_handler_test.go Fix bazel_handler_test.go 2021-04-21 08:46:34 -04:00
bazel_paths.go Handle the version_script property. 2021-04-30 16:46:41 +02:00
bazel_test.go bp2build: add allowlist for package-level conversions. 2021-03-24 02:27:19 -04:00
config.go Merge "Remove draft API support." 2021-04-15 22:58:15 +00:00
config_test.go Fix writing soong.variables . 2021-03-17 16:35:13 +01:00
csuite_config.go Convert android/csuite_config_test.go to test fixtures 2021-03-17 16:18:17 +00:00
csuite_config_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
deapexer.go Export dex implementation jars from prebuilt_apex 2021-01-15 18:14:10 +00:00
defaults.go Revert^2 "Add ability to declare licenses in soong." 2021-01-06 20:48:24 -08:00
defaults_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
defs.go Move android package on top of remotexec 2021-03-18 16:17:34 -07:00
depset_generic.go
depset_paths.go
depset_test.go
deptag.go
deptag_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
expand.go
expand_test.go
filegroup.go Incorporate filegroups into mixed builds. 2021-04-19 15:50:20 -04:00
fixture.go Add PrepareForDebug_DO_NOT_SUBMIT 2021-04-21 10:16:31 +01:00
fixture_test.go Remove FixturePreparer.Extend() 2021-04-01 10:33:20 +01:00
hooks.go
image.go Add debug ramdisk variant. 2021-04-29 22:58:17 +09:00
license.go Make licenseModule SdkAware 2021-05-06 23:13:06 +01:00
license_kind.go Revert^2 "Add ability to declare licenses in soong." 2021-01-06 20:48:24 -08:00
license_kind_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
license_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
licenses.go Reformat license code to comply with preupload checks 2021-03-04 22:35:29 +00:00
licenses_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
makefile_goal.go
makevars.go Add a new SingletonModule type 2021-01-07 17:19:27 -08:00
metrics.go
module.go Add debug ramdisk variant. 2021-04-29 22:58:17 +09:00
module_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
mutator.go Add bp2build arch-specific paths mutator 2021-04-21 18:21:50 -04:00
mutator_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
namespace.go
namespace_test.go Add TestingBuildParams.RelativeToTop() 2021-03-22 22:09:53 +00:00
neverallow.go more no include_dir 2021-04-27 18:03:55 +00:00
neverallow_test.go start eating include_dirs from both ends 2021-04-27 02:56:03 +00:00
ninja_deps.go
ninja_deps_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
notices.go
onceper.go
onceper_test.go
override_module.go Add GetEmbeddedPrebuilt and IsModulePrebuilt 2021-04-28 14:02:04 +01:00
package.go Add error handling to test fixtures 2021-03-02 20:17:19 +00:00
package_ctx.go Move android package on top of remotexec 2021-03-18 16:17:34 -07:00
package_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
packaging.go Generate linker config with packaged items. 2021-05-11 11:56:54 +09:00
packaging_test.go Merge "Fix PackagingBase.CopyDepsToZip" 2021-03-23 04:21:38 +00:00
path_properties.go Add bp2build arch-specific paths mutator 2021-04-21 18:21:50 -04:00
path_properties_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
paths.go Merge "Support blueprint_go_binary in PathForModuleSrc" 2021-05-06 23:29:22 +00:00
paths_test.go Add debug ramdisk variant. 2021-04-29 22:58:17 +09:00
phony.go
prebuilt.go Add GetEmbeddedPrebuilt and IsModulePrebuilt 2021-04-28 14:02:04 +01:00
prebuilt_build_tool.go
prebuilt_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
proto.go
queryview.go queryview: fix depfile and incrementality. 2021-03-30 12:22:12 +00:00
register.go Register bp2build module types even outside generation 2021-03-31 12:26:01 -04:00
rule_builder.go Add validations to RuleBuilderCommand 2021-04-21 11:46:50 -07:00
rule_builder_test.go Add validations to RuleBuilderCommand 2021-04-21 11:46:50 -07:00
sandbox.go cd to / before running soong_build . 2021-03-03 09:14:22 +01:00
sdk.go Make all SdkMemberTypes support transitive member deps 2021-05-06 23:13:06 +01:00
sdk_version.go ApiLevel of "" and "core_platform" is FutureApiLevel 2021-04-15 16:53:23 +09:00
singleton.go
singleton_module.go Add a new SingletonModule type 2021-01-07 17:19:27 -08:00
singleton_module_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
soong_config_modules.go Add conditions_default for soong config variables. 2021-01-21 14:25:20 -05:00
soong_config_modules_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
test_asserts.go Add new stub_only_static_libs attr for sdk_library 2021-04-22 10:20:13 +01:00
test_suites.go Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList 2021-03-16 16:52:56 -07:00
testing.go Remove extraneous calls to TestingBuildParams.RelativeToTop() 2021-03-30 20:03:22 +01:00
util.go Add FilterListPred. 2021-03-28 22:06:33 +01:00
util_test.go Add FilterListPred. 2021-03-28 22:06:33 +01:00
variable.go Remove draft API support. 2021-04-13 15:55:47 -07:00
variable_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
visibility.go Simplify preparers now that tests use consistent registration order 2021-03-09 14:14:48 +00:00
visibility_test.go Remove uses of FixtureFactory from android package 2021-03-22 18:31:53 +00:00
writedocs.go Fix writedocs. 2021-03-11 08:37:01 +01:00