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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/message_center/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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//third_party/google_input_tools/closure.gni") 6 import("//third_party/google_input_tools/closure.gni")
7 import("//third_party/google_input_tools/inputview.gni") 7 import("//third_party/google_input_tools/inputview.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 9
10 component("keyboard") { 10 component("keyboard") {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "grit/keyboard_resources.h", 70 "grit/keyboard_resources.h",
71 "grit/keyboard_resources_map.h", 71 "grit/keyboard_resources_map.h",
72 "keyboard_resources.pak", 72 "keyboard_resources.pak",
73 "keyboard_resources.rc", 73 "keyboard_resources.rc",
74 ] 74 ]
75 75
76 inputview_dir = "//third_party/google_input_tools/src/chrome/os/inputview" 76 inputview_dir = "//third_party/google_input_tools/src/chrome/os/inputview"
77 inputview_gen_js = "$root_gen_dir/ui/keyboard/resources/inputview.js" 77 inputview_gen_js = "$root_gen_dir/ui/keyboard/resources/inputview.js"
78 keyboard_mojom_gen_js = "$root_gen_dir/ui/keyboard/webui/keyboard.mojom.js" 78 keyboard_mojom_gen_js = "$root_gen_dir/ui/keyboard/webui/keyboard.mojom.js"
79 grit_flags = [ 79 grit_flags = [
80 "-E", "inputview_dir=" + 80 "-E",
81 rebase_path(inputview_dir, "."), 81 "inputview_dir=" + rebase_path(inputview_dir, "."),
82 "-E", "inputview_gen_js=" + 82 "-E",
83 rebase_path(inputview_gen_js, root_build_dir), 83 "inputview_gen_js=" + rebase_path(inputview_gen_js, root_build_dir),
84 "-E", "keyboard_mojom_gen_js=" + 84 "-E",
85 rebase_path(keyboard_mojom_gen_js, root_build_dir), 85 "keyboard_mojom_gen_js=" +
86 rebase_path(keyboard_mojom_gen_js, root_build_dir),
86 ] 87 ]
87 88
88 deps = [ 89 deps = [
89 ":inputview", 90 ":inputview",
90 ":keyboard_mojom_bindings", 91 ":keyboard_mojom_bindings",
91 ] 92 ]
92 } 93 }
93 94
94 copy("resources") { 95 copy("resources") {
95 sources = [ "$target_gen_dir/keyboard_resources.pak" ] 96 sources = [
97 "$target_gen_dir/keyboard_resources.pak",
98 ]
96 outputs = [ "$root_out_dir/keyboard_resources.pak" ] 99 outputs = [ "$root_out_dir/keyboard_resources.pak" ]
97 public_deps = [ ":resources_grit" ] 100 public_deps = [
101 ":resources_grit",
102 ]
98 } 103 }
99 104
100 build_closure("inputview") { 105 build_closure("inputview") {
101 sources = inputview_sources 106 sources = inputview_sources
102 target = "$target_gen_dir/resources/inputview.js" 107 target = "$target_gen_dir/resources/inputview.js"
103 json_file = "//third_party/google_input_tools/inputview.gypi" 108 json_file = "//third_party/google_input_tools/inputview.gypi"
104 sources += [ json_file ] 109 sources += [ json_file ]
105 json_sources = "variables.inputview_sources" 110 json_sources = "variables.inputview_sources"
106 path = rebase_path("//third_party/google_input_tools") 111 path = rebase_path("//third_party/google_input_tools")
107 } 112 }
(...skipping 17 matching lines...) Expand all
125 "//ui/compositor:test_support", 130 "//ui/compositor:test_support",
126 "//ui/events:test_support", 131 "//ui/events:test_support",
127 "//ui/gfx", 132 "//ui/gfx",
128 "//ui/gfx/geometry", 133 "//ui/gfx/geometry",
129 "//ui/gl", 134 "//ui/gl",
130 "//ui/resources:ui_test_pak", 135 "//ui/resources:ui_test_pak",
131 "//ui/wm", 136 "//ui/wm",
132 "//url", 137 "//url",
133 ] 138 ]
134 } 139 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698