summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2019-11-08 15:18:04 +0000
committerAnton Hansson <hansson@google.com>2019-12-02 13:56:06 +0000
commit98460abc897a924f561809b43616fa9512727fd9 (patch)
tree1b16a422cc23f654218abdd5bec16daeedbe4bd7
parent82001cf9939451a66827873ef811af8ac49634fd (diff)
downloadbase-98460abc897a924f561809b43616fa9512727fd9.tar.gz
Add scaffolding for 'sdkext' module
This module will have a java framework part as well as a native binary. Add directory and hook future java sources into the stub rules. Bug: 137191822 Test: m Change-Id: I5527a055bf935178b88a1b20504b251f18f3d873
-rw-r--r--Android.bp3
-rw-r--r--apex/sdkext/OWNERS1
-rw-r--r--apex/sdkext/framework/Android.bp21
3 files changed, 25 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d20cd9d93223..63c8fb63b0fe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -267,6 +267,7 @@ filegroup {
srcs: [
":framework-mime-sources",
":framework-non-updatable-sources",
+ ":framework-sdkext-sources",
":updatable-media-srcs",
],
}
@@ -974,6 +975,7 @@ stubs_defaults {
srcs: [
":framework-non-updatable-sources",
":framework-mime-sources",
+ ":framework-sdkext-sources",
"core/java/**/*.logtags",
"test-base/src/**/*.java",
":opt-telephony-srcs",
@@ -1038,6 +1040,7 @@ stubs_defaults {
name: "metalava-api-stubs-default",
srcs: [
":framework-non-updatable-sources",
+ ":framework-sdkext-sources",
"core/java/**/*.logtags",
":opt-telephony-srcs",
":opt-net-voip-srcs",
diff --git a/apex/sdkext/OWNERS b/apex/sdkext/OWNERS
new file mode 100644
index 000000000000..feb274262bef
--- /dev/null
+++ b/apex/sdkext/OWNERS
@@ -0,0 +1 @@
+hansson@google.com
diff --git a/apex/sdkext/framework/Android.bp b/apex/sdkext/framework/Android.bp
new file mode 100644
index 000000000000..bc7857feda23
--- /dev/null
+++ b/apex/sdkext/framework/Android.bp
@@ -0,0 +1,21 @@
+// Copyright (C) 2019 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+filegroup {
+ name: "framework-sdkext-sources",
+ srcs: [
+ "java/**/*.java",
+ ],
+ path: "java",
+}