summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-05-22 11:12:33 -0700
committerColin Cross <ccross@android.com>2018-05-22 14:14:27 -0700
commit6af2e4980faddca3fe95b3384b0910fb07bea2fa (patch)
tree6489749db64350a753a9e511e5d6033806f4eb70 /java/java.go
parent96e7f85b51c5a0874aa3e42c50aeea6611aa08e9 (diff)
Support platform_apis property
Add a platform_apis property. The logic to verify it isn't hooked up yet, but this will allow translating modules to Soong without losing the annotation. Test: m checkbuild Change-Id: I75ff2d7b94247873f5bb1547a9b347a8e73c3191
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index 8c2312476..a4cb65b51 100644
--- a/java/java.go
+++ b/java/java.go
@@ -171,6 +171,9 @@ type CompilerDeviceProperties struct {
// if not blank, set to the version of the sdk to compile against
Sdk_version *string
+ // if true, compile against the platform APIs instead of an SDK.
+ Platform_apis *bool
+
Aidl struct {
// Top level directories to pass to aidl tool
Include_dirs []string