diff options
author | Jiyong Park <jiyong@google.com> | 2018-02-12 21:57:59 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2018-02-12 21:57:59 +0900 |
commit | f0048397a49e482bfc362f7e42cbacff948b82bd (patch) | |
tree | 44c08bffc70923cf7e6770a7224312004c344825 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 049ecedd92d91fb692ec424311318cd8b8977b0d (diff) |
Fix link-type check warnings for platformprotosnano
platformprotosnano is used by cts-amwm-util and this is causing
link-type check warning because cts-amwm-util is built using SDK but
platformprotosnano isn't.
Since platformprotosnano can actually be built with SDK APIs only,
setting LOCAL_SDK_VERSION to 'current' instead of building against
core-oj and core-libart which contain private APIs.
LOCAL_SDK_VERSION := core_current has been tried but it didn't work
because libprotobuf-java-nano is using Android APIs (thus marked as
java:sdk). java:core -> java:sdk dependency is not allowed.
Bug: 69899800
Test: m -j platformprotosnano
Change-Id: I14a9a80bb218dae63e8320b7aab40d7ad48a7a13
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions