summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp40
1 files changed, 40 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c8befafddb0d..95e304163b78 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1226,3 +1226,43 @@ build = [
"StubLibraries.bp",
"ApiDocs.bp",
]
+
+java_library {
+ name: "framework-telephony",
+ srcs: [
+ //":framework-telephony-sources",
+ //":framework-telephony-shared-srcs",
+ ],
+ // TODO: change to framework-system-stub to build against system APIs.
+ libs: [
+ "framework-minus-apex",
+ "unsupportedappusage",
+ ],
+ static_libs: [
+ "libphonenumber-platform",
+ "app-compat-annotations",
+ ],
+ sdk_version: "core_platform",
+ aidl: {
+ export_include_dirs: ["telephony/java"],
+ include_dirs: [
+ "frameworks/native/aidl/binder",
+ "frameworks/native/aidl/gui",
+ ]
+ },
+ jarjar_rules: ":framework-telephony-jarjar-rules",
+ dxflags: [
+ "--core-library",
+ "--multi-dex",
+ ],
+ // This is to break the dependency from boot jars.
+ dex_preopt: {
+ enabled: false,
+ },
+ installable: true,
+}
+
+filegroup {
+ name: "framework-telephony-jarjar-rules",
+ srcs: ["telephony/framework-telephony-jarjar-rules.txt"],
+}