diff options
author | 2025-03-20 20:06:14 -0700 | |
---|---|---|
committer | 2025-03-20 20:06:14 -0700 | |
commit | eee659508c46a88b4332100aa4c132125ce1f4a5 (patch) | |
tree | 2e7ab109380226d9b696303bafa85bd49574a4b4 | |
parent | 3070b84f7d40c545464067792ed5db3424f2c98b (diff) | |
parent | 08c71a30102180ab0dc84ef9a9091aa32b75d8e7 (diff) |
Merge "Revert "Convert PRODUCT_COPY_FILES for keyboards data to Android.bp"" into main
-rw-r--r-- | data/keyboards/Android.bp | 11 | ||||
-rw-r--r-- | data/keyboards/keyboards.mk | 10 |
2 files changed, 11 insertions, 10 deletions
diff --git a/data/keyboards/Android.bp b/data/keyboards/Android.bp index 69b29bd5c7d3..423b55bd85db 100644 --- a/data/keyboards/Android.bp +++ b/data/keyboards/Android.bp @@ -12,16 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -package { - default_applicable_licenses: ["Android-Apache-2.0"], -} - genrule { name: "validate_framework_keymaps", srcs: [ - "*.idc", - "*.kcm", "*.kl", + "*.kcm", + "*.idc", ], tools: ["validatekeymaps"], out: ["stamp"], @@ -37,6 +33,7 @@ prebuilt_usr_keylayout { srcs: [ "*.kl", ], + no_full_install: true, } prebuilt_usr_keychars { @@ -44,6 +41,7 @@ prebuilt_usr_keychars { srcs: [ "*.kcm", ], + no_full_install: true, } prebuilt_usr_idc { @@ -51,4 +49,5 @@ prebuilt_usr_idc { srcs: [ "*.idc", ], + no_full_install: true, } diff --git a/data/keyboards/keyboards.mk b/data/keyboards/keyboards.mk index 47bc63268754..c7ce8cd6693a 100644 --- a/data/keyboards/keyboards.mk +++ b/data/keyboards/keyboards.mk @@ -14,7 +14,9 @@ # Warning: this is actually a product definition, to be inherited from -PRODUCT_PACKAGES += \ - keylayout_data \ - keychars_data \ - idc_data +PRODUCT_COPY_FILES := \ + $(call find-copy-subdir-files,*.kl,$(LOCAL_PATH),system/usr/keylayout) \ + $(call find-copy-subdir-files,*.kcm,$(LOCAL_PATH),system/usr/keychars) \ + $(call find-copy-subdir-files,*.idc,$(LOCAL_PATH),system/usr/idc) + + |