Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd803f55 authored by yangbill's avatar yangbill Committed by Bill Yang
Browse files

Convert keyboards artifacts to soong

Bug: 337993945
Test: m
Change-Id: I762f41500fb9b360245fbf58a6526dd594ff332e
parent 9ed9d621
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -27,3 +27,24 @@ genrule {
        targets: ["droidcore"],
    },
}

prebuilt_usr_keylayout {
    name: "keylayout_data",
    srcs: [
        "*.kl",
    ],
}

prebuilt_usr_keychars {
    name: "keychars_data",
    srcs: [
        "*.kcm",
    ],
}

prebuilt_usr_idc {
    name: "idc_data",
    srcs: [
        "*.idc",
    ],
}
+4 −5
Original line number Diff line number Diff line
@@ -14,9 +14,8 @@

# Warning: this is actually a product definition, to be inherited from

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)

PRODUCT_PACKAGES += \
    keylayout_data \
    keychars_data \
    idc_data