diff options
| author | 2023-06-09 19:31:14 +0000 | |
|---|---|---|
| committer | 2023-06-09 19:31:14 +0000 | |
| commit | eecb47f9aeda70e92fe7739db22e57fa9f45e5eb (patch) | |
| tree | 9b4556a3f13debf057e1f6705446e8642df384f3 /libs | |
| parent | 9b4d8f0761ce2515b16c8e2cbaec06511826ca0f (diff) | |
| parent | cbbf330356a3845be4c48adb792aede9968c5934 (diff) | |
Merge "Migrate aidl filegroup to aidl_library" into udc-mainline-prod
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/gui/Android.bp | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/libs/gui/Android.bp b/libs/gui/Android.bp index bf34987b9e..72c6b1570a 100644 --- a/libs/gui/Android.bp +++ b/libs/gui/Android.bp @@ -129,13 +129,24 @@ cc_library_static { }, } -filegroup { +aidl_library { + name: "libgui_aidl_hdrs", + hdrs: [ + "android/gui/DisplayInfo.aidl", + "android/gui/FocusRequest.aidl", + "android/gui/InputApplicationInfo.aidl", + "android/gui/IWindowInfosListener.aidl", + "android/gui/IWindowInfosReportedListener.aidl", + "android/gui/WindowInfo.aidl", + "android/gui/WindowInfosUpdate.aidl", + ], +} + +aidl_library { name: "libgui_aidl", srcs: ["aidl/**/*.aidl"], - path: "aidl/", - aidl: { - deps: [":android_gui_aidl"], - }, + strip_import_prefix: "aidl", + deps: ["libgui_aidl_hdrs"], } filegroup { @@ -147,9 +158,6 @@ filegroup { cc_library_static { name: "libgui_aidl_static", vendor_available: true, - srcs: [ - ":libgui_aidl", - ], shared_libs: [ "libbinder", @@ -175,9 +183,7 @@ cc_library_static { aidl: { export_aidl_headers: true, - include_dirs: [ - "frameworks/native/libs/gui", - ], + libs: ["libgui_aidl"], }, } |