diff options
author | 2025-03-20 15:57:39 -0700 | |
---|---|---|
committer | 2025-03-20 15:57:39 -0700 | |
commit | 08c71a30102180ab0dc84ef9a9091aa32b75d8e7 (patch) | |
tree | 0204571324d52682ed4ea1231d585475986f29b4 | |
parent | 2415c43a8bf5e683555fcaa48d1dad522db62229 (diff) |
Revert "Convert PRODUCT_COPY_FILES for keyboards data to Android.bp"
This reverts commit 2415c43a8bf5e683555fcaa48d1dad522db62229.
Reason for revert: Potential culprit for b/405191766. Will merge after verifying with ABTD.
Change-Id: Ia89aa852c3fcae0e040a911b4e9de8172b4ac177
-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) + + |