platform_build_soong/cmd
Jingwen Chen d8004efff2 Generate .bzl rule definitions for every module type in Soong, and
surface module properties as attributes.

This CL maps int, bool, string and string_list module props from Soong
modules into their respective Bazel targets.

With this CL, you can now query modules based on their properties. For
example:

$ bazel query 'attr(nocrt, 1, //...)'
$ bazel query 'attr(apex_available, //apex_available:platform, //...)'
$ bazel query //art/dalvikvm:dalvikvm--linux_glibc_x86_64 --output=build | grep compile_multilib

Test: m bazel_overlay && cd out/soong/bazel_overlay && bazel cquery 'attr(apex_available, com.android.runtime, //...)'

Test: soong_build tests

Fixes: 162720644
Fixes: 164320355
Change-Id: Iea8e594b952feccac3281f36dd6bdee8e7d62c3a
2020-09-09 09:51:45 +00:00
..
dep_fixer Rewrite depfile from sbox to stay reproducible 2019-08-29 14:47:40 -07:00
diff_target_files Update language to comply with inclusive guidance 2020-07-31 16:50:52 +00:00
extract_apks Output apkcerts file for android_app_set. 2020-07-01 10:03:09 -07:00
extract_jar_packages Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00
extract_linker Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00
fileslist fileslist: hash the content of symlink, not the file it points to. 2017-03-29 13:43:41 -07:00
host_bionic_inject Explain checkLinker errors a bit more. 2020-05-27 21:31:42 +01:00
javac_wrapper Silence trailing "1 warning" message from javac when warning is silenced 2019-11-11 21:48:33 +00:00
merge_zips Update language to comply with inclusive guidance 2020-07-28 21:22:12 +00:00
multiproduct_kati Take into account RAM usage for multiproduct_kati 2019-12-27 09:54:11 -08:00
path_interposer Remove TEMPORARY_DISABLE_PATH_RESTRICTIONS 2020-05-04 19:54:57 +00:00
pom2bp pom2bp: add apex_available/min_sdk_version 2020-05-27 00:37:45 +09:00
pom2mk Add -jetifier to pom2mk and pom2bp 2019-04-20 21:47:14 -07:00
sbox Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00
soong_build Generate .bzl rule definitions for every module type in Soong, and 2020-09-09 09:51:45 +00:00
soong_env Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00
soong_ui Add Goma deprecation PSA to soong. 2020-08-18 17:29:48 -04:00
zip2zip Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00
zipsync Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00