platform_build_soong/android
Colin Cross 3d68051218 Move genrule on top of RuleBuilder
In preparation for more complicated sandboxing support in sbox, use
a single implementation of the sbox sandboxing by moving genrule to
use RuleBuilder's sbox support instead of creating an sbox rule
directly.

Also move genrule's input list hash support into RuleBuilder.

Test: genrule_test.go
Test: rule_builder_test.go
Change-Id: I292184d02743c7e6887ebbcd232ba565db2ab0cc
2020-11-17 11:23:45 -08:00
..
soongconfig Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
Android.bp Revert "Annotate dependency tags for dependencies of installed files" 2020-11-17 06:32:06 +00:00
android_test.go
androidmk.go Add llndk_stubs property 2020-10-21 10:55:33 -07:00
androidmk_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
apex.go Replace android.WriteFile rule with android.WriteFileRule 2020-11-14 16:26:00 -08:00
apex_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
api_levels.go Replace android.WriteFile rule with android.WriteFileRule 2020-11-14 16:26:00 -08:00
arch.go Revert "Annotate dependency tags for dependencies of installed files" 2020-11-17 06:32:06 +00:00
arch_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
bazel_handler.go Batch cquery requests for mixed builds 2020-10-28 21:56:14 +00:00
config.go Add dependency on dexpreopt.config to soong_build doc generation. 2020-11-04 01:51:40 -05:00
config_test.go Retry: Make ConfiguredJarList immutable 2020-10-27 17:37:20 +00:00
csuite_config.go Create C-Suite config module 2019-10-18 18:28:00 +00:00
csuite_config_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
defaults.go Enable defaults in soong_config_module_type props 2020-10-09 14:28:34 -07:00
defaults_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
defs.go Replace android.WriteFile rule with android.WriteFileRule 2020-11-14 16:26:00 -08:00
depset.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
depset_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
env.go Teach Soong to use a custom Delve binary. 2020-11-06 10:46:01 +01:00
expand.go Fix android.Expand and ninja escaping 2019-07-11 14:52:17 -07:00
expand_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
filegroup.go Reland "Support per-module MakeVars" 2020-08-06 15:56:09 -07:00
hooks.go Add SrcPath to InstallHookContext 2020-06-04 01:26:16 +01:00
image.go Add vendor-ramdisk image to Soong. 2020-10-22 10:26:26 -07:00
makefile_goal.go makefile_goal: not arch specific. 2020-10-21 14:09:14 -07:00
makevars.go Mixed bazel/soong build prototype for genrule 2020-10-08 22:46:23 -04:00
metrics.go Collect metrics from inside soong_build 2020-02-25 20:50:00 +00:00
module.go Revert "Annotate dependency tags for dependencies of installed files" 2020-11-17 06:32:06 +00:00
module_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
mutator.go Add providers support 2020-09-17 18:57:03 -07:00
mutator_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
namespace.go Simplify vendor conditionals 2020-01-24 16:43:40 -08:00
namespace_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
neverallow.go Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) 2020-08-29 01:17:45 -07:00
neverallow_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
notices.go Make a soong-only copy of generate-notice-files.py 2020-03-03 13:50:53 -08:00
onceper.go Convert droidstubs to android.RuleBuilder 2019-07-18 14:28:14 -07:00
onceper_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
override_module.go Capture list of unused methods when shrinking in R8 2020-08-19 11:19:14 -07:00
package.go Simplify package by using LoadHook instead of mutators 2020-05-06 08:21:39 +01:00
package_ctx.go Refactor RBE support for Javac/R8/D8 to use the remoteexec package. 2020-05-25 10:57:47 -04:00
package_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
path_properties.go Dedup path properties across property structs 2019-07-16 09:52:23 -07:00
path_properties_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
paths.go Add ModuleInstallPathContextForTesting. 2020-10-29 17:47:34 +00:00
paths_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
phony.go Define Soong phony rules in Make 2020-06-15 09:46:31 -07:00
prebuilt.go Support asan/hwasan versions of prebuilts. 2020-10-13 03:37:32 +00:00
prebuilt_build_tool.go Handle absolute source paths correctly. 2020-09-22 01:17:32 +01:00
prebuilt_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
proto.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
queryview.go Add 'pre-production' description to queryview action. 2020-11-13 10:06:40 -05:00
register.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
rule_builder.go Move genrule on top of RuleBuilder 2020-11-17 11:23:45 -08:00
rule_builder_test.go Move genrule on top of RuleBuilder 2020-11-17 11:23:45 -08:00
sandbox.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
sdk.go Handle property structs and BpPropertySets as values to AddProperty. 2020-09-25 00:33:04 +01:00
singleton.go Add symlink_outputs support to Soong. 2020-10-19 01:26:50 -04:00
soong_config_modules.go Merge "soong config: add value_variable substitution" into rvc-dev 2020-04-11 17:24:57 +00:00
soong_config_modules_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
test_suites.go Expose android.filesToInstall 2020-09-29 20:17:22 +09:00
testing.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
util.go Use common helper functions for getting sorted map keys. 2020-08-20 12:37:03 +01:00
util_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
variable.go Move boot jars package check from make 2020-10-29 17:20:06 +00:00
variable_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
visibility.go Merge "Error if visibility specifies a module" 2020-10-19 19:06:49 +00:00
visibility_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
writedocs.go Add dependency on dexpreopt.config to soong_build doc generation. 2020-11-04 01:51:40 -05:00