Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit eee6595

Browse files
Sadiq SadaGerrit Code Review
Sadiq Sada
authored and
Gerrit Code Review
committed
Merge "Revert "Convert PRODUCT_COPY_FILES for keyboards data to Android.bp"" into main
2 parents 3070b84 + 08c71a3 commit eee6595

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

data/keyboards/Android.bp

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package {
16-
default_applicable_licenses: ["Android-Apache-2.0"],
17-
}
18-
1915
genrule {
2016
name: "validate_framework_keymaps",
2117
srcs: [
22-
"*.idc",
23-
"*.kcm",
2418
"*.kl",
19+
"*.kcm",
20+
"*.idc",
2521
],
2622
tools: ["validatekeymaps"],
2723
out: ["stamp"],
@@ -37,18 +33,21 @@ prebuilt_usr_keylayout {
3733
srcs: [
3834
"*.kl",
3935
],
36+
no_full_install: true,
4037
}
4138

4239
prebuilt_usr_keychars {
4340
name: "keychars_data",
4441
srcs: [
4542
"*.kcm",
4643
],
44+
no_full_install: true,
4745
}
4846

4947
prebuilt_usr_idc {
5048
name: "idc_data",
5149
srcs: [
5250
"*.idc",
5351
],
52+
no_full_install: true,
5453
}

data/keyboards/keyboards.mk

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

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

17-
PRODUCT_PACKAGES += \
18-
keylayout_data \
19-
keychars_data \
20-
idc_data
17+
PRODUCT_COPY_FILES := \
18+
$(call find-copy-subdir-files,*.kl,$(LOCAL_PATH),system/usr/keylayout) \
19+
$(call find-copy-subdir-files,*.kcm,$(LOCAL_PATH),system/usr/keychars) \
20+
$(call find-copy-subdir-files,*.idc,$(LOCAL_PATH),system/usr/idc)
21+
22+

0 commit comments

Comments
 (0)