platform_build_soong/bp2build
Jingwen Chen 3950cd6ed4 bp2build: remove libc_tzcode from denylist.
This now works with --features no_copts_tokenization. With tokenization,
the escaped empty string '\"\"' became an actual empty string '' on the
command line, setting -DWILDABBR to the wrong value.

However, no_copts_tokenization unveiled other problems with Android.bp
flags, such as spaces in existing cflags like
https://cs.android.com/android/platform/superproject/+/master:bionic/libc/Android.bp;l=288;drc=a0a4a6c2967b5b3c02c951ea1145f32ed5564ab9
- this trips up Bazel's copts when generated literally, so the
fix (other than splitting on space and making Soong accept strings that
don't start with dashes as cflags) is to make bp2build split cflags on
spaces before generating them as copts.

Test: bp2build, build bionic/...
Fixes: 186822591
Change-Id: Icf10bd20f6fb81db0b719ca0555fc70c75b91a79
2021-05-12 10:46:15 +00: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 bp2build: remove manifest file for bp2build-sync. 2021-05-03 06:49:54 +00:00
build_conversion.go Handle the version_script property. 2021-04-30 16:46:41 +02: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: remove libc_tzcode from denylist. 2021-05-12 10:46:15 +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 Handle cc_library shared/static only properties 2021-05-10 14:06:47 -04:00
cc_object_conversion_test.go bp2build: remove header globs in generated srcs. 2021-04-27 06:26:40 +00:00
configurability.go Refactor how bp2build gets arch-specific props. 2021-05-05 09:00:01 +02: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 Refactor how bp2build gets arch-specific props. 2021-05-05 09:00:01 +02:00