diff options
author | Colin Cross <ccross@android.com> | 2018-02-21 16:40:06 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-02-22 14:54:47 -0800 |
commit | 336ad7a6676515ec1f2a432ca176af62ff180155 (patch) | |
tree | 8e088ff39cb337c37bcd82ce6f6c8457622871ee /cc/util.go | |
parent | 3fad895e756e9483fd3eee210d14a43f936703dd (diff) | |
download | build_soong-336ad7a6676515ec1f2a432ca176af62ff180155.tar.gz build_soong-336ad7a6676515ec1f2a432ca176af62ff180155.tar.bz2 build_soong-336ad7a6676515ec1f2a432ca176af62ff180155.zip |
Fix java_import and android_library_import conversions
java_import and android_library_import modules can't be handled
directly in androidmk because the results may depend on properties
that haven't been parsed yet. Add a bpfix pass (which is
automatically included at the end of androidmk) to select
android_library_import vs. java_import based on the extension
of the prebuilt file, and convert the srcs property to jars or aars
as appropriate.
Bug: 73724997
Test: androidmk_test.go
Change-Id: I1024742e9e96d5e1e88c3cc139eeb0d5a2f6849b
Diffstat (limited to 'cc/util.go')
0 files changed, 0 insertions, 0 deletions