platform_build_soong/android
Cole Faust 8fc38f3761 Add sdk_genrule
Some users want to repackage the results of an sdk module.
Genrules have 3 variants: linux, android, and common_os. The common_os
one produces a snapshot zip file that users want. In order to get
access to it, we need a genrule in the same variant, so create
an sdk_genrule for that.

The sdk_genrule shouldn't have linux/android variants either, because
those other variants would get errors when trying to depend on the
sdk modules because the snapshot zip doesn't exist in those other
variants. The code in arch.go needs to be tweaked to allow a common_os
variant without the other variants.

Bug: 315962165
Test: m dist out/dist/art_release.zip
Change-Id: Idc9b3cae7a525d71aed6bafa0f8724a89f75a94b
2023-12-13 14:11:24 -08:00
..
allowlists Merge "Allowlist libcodec2_soft_av1dec_dav1d" into main 2023-10-25 19:22:15 +00:00
soongconfig
Android.bp Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
android_test.go
androidmk.go Move test data installation to Soong 2023-11-30 13:38:49 -08:00
androidmk_test.go
apex.go Merge "android_app APEX_GLOBAL_MIN_SDK_VERSION_OVERRIDE" into main am: 8763530dff 2023-09-07 17:20:02 +00:00
apex_contributions.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
apex_test.go
api_domain.go Delete some api_bp2build dead code. 2023-10-05 10:23:58 +00:00
api_levels.go Support for incremetal platform prebuilt APIs 2023-08-25 18:03:44 +00:00
arch.go Add sdk_genrule 2023-12-13 14:11:24 -08:00
arch_list.go
arch_test.go
base_module_context.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
buildinfo_prop.go
config.go Merge "Remove infrastructure to run bp2build" into main 2023-12-12 20:03:58 +00:00
config_bp2build.go Improve error message readability 2023-10-17 09:10:13 -04:00
config_bp2build_test.go
config_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
configured_jars.go Add a Make variable that overrides configured jar locations. 2023-07-14 12:13:30 +01:00
configured_jars_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
csuite_config.go
csuite_config_test.go
deapexer.go
defaults.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
defaults_test.go
defs.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
depset_generic.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
depset_test.go
deptag.go
deptag_test.go
early_module_context.go Split *ModuleContext out of module.go 2023-11-15 11:40:49 -08:00
expand.go
expand_test.go
filegroup.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
filegroup_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
fixture.go Add unit test for parsing build files in bp2build 2023-09-14 19:19:28 +00:00
fixture_test.go
gen_notice.go
gen_notice_test.go
hooks.go
image.go
license.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
license_kind.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
license_kind_test.go
license_metadata.go Move test data installation to Soong 2023-11-30 13:38:49 -08:00
license_sdk_member.go
license_test.go
licenses.go
licenses_test.go
makevars.go
metrics.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
module.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
module_context.go Move test data installation to Soong 2023-11-30 13:38:49 -08:00
module_test.go
mutator.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
mutator_test.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
namespace.go
namespace_test.go
neverallow.go Allow Ravenwood to cross variant boundaries 2023-11-11 00:13:14 +00:00
neverallow_test.go java_library support for building headers-only 2023-08-22 21:29:05 +00:00
ninja_deps.go
ninja_deps_test.go
notices.go
onceper.go
onceper_test.go
override_module.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
package.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
package_ctx.go
package_test.go
packaging.go
packaging_test.go
path_properties.go
path_properties_test.go
paths.go Move test data installation to Soong 2023-11-30 13:38:49 -08:00
paths_test.go Optimize out empty path components 2023-11-02 14:37:21 -07:00
phony.go
plugin.go Remove google_clockwork list of soong plugins 2023-11-27 12:29:55 -08:00
prebuilt.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
prebuilt_build_tool.go Revert^4 "add rust_toolchain_rustc_prebuilt module type" 2023-09-25 12:13:17 +00:00
prebuilt_test.go Use all_apex_contributions for source/prebuilts selection 2023-11-08 18:37:24 +00:00
proto.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
register.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
rule_builder.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
rule_builder_test.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
sandbox.go
sdk.go
sdk_test.go
sdk_version.go SdkTestCore for non-updatable modules 2023-10-23 15:25:55 +00:00
sdk_version_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
singleton.go
singleton_module.go
singleton_module_test.go
soong_config_modules.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
soong_config_modules_test.go
test_asserts.go use message in android.AssertStringMatches() 2023-10-04 20:19:54 +00:00
test_config.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
test_suites.go Remove baseModuleContext.debug 2023-10-16 14:20:00 -07:00
testing.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
updatable_modules.go
util.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
util_test.go Fix TestReverseSlice for go 1.21 2023-11-08 22:11:24 -08:00
variable.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
variable_test.go
visibility.go
visibility_test.go