Initial boilerplate for an updatable graphics jar
Bug: 149773383
Test: builds
Test: hacks to verify that @hide apis are actually two-way hidden
Change-Id: I148b54fe47560b2335e9d878ed93bf167d6c7517
diff --git a/Android.bp b/Android.bp
index e6c7939..0f67757 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,7 +65,7 @@
}
filegroup {
- name: "framework-graphics-sources",
+ name: "framework-graphics-nonupdatable-sources",
srcs: [
"graphics/java/**/*.java",
"graphics/java/**/*.aidl",
@@ -223,7 +223,7 @@
":framework-blobstore-sources",
":framework-core-sources",
":framework-drm-sources",
- ":framework-graphics-sources",
+ ":framework-graphics-nonupdatable-sources",
":framework-jobscheduler-sources", // jobscheduler is not a module for R
":framework-keystore-sources",
":framework-identity-sources",
@@ -282,6 +282,7 @@
name: "framework-updatable-sources",
srcs: [
":framework-appsearch-sources",
+ ":framework-graphics-srcs",
":framework-mediaprovider-sources",
":framework-permission-sources",
":framework-sdkextensions-sources",
@@ -297,6 +298,7 @@
name: "framework-updatable-stubs-module_libs_api",
static_libs: [
"framework-appsearch-stubs", // TODO: Update to module_libs_api when there is one.
+ "framework-graphics-stubs-module_libs_api",
"framework-media-stubs-module_libs_api",
"framework-mediaprovider-stubs-module_libs_api",
"framework-permission-stubs-module_libs_api",