platform_build_soong/android
Liz Kammer f3963f8b9c bp2build correctly handle empty soong_config_var
Previously in cases where a variable value was set but empty in a bp
file we ignored the value in bp2build; however, the correct behavior is
to take the empty value for each case. The tests for soong config vars
with empty_prop_for_string_var and unused_string_var:
https://cs.android.com/android/platform/superproject/+/master:build/soong/android/soong_config_modules_test.go;l=243-283;drc=72beb34609217f3c98623fb6795b6417c7f0fc65
highlight the difference in when conditions default should be used or
not.

Test: go test bp2build tests
Change-Id: I9768241f013a1a1bc8fa23657a066b5b3f52f09b
2023-01-11 22:01:01 -08:00
..
allowlists Clean up mixed builds module names filtering 2023-01-12 00:32:45 +00:00
soongconfig Avoid separate call to module factory to create conditional properties 2023-01-09 16:49:00 +00:00
Android.bp Create api_domain module type and its bp2build converter 2022-09-21 19:49:46 +00:00
android_test.go Make OutputFileForModule work for AllowMissingDependencies 2022-10-04 16:38:14 -07:00
androidmk.go Streamline AndroidMk generation 2022-12-12 18:06:49 -08:00
androidmk_test.go
apex.go Remove obsolete com.android.bluetooth apex 2022-09-14 21:09:50 +00:00
apex_test.go
api_domain.go Create (API) bp2build converters for droidstubs 2022-12-28 23:58:52 +00:00
api_levels.go Merge "Revert^2 "Fix erroneous "Field requires API level 33 (current min is 32)" warnings"" am: 100c7ad7f2 2022-07-01 23:06:03 +00:00
arch.go Export ndk/aml arches to Bazel 2022-11-11 15:27:56 -05:00
arch_list.go Add arch variants for Intel Atom CPUs 2022-11-16 17:26:53 +09:00
arch_test.go Add variant_prepend test for cc_library 2022-12-28 11:18:11 -08:00
bazel.go Clean up mixed builds module names filtering 2023-01-12 00:32:45 +00:00
bazel_handler.go Clean up mixed builds module names filtering 2023-01-12 00:32:45 +00:00
bazel_handler_test.go Clean up mixed builds module names filtering 2023-01-12 00:32:45 +00:00
bazel_paths.go Optimize PathForBazelOutRelative 2023-01-10 11:38:40 -08:00
bazel_paths_test.go File paths to allow "./" prefix 2022-09-26 14:44:15 -04:00
bazel_test.go Clean up mixed builds module names filtering 2023-01-12 00:32:45 +00:00
buildinfo_prop.go Use WriteFileRule instead of custom echo commands 2023-01-03 14:42:23 -08:00
config.go Delete the noisy error message 2023-01-10 17:36:41 -05:00
config_bp2build.go export clang-tidy variables to soong_injection 2022-10-25 15:55:17 -04:00
config_bp2build_test.go
config_test.go
configured_jars.go Split up config.go 2022-08-01 16:07:30 -04:00
csuite_config.go
csuite_config_test.go
deapexer.go Treat <x> and <x>_compressed prebuilt APEXes as being equivalent 2022-06-13 13:16:53 +00:00
defaults.go Refactor mixed build allowlist handling 2022-08-23 13:15:12 -04:00
defaults_test.go
defs.go Use WriteFileRule instead of custom echo commands 2023-01-03 14:42:23 -08:00
depset_generic.go
depset_paths.go
depset_test.go
deptag.go
deptag_test.go
expand.go
expand_test.go
filegroup.go use CommonAttributes for Tags in protos filegroups 2022-11-21 16:25:20 -05:00
filegroup_test.go Disable all filegroups in mixed builds 2022-10-24 11:11:58 -04:00
fixture.go Support running bp2build tests in fixtures 2022-12-02 11:14:17 +00:00
fixture_test.go
gen_notice.go Strip device name from gen_notice license files 2022-12-14 15:43:39 -08:00
gen_notice_test.go Integrate gen_notice with Make for dist. 2022-09-14 14:21:44 -07:00
hooks.go
image.go
license.go Stop module types being SdkAware 2022-12-12 17:33:06 +00:00
license_kind.go Implement bp2build for the license_kind module 2022-09-14 13:49:27 -07:00
license_kind_test.go
license_metadata.go Added module_name to license metadata 2022-10-13 13:52:56 -07:00
license_sdk_member.go
license_test.go Prevent duplicated license_kinds 2022-11-22 17:43:40 -08:00
licenses.go Export SBOM utility to make 2022-11-02 19:17:30 +00:00
licenses_test.go
makefile_goal.go
makevars.go Tweak Soong install rules logging 2022-10-25 11:46:01 +02:00
metrics.go Avoid loss of ninja_deps events 2022-11-07 14:12:11 +00:00
module.go Revert "Allow adding extra tradefed options in the Android.bp file" 2022-12-19 16:27:25 +00:00
module_test.go Make OutputFileForModule work for AllowMissingDependencies 2022-10-04 16:38:14 -07:00
mutator.go Optimize PathForBazelOutRelative 2023-01-10 11:38:40 -08:00
mutator_test.go
namespace.go Allow namespace config to be tested properly 2022-11-08 17:38:56 +00:00
namespace_test.go Allow namespace config to be tested properly 2022-11-08 17:38:56 +00:00
neverallow.go Allow stubs implementation to be omitted 2022-11-22 16:00:02 +00:00
neverallow_test.go Allow stubs implementation to be omitted 2022-11-22 16:00:02 +00:00
ninja_deps.go
ninja_deps_test.go Make PackageVarContext implement PathGlobContext 2022-11-04 09:04:02 -07:00
notices.go Fix strip_prefix flags to strip install paths. 2022-06-09 15:00:08 -07:00
onceper.go Add top level and per-mutator traces to soong_build 2022-07-22 10:01:35 -07:00
onceper_test.go
override_module.go mixed builds: Make apex's GetBazelLabel return the label of the override_apex, if applicable. 2022-12-20 07:35:20 +00:00
package.go Implement bp2build for the package module 2022-09-14 13:49:27 -07:00
package_ctx.go Make PackageVarContext implement PathGlobContext 2022-11-04 09:04:02 -07:00
package_test.go
packaging.go
packaging_test.go
path_properties.go
path_properties_test.go
paths.go Remove SourcePath.srcDir 2023-01-09 14:35:27 -08:00
paths_test.go
phony.go
prebuilt.go java_sdk_library_import: Copy all prebuilt properties to child modules 2022-09-28 13:58:52 +01:00
prebuilt_build_tool.go
prebuilt_test.go
proto.go add APEX transitive dependency validation 2022-12-13 14:32:19 -05:00
register.go Simplify soong_build top-level code 2022-12-16 11:03:17 -08:00
rule_builder.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
rule_builder_test.go
sandbox.go
sdk.go Remove memberDepsMutator, SdkAware et al 2022-12-12 17:33:06 +00:00
sdk_test.go
sdk_version.go Create a "Toolchain" API surface 2022-12-28 23:58:55 +00:00
sdk_version_test.go
singleton.go
singleton_module.go
singleton_module_test.go
soong_config_modules.go Avoid separate call to module factory to create conditional properties 2023-01-09 16:49:00 +00:00
soong_config_modules_test.go Avoid separate call to module factory to create conditional properties 2023-01-09 16:49:00 +00:00
test_asserts.go
test_config.go Disable bazel for riscv_64 2022-11-29 15:35:56 -05:00
test_suites.go
testing.go Extend sanitize_test.go 2022-11-22 11:46:34 -05:00
updatable_modules.go Moving default version outside of apex package 2022-08-01 16:28:48 +01:00
util.go
util_test.go
variable.go bp2build correctly handle empty soong_config_var 2023-01-11 22:01:01 -08:00
variable_test.go
visibility.go
visibility_test.go