-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give prebuilt_etc and sh_binary their own packages and split the gigantic main Android.bp up to small, per-package ones. (This is a cherry-pick change.) Test: m nothing, TreeHugger Bug: 156980228 Change-Id: I7b00cd344b9f16861f1ff39edf0029f016b853d0 Merged-In: I7b00cd344b9f16861f1ff39edf0029f016b853d0
- Loading branch information
Showing
31 changed files
with
784 additions
and
688 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
bootstrap_go_package { | ||
name: "soong-android", | ||
pkgPath: "android/soong/android", | ||
deps: [ | ||
"blueprint", | ||
"blueprint-bootstrap", | ||
"soong", | ||
"soong-android-soongconfig", | ||
"soong-env", | ||
"soong-shared", | ||
], | ||
srcs: [ | ||
"androidmk.go", | ||
"apex.go", | ||
"api_levels.go", | ||
"arch.go", | ||
"config.go", | ||
"csuite_config.go", | ||
"defaults.go", | ||
"defs.go", | ||
"expand.go", | ||
"filegroup.go", | ||
"hooks.go", | ||
"image.go", | ||
"makevars.go", | ||
"module.go", | ||
"mutator.go", | ||
"namespace.go", | ||
"neverallow.go", | ||
"notices.go", | ||
"onceper.go", | ||
"override_module.go", | ||
"package.go", | ||
"package_ctx.go", | ||
"path_properties.go", | ||
"paths.go", | ||
"prebuilt.go", | ||
"proto.go", | ||
"register.go", | ||
"rule_builder.go", | ||
"sandbox.go", | ||
"sdk.go", | ||
"singleton.go", | ||
"soong_config_modules.go", | ||
"testing.go", | ||
"util.go", | ||
"variable.go", | ||
"visibility.go", | ||
"vts_config.go", | ||
"writedocs.go", | ||
|
||
// Lock down environment access last | ||
"env.go", | ||
], | ||
testSrcs: [ | ||
"android_test.go", | ||
"androidmk_test.go", | ||
"arch_test.go", | ||
"config_test.go", | ||
"csuite_config_test.go", | ||
"expand_test.go", | ||
"module_test.go", | ||
"mutator_test.go", | ||
"namespace_test.go", | ||
"neverallow_test.go", | ||
"onceper_test.go", | ||
"package_test.go", | ||
"path_properties_test.go", | ||
"paths_test.go", | ||
"prebuilt_test.go", | ||
"rule_builder_test.go", | ||
"soong_config_modules_test.go", | ||
"util_test.go", | ||
"variable_test.go", | ||
"visibility_test.go", | ||
"vts_config_test.go", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
bootstrap_go_package { | ||
name: "soong-android-soongconfig", | ||
pkgPath: "android/soong/android/soongconfig", | ||
deps: [ | ||
"blueprint", | ||
"blueprint-parser", | ||
"blueprint-proptools", | ||
], | ||
srcs: [ | ||
"config.go", | ||
"modules.go", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
bootstrap_go_package { | ||
name: "soong-apex", | ||
pkgPath: "android/soong/apex", | ||
deps: [ | ||
"blueprint", | ||
"soong", | ||
"soong-android", | ||
"soong-cc", | ||
"soong-java", | ||
"soong-python", | ||
"soong-sh", | ||
], | ||
srcs: [ | ||
"androidmk.go", | ||
"apex.go", | ||
"apex_singleton.go", | ||
"builder.go", | ||
"key.go", | ||
"prebuilt.go", | ||
"vndk.go", | ||
], | ||
testSrcs: [ | ||
"apex_test.go", | ||
"vndk_test.go", | ||
], | ||
pluginFor: ["soong_build"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
bootstrap_go_package { | ||
name: "soong-cc", | ||
pkgPath: "android/soong/cc", | ||
deps: [ | ||
"blueprint", | ||
"blueprint-pathtools", | ||
"soong", | ||
"soong-android", | ||
"soong-cc-config", | ||
"soong-etc", | ||
"soong-genrule", | ||
"soong-tradefed", | ||
], | ||
srcs: [ | ||
"androidmk.go", | ||
"builder.go", | ||
"cc.go", | ||
"ccdeps.go", | ||
"check.go", | ||
"coverage.go", | ||
"gen.go", | ||
"linkable.go", | ||
"lto.go", | ||
"makevars.go", | ||
"pgo.go", | ||
"prebuilt.go", | ||
"proto.go", | ||
"rs.go", | ||
"sanitize.go", | ||
"sabi.go", | ||
"sdk.go", | ||
"snapshot_utils.go", | ||
"stl.go", | ||
"strip.go", | ||
"sysprop.go", | ||
"tidy.go", | ||
"util.go", | ||
"vendor_snapshot.go", | ||
"vndk.go", | ||
"vndk_prebuilt.go", | ||
|
||
"cflag_artifacts.go", | ||
"cmakelists.go", | ||
"compdb.go", | ||
"compiler.go", | ||
"installer.go", | ||
"linker.go", | ||
|
||
"binary.go", | ||
"binary_sdk_member.go", | ||
"fuzz.go", | ||
"library.go", | ||
"library_headers.go", | ||
"library_sdk_member.go", | ||
"object.go", | ||
"test.go", | ||
"toolchain_library.go", | ||
|
||
"ndk_prebuilt.go", | ||
"ndk_headers.go", | ||
"ndk_library.go", | ||
"ndk_sysroot.go", | ||
|
||
"llndk_library.go", | ||
|
||
"kernel_headers.go", | ||
|
||
"genrule.go", | ||
|
||
"vendor_public_library.go", | ||
|
||
"testing.go", | ||
], | ||
testSrcs: [ | ||
"cc_test.go", | ||
"compiler_test.go", | ||
"gen_test.go", | ||
"genrule_test.go", | ||
"library_headers_test.go", | ||
"library_test.go", | ||
"object_test.go", | ||
"prebuilt_test.go", | ||
"proto_test.go", | ||
"test_data_test.go", | ||
], | ||
pluginFor: ["soong_build"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
bootstrap_go_package { | ||
name: "soong-cc-config", | ||
pkgPath: "android/soong/cc/config", | ||
deps: [ | ||
"soong-android", | ||
"soong-remoteexec", | ||
], | ||
srcs: [ | ||
"clang.go", | ||
"global.go", | ||
"tidy.go", | ||
"toolchain.go", | ||
"vndk.go", | ||
|
||
"arm_device.go", | ||
"arm64_device.go", | ||
"arm64_fuchsia_device.go", | ||
"mips_device.go", | ||
"mips64_device.go", | ||
"x86_device.go", | ||
"x86_64_device.go", | ||
"x86_64_fuchsia_device.go", | ||
|
||
"x86_darwin_host.go", | ||
"x86_linux_host.go", | ||
"x86_linux_bionic_host.go", | ||
"x86_windows_host.go", | ||
], | ||
testSrcs: [ | ||
"tidy_test.go", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
bootstrap_go_package { | ||
name: "soong-env", | ||
pkgPath: "android/soong/env", | ||
srcs: [ | ||
"env.go", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
bootstrap_go_package { | ||
name: "soong-etc", | ||
pkgPath: "android/soong/etc", | ||
deps: [ | ||
"blueprint", | ||
"soong", | ||
"soong-android", | ||
], | ||
srcs: [ | ||
"prebuilt_etc.go", | ||
], | ||
testSrcs: [ | ||
"prebuilt_etc_test.go", | ||
], | ||
pluginFor: ["soong_build"], | ||
} |
Oops, something went wrong.