platform_build_soong/android
Colin Cross f61d03d241 Add TestContext parameter to ContentFromFileRuleForTests
The next CL will need a TestContext parameter in
ContentFromFileRuleForTests in order to retrieve the file rule contents
from the Config.  Add it and update all the tests that use it in order
to simply review of the next CL.

Bug: 306029038
Test: go test ./...
Change-Id: Ia4b4c9854017ea3472fa2f8ba42cf7f72720496e
2023-12-03 17:22:56 -08:00
..
allowlists Merge "Allowlist libcodec2_soft_av1dec_dav1d" into main 2023-10-25 19:22:15 +00:00
soongconfig
Android.bp Split *ModuleContext out of module.go 2023-11-15 11:40:49 -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 Skip error check if allow missing deps is true 2023-11-17 18:58:48 +00:00
apex_test.go Add TestApexes to ApexInfo 2023-04-17 19:26:07 +00:00
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 Export ReverseSliceInPlace and ReverseSlice 2023-07-06 16:36:50 -07:00
arch_list.go
arch_test.go Add sanitizer tests for musl 2023-03-22 12:58:38 -07:00
base_module_context.go Split *ModuleContext out of module.go 2023-11-15 11:40:49 -08:00
bazel.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00
bazel_handler.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00
bazel_handler_test.go Revert^2 "Initial implementation of the bazel sandwich" 2023-08-01 10:27:57 -07:00
bazel_paths.go gofmt soong 2023-10-18 17:42:59 -07:00
bazel_paths_test.go Add a function to find src labels in a specific directory 2023-08-16 01:15:48 +00:00
bazel_test.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00:00
buildinfo_prop.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
config.go Merge "Revert "Revert "Added new framework-pdf jar inside MediaProvider..."" into main 2023-11-17 10:30:16 +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 Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00: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 Use generics for DepSets 2023-06-22 08:18:33 -07:00
deptag.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
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 Merge "Expand regex for likely aidl filegroups" into main 2023-10-04 21:11:18 +00:00
filegroup_test.go
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 Parallelize singleton execution 2023-05-19 20:31:32 +00:00
gen_notice_test.go
hooks.go
image.go
license.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00:00
license_kind.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00: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 Add performance counter metrics to build.trace.gz 2023-10-30 12:39:07 -07:00
module.go Move test data installation to Soong 2023-11-30 13:38:49 -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 unsued mutator registration 2023-10-17 19:20:55 +00:00
mutator_test.go
namespace.go Add name hint to Soong. 2023-04-10 20:20:41 +00:00
namespace_test.go Add name hint to Soong. 2023-04-10 20:20:41 +00:00
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 Load starlark files from soong 2023-04-26 17:18:19 -07:00
ninja_deps_test.go
notices.go
onceper.go
onceper_test.go
override_module.go Make ShouldConvertWithBp2build avail in loadhooks 2023-08-14 11:03:05 -04:00
package.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00:00
package_ctx.go
package_test.go
packaging.go Use generics for DepSets 2023-06-22 08:18:33 -07:00
packaging_test.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
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 Special-case java_sdk_library in source vs prebuilt selection 2023-11-08 18:37:24 +00: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 Switch bp2build mutator to bottom up 2023-09-22 19:19:22 +00:00
register.go Remove pre singletons 2023-11-02 10:05:55 -07: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 Use api_levels_released_versions from starlark 2023-05-02 01:05:07 +00:00
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 Use hashed subdir for soong_config modules 2023-05-26 18:07:05 +09:00
soong_config_modules_test.go Use hashed subdir for soong_config modules 2023-05-26 18:07:05 +09:00
test_asserts.go use message in android.AssertStringMatches() 2023-10-04 20:19:54 +00:00
test_config.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
test_suites.go Remove baseModuleContext.debug 2023-10-16 14:20:00 -07:00
testing.go Remove pre singletons 2023-11-02 10:05:55 -07:00
updatable_modules.go Revert "DO NOT MERGE: Changing the udc-dev version to 345990000" 2023-05-03 16:43:37 +00:00
util.go Add JoinWithPrefixSuffixAndSeperator() utility 2023-11-07 13:08:53 +09:00
util_test.go Fix TestReverseSlice for go 1.21 2023-11-08 22:11:24 -08:00
variable.go Deprecate BOARD_BUILD_GKI_BOOT_IMAGE_WITHOUT_RAMDISK 2023-11-24 15:07:21 +08:00
variable_test.go
visibility.go Remove completed TODO in android/visibility.go 2023-04-07 22:18:19 +00:00
visibility_test.go