platform_build_soong/android
Chris Parsons dbcb1ff469 Use aquery to declare bazel actions in the ninja file.
This effectively moves execution of Bazel actions outside of soong_build
and alongside ninja execution of the actual ninja files, whether that be
by ninja or by Bazel itself.

This almost allows for mixed builds and Bazel-as-Ninja-executor to
coexist, but requires hacks explained in b/175307058.

Test: Treehugger
Test: lunch aosp_flame && USE_BAZEL_ANALYSIS=1 m libc
Test: lunch aosp_flame && USE_BAZEL=1 USE_BAZEL_ANALYSIS=1 m libc,
though this requires a hack of the main BUILD file. See b/175307058

Change-Id: Ia2f6b0f1057e8cea3809de66d8287f13d84b510c
2020-12-15 17:39:23 -05:00
..
soongconfig Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
Android.bp Reimplement DepSet as a wrapper around a generic implementation 2020-12-07 12:27:50 -08:00
android_test.go Share buildDir for android/soong/android tests 2019-06-10 15:51:06 -07:00
androidmk.go Remove AndroidMkExtraFootersFunc entries param. 2020-12-07 10:23:54 -08:00
androidmk_test.go Improve test coverage of dist processing code 2020-11-27 15:17:44 +00:00
apex.go Prebuilt stub not available to platform is handled correctly 2020-12-15 09:17:36 +09: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 Remove soong.config, FileConfigurableOptions, MegaDevice config. 2020-11-24 23:42:17 -05:00
arch_list.go Add more comments to arch.go 2020-11-19 11:20:05 -08:00
arch_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
bazel_handler.go Use aquery to declare bazel actions in the ninja file. 2020-12-15 17:39:23 -05:00
config.go Merge "Revert^2 "Always turn on compatible property"" 2020-12-15 12:00:11 +00:00
config_test.go Remove soong.config, FileConfigurableOptions, MegaDevice config. 2020-11-24 23:42:17 -05:00
csuite_config.go Add test suite handling to central androidmk code 2020-12-01 12:23:56 -08:00
csuite_config_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
defaults.go Add more comments to arch.go 2020-11-19 11:20:05 -08:00
defaults_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
defs.go Add dependency to list of asset files 2020-12-11 19:54:16 +00:00
depset_generic.go Reimplement DepSet as a wrapper around a generic implementation 2020-12-07 12:27:50 -08:00
depset_paths.go Reimplement DepSet as a wrapper around a generic implementation 2020-12-07 12:27:50 -08:00
depset_test.go Reimplement DepSet as a wrapper around a generic implementation 2020-12-07 12:27:50 -08:00
deptag.go Annotate dependency tags for dependencies of installed files 2020-11-23 18:06:08 -08:00
deptag_test.go Annotate dependency tags for dependencies of installed files 2020-11-23 18:06:08 -08: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 Move bazel_module property to a common file, and add it to filegroup. 2020-11-22 22:01:44 -05: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 Remove AndroidMkExtraFootersFunc entries param. 2020-12-07 10:23:54 -08:00
makevars.go Refactor 'in_make' to mean Kati is not skipped. 2020-11-23 00:29:18 -05:00
metrics.go Collect metrics from inside soong_build 2020-02-25 20:50:00 +00:00
module.go Merge "Add dependency to list of asset files" 2020-12-12 01:48:52 +00:00
module_test.go Expand dist property checks to cover dists 2020-11-27 15:17:44 +00:00
mutator.go Add bp2build mode to soong_build. 2020-12-03 23:36:57 -05: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
ninja_deps.go Store ninja file deps from PackageVarContext in the config 2020-11-17 10:50:19 -08:00
ninja_deps_test.go Store ninja file deps from PackageVarContext in the config 2020-11-17 10:50:19 -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 Store ninja file deps from PackageVarContext in the config 2020-11-17 10:50:19 -08:00
package_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
packaging.go Add TransitivePackagingSpecs 2020-12-07 12:27:50 -08:00
packaging_test.go Remove the arch-based filtering hack in packaging.go 2020-12-01 19:25:39 +09:00
path_properties.go Add more comments to path_properties.go 2020-11-19 14:28:46 -08:00
path_properties_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
paths.go Use aquery to declare bazel actions in the ninja file. 2020-12-15 17:39:23 -05:00
paths_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
phony.go Refactor 'in_make' to mean Kati is not skipped. 2020-11-23 00:29:18 -05:00
prebuilt.go Add RemoveOptionalPrebuiltPrefix() helper function 2020-12-11 18:13:08 +00:00
prebuilt_build_tool.go Add PackageFile and use it for prebuilt build tools 2020-12-10 16:39:28 -08:00
prebuilt_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
proto.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
queryview.go Add bp2build mode to soong_build. 2020-12-03 23:36:57 -05:00
register.go Add bp2build mode to soong_build. 2020-12-03 23:36:57 -05:00
rule_builder.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
rule_builder_test.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -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 Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
testing.go Refactor 'in_make' to mean Kati is not skipped. 2020-11-23 00:29:18 -05:00
util.go WriteFileRule: Chunk long content and merge them to result 2020-12-02 15:58:48 +01:00
util_test.go Reimplement DepSet as a wrapper around a generic implementation 2020-12-07 12:27:50 -08:00
variable.go Merge "Revert^2 "Always turn on compatible property"" 2020-12-15 12:00:11 +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