Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: ui/keyboard/BUILD.gn

Issue 411543005: Encode all grit outputs in .gn files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/android/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « ui/android/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698