platform_build_soong/bazel
Jingwen Chen ed9c17d033 bp2build: refactor/standardize cc_* bp2build converters
This CL refactors the cc* bp2build converters to use the common
attribute extractors in cc/bp2build.go.

This also adds include_build_directory to be handled by the compiler
attr extractor to generate recursive headers as inputs.

This also turns include_dirs and local_include_dirs into the
execroot-relative -I flags.

e.g. if a module in  bionic/libc has "private" in local_include_dirs,
the "-Ibionic/libc/private" copt is generated for it.

Fixes: 185139955

Test: TH
Test: Forrest for mixed_clean-droid
Change-Id: Ib67056482227e62068fbbea0455035bdf5d56319
2021-04-22 08:31:24 +00:00
..
cquery Add various test files as testSrcs, so that they run on CI. 2021-04-21 11:23:57 -04:00
Android.bp Add a way to remove duplicates from Bazel label lists, to e.g. avoid duplicate deps. 2021-03-15 11:51:31 +00:00
aquery.go Add depfile handling for bazel_handler. 2021-03-30 15:55:02 -04:00
aquery_test.go Add depfile handling for bazel_handler. 2021-03-30 15:55:02 -04:00
constants.go Enable bazel profiling in soong_build. 2020-12-14 18:48:11 +00:00
properties.go bp2build: refactor/standardize cc_* bp2build converters 2021-04-22 08:31:24 +00:00
properties_test.go bp2build: refactor/standardize cc_* bp2build converters 2021-04-22 08:31:24 +00:00