summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Jingwen Chen <jingwen@google.com> 2021-02-18 03:21:34 -0500
committer Jingwen Chen <jingwen@google.com> 2021-02-18 03:27:28 -0500
commit8c1b97e01ba5fa845e97247413a3514f150828c9 (patch)
tree6d7ce3d1960277df64df1aa2950a6840cfec53b3 /java/java.go
parentabf3f3c0efcb87b48abcbc5e93eb5b58c7fe8c2d (diff)
bp2build: cc_object converter.
This CL introduces a basic bp2build converter for cc_object modules. cc_objects maps cleanly to cc_library targets, but with -fnoaddrsig. This CL also demonstrates generating include deps within a macro to allow the cc_object compilation to depend on a relative-include header within an include dir. e.g. if "foo.cc" includes "android/log.h" and the latter is located at "include/android/log.h", the autogenerated header deps would export "android/log.h" correctly to the foo.cc upstream target. Test: GENERATE_BAZEL_FILES=true m nothing && bp2build-sync write && bazel build //bionic/libc:crtbegin_so1 Change-Id: Ifd9e097051ec184ab0a1929d07918f0ff4f24d98
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions