-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchanges.patch
More file actions
64 lines (64 loc) · 1.78 KB
/
changes.patch
File metadata and controls
64 lines (64 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
diff --git a/NfcNci/Android.bp b/NfcNci/Android.bp
index 405e6e82d..52c6e3538 100644
--- a/NfcNci/Android.bp
+++ b/NfcNci/Android.bp
@@ -68,8 +68,14 @@ android_app {
sdk_version: "core_platform",
srcs: [
":nfc-sources",
+ ":framework-nfc-updatable-aidl-sources",
"shim_src/non_apex/**/*.java",
],
+ aidl: {
+ include_dirs: [
+ "packages/modules/Nfc/framework/java",
+ ],
+ },
libs: [
// order matters: classes in framework-nfc are resolved before framework, meaning
// @hide APIs in framework-nfc are resolved before @SystemApi stubs in framework
@@ -104,8 +110,14 @@ android_app {
certificate: "nfc",
srcs: [
":nfc-sources",
+ ":framework-nfc-updatable-aidl-sources",
"shim_src/apex/**/*.java",
],
+ aidl: {
+ include_dirs: [
+ "packages/modules/Nfc/framework/java",
+ ],
+ },
libs: [
"android.nfc.flags-aconfig-java",
"android.permission.flags-aconfig-java",
diff --git a/framework/Android.bp b/framework/Android.bp
index 5fb707d96..b8bae1a1b 100644
--- a/framework/Android.bp
+++ b/framework/Android.bp
@@ -13,6 +13,17 @@ filegroup {
path: "java",
srcs: [
"java/**/*.java",
+ ],
+ visibility: [
+ "//frameworks/base:__subpackages__",
+ "//packages/modules/Nfc:__subpackages__",
+ ],
+}
+
+filegroup {
+ name: "framework-nfc-updatable-aidl-sources",
+ path: "java",
+ srcs: [
"java/**/*.aidl",
],
visibility: [
@@ -40,6 +51,7 @@ java_sdk_library {
],
srcs: [
":framework-nfc-updatable-sources",
+ ":framework-nfc-updatable-aidl-sources",
":framework-nfc-javastream-protos",
],
defaults: ["framework-module-defaults"],