diff options
author | Josh Gao <jmgao@google.com> | 2019-10-17 16:20:26 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-10-17 16:20:26 -0700 |
commit | c9e09e69b9917d7a16e0aaf6f88a481e5dd67bf1 (patch) | |
tree | e6a3e69e32ccbd7c7ae65c8831fce38f65fe1283 | |
parent | baea773324fb3bc8e28c611d5abd9f06e4798eb5 (diff) |
deployagent: set sdk version.
Not specifying a platform version in a java binary will result in code
generation tools being built to create framework.jar, which currently
fails when building with BUILD_HOST_static=1.
Specify an SDK version to avoid this.
Bug: http://b/142536936
Test: m -j adb BUILD_HOST_static=1
Change-Id: Ifb9556c7c6cc43417c3f56137edee21f145f8b17
-rw-r--r-- | adb/fastdeploy/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/adb/fastdeploy/Android.bp b/adb/fastdeploy/Android.bp index 245d52a78..f5893aa19 100644 --- a/adb/fastdeploy/Android.bp +++ b/adb/fastdeploy/Android.bp @@ -27,6 +27,7 @@ java_library { java_binary { name: "deployagent", + sdk_version: "24", static_libs: [ "deployagent_lib", ], |