platform_build_soong/bazel
Spandan Das 5e04d4884a Use Label (string) instead of Label (struct) to dedupe
Using Label struct as the map key causes issues because it contains
OriginalModuleName. The same module will have a different value for this
property when called from inside a soong namespace vs from outside.

If there are dups, we can just choose the first one. OriginalModuleName
is often used with ModuleFromName, and that function panics if there are
modules with the same name in two separate soong namespaces

Test: go test ./bp2build ./bazel

Change-Id: I2ee33efab03016a72f1eea99cb958b6198baeca2
2023-08-16 21:30:02 +00:00
..
cquery Create GetPrebuiltFileInfo to Mixed builds cquery api 2023-06-07 22:08:30 +00:00
Android.bp Add a persistent bazel server between builds 2023-03-01 23:30:19 -05:00
aquery.go Revert^2 "Initial implementation of the bazel sandwich" 2023-08-01 10:27:57 -07:00
aquery_test.go Revert^2 "Initial implementation of the bazel sandwich" 2023-08-01 10:27:57 -07:00
bazel_proxy.go implement USE_BAZEL_VERSION for m 2023-06-01 17:42:18 +00:00
configurability.go Make bp2build-generated selects() based on product config build settings 2023-08-03 10:12:09 -07:00
constants.go refactor Bazel variable export 2022-04-06 14:48:32 +00:00
properties.go Use Label (string) instead of Label (struct) to dedupe 2023-08-16 21:30:02 +00:00
properties_test.go Use Label (string) instead of Label (struct) to dedupe 2023-08-16 21:30:02 +00:00
testing.go add unit test for bp2build allowlist 2022-04-14 13:31:09 +00:00