OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 component("keyboard") { | 7 component("keyboard") { |
8 sources = [ | 8 sources = [ |
9 "keyboard.cc", | 9 "keyboard.cc", |
10 "keyboard.h", | 10 "keyboard.h", |
(...skipping 28 matching lines...) Expand all Loading... |
39 "//ui/compositor", | 39 "//ui/compositor", |
40 "//ui/events", | 40 "//ui/events", |
41 "//ui/gfx", | 41 "//ui/gfx", |
42 "//ui/gfx/geometry", | 42 "//ui/gfx/geometry", |
43 "//ui/wm", | 43 "//ui/wm", |
44 ] | 44 ] |
45 } | 45 } |
46 | 46 |
47 grit("resources_grit") { | 47 grit("resources_grit") { |
48 source = "keyboard_resources.grd" | 48 source = "keyboard_resources.grd" |
| 49 outputs = [ |
| 50 "grit/keyboard_resources.h", |
| 51 "grit/keyboard_resources_map.h", |
| 52 "keyboard_resources.pak", |
| 53 "keyboard_resources.rc", |
| 54 ] |
49 } | 55 } |
50 | 56 |
51 copy("resources") { | 57 copy("resources") { |
52 sources = [ "$target_gen_dir/keyboard_resources.pak" ] | 58 sources = [ "$target_gen_dir/keyboard_resources.pak" ] |
53 outputs = [ "$root_out_dir/keyboard_resources.pak" ] | 59 outputs = [ "$root_out_dir/keyboard_resources.pak" ] |
54 deps = [ ":resources_grit" ] | 60 deps = [ ":resources_grit" ] |
55 forward_dependent_configs_from = deps | 61 forward_dependent_configs_from = deps |
56 } | 62 } |
57 | 63 |
58 # TODO(GYP) enable this when all dependencies are resolved. Some transitive | 64 # TODO(GYP) enable this when all dependencies are resolved. Some transitive |
(...skipping 21 matching lines...) Expand all Loading... |
80 "//ui/compositor:test_support", | 86 "//ui/compositor:test_support", |
81 "//ui/gfx", | 87 "//ui/gfx", |
82 "//ui/gfx/geometry", | 88 "//ui/gfx/geometry", |
83 "//ui/resources:ui_test_pak", | 89 "//ui/resources:ui_test_pak", |
84 "//ui/wm", | 90 "//ui/wm", |
85 "//url", | 91 "//url", |
86 ] | 92 ] |
87 } | 93 } |
88 | 94 |
89 } | 95 } |
OLD | NEW |