platform_build_soong/bp2build
Liz Kammer 2b50ce669c Make GetDirectDep implementation match comment
The comment on the interface of GetDirectDep states if there are
multiple deps with different tags, the first will be returned; however,
the current behavior is to panic if there are multiple deps. The
behavior now:
* a single dep, return the module and tag
* a single module with different tags: return module with first tag
* multiple modules: panic
* no module: return nil, nil

Bug: 186488405
Test: ~/aosp/build/bazel/ci/bp2build.sh
Test: m nothing
Change-Id: Id1e7315e7874b4a683ad7357ed2793822315821f
2021-04-27 15:53:51 -04:00
..
Android.bp Create a synthetic Bazel workspace. 2021-04-20 10:00:02 +02:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bp2build.go Generate BUILD files for every directory that has an Android.bp file. 2021-04-21 07:15:50 -04:00
build_conversion.go Generate BUILD files for every directory that has an Android.bp file. 2021-04-21 07:15:50 -04:00
build_conversion_test.go bp2build: fix exclude_srcs in subpackages. 2021-04-27 09:51:08 +00:00
bzl_conversion.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bzl_conversion_test.go Add bp2build arch-specific paths mutator 2021-04-21 18:21:50 -04:00
cc_library_conversion_test.go bp2build: fix exclude_srcs in subpackages. 2021-04-27 09:51:08 +00:00
cc_library_headers_conversion_test.go bp2build: remove header globs in generated srcs. 2021-04-27 06:26:40 +00:00
cc_library_static_conversion_test.go Make GetDirectDep implementation match comment 2021-04-27 15:53:51 -04:00
cc_object_conversion_test.go bp2build: remove header globs in generated srcs. 2021-04-27 06:26:40 +00:00
configurability.go bp2build: arch-specific exclude_srcs and srcs. 2021-04-27 11:02:07 +00:00
constants.go Remove comment about gitignore for BUILD files. 2021-03-29 08:31:28 +00:00
conversion.go Write all BUILD files for queryview 2021-04-22 14:40:17 -04:00
conversion_test.go Create a synthetic Bazel workspace. 2021-04-20 10:00:02 +02:00
metrics.go Use handcrafted build targets in bp2build 2021-03-15 13:09:25 -04:00
python_binary_conversion_test.go bp2build: codegen singleton lists on one line. 2021-04-09 09:42:57 +00:00
sh_conversion_test.go bp2build: codegen singleton lists on one line. 2021-04-09 09:42:57 +00:00
symlink_forest.go Make symlink_forest.go prefer generated files. 2021-04-21 12:24:27 +02:00
testing.go Merge "Add bp2build arch-specific paths mutator" 2021-04-23 12:50:05 +00:00