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
This commit is contained in:
Josh Gao 2019-10-17 16:20:26 -07:00
parent baea773324
commit c9e09e69b9

View file

@ -27,6 +27,7 @@ java_library {
java_binary {
name: "deployagent",
sdk_version: "24",
static_libs: [
"deployagent_lib",
],