1// Copyright 2010 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15genrule { 16 name: "validate_framework_keymaps", 17 srcs: [ 18 "*.kl", 19 "*.kcm", 20 "*.idc", 21 ], 22 tools: ["validatekeymaps"], 23 out: ["stamp"], 24 cmd: "$(location validatekeymaps) -q $(in) " + 25 "&& touch $(out)", 26 dist: { 27 targets: ["droidcore"], 28 }, 29} 30 31prebuilt_usr_keylayout { 32 name: "keylayout_data", 33 srcs: [ 34 "*.kl", 35 ], 36 no_full_install: true, 37} 38 39prebuilt_usr_keychars { 40 name: "keychars_data", 41 srcs: [ 42 "*.kcm", 43 ], 44 no_full_install: true, 45} 46 47prebuilt_usr_idc { 48 name: "idc_data", 49 srcs: [ 50 "*.idc", 51 ], 52 no_full_install: true, 53} 54