diff options
author | 2020-08-27 09:40:43 +0000 | |
---|---|---|
committer | 2020-09-09 09:51:45 +0000 | |
commit | d8004efff25720dad9e9c1b813f223af39ea82db (patch) | |
tree | 90dfc8ce1b14d7d529b5c304ec0994e197b0d84b /java/hiddenapi_singleton.go | |
parent | 6945e9b65042a722a6db399481799f11628cee47 (diff) |
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
Diffstat (limited to 'java/hiddenapi_singleton.go')
0 files changed, 0 insertions, 0 deletions