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

Unified Diff: ui/keyboard/BUILD.gn

Issue 676423003: Add build target for inputview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/google_input_tools/update.py ('k') | ui/keyboard/keyboard.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/BUILD.gn
diff --git a/ui/keyboard/BUILD.gn b/ui/keyboard/BUILD.gn
index ddcbdb5fe3b46fb7e540ccf147118766ac126d6e..2cfa1e9553f62f6988031cdb5505a195daf38e22 100644
--- a/ui/keyboard/BUILD.gn
+++ b/ui/keyboard/BUILD.gn
@@ -3,6 +3,8 @@
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
+import("//third_party/google_input_tools/closure.gni")
+import("//third_party/google_input_tools/inputview.gni")
import("//tools/grit/grit_rule.gni")
component("keyboard") {
@@ -78,6 +80,7 @@ grit("resources_grit") {
deps = [
":keyboard_mojom_bindings",
+ ":inputview"
]
}
@@ -87,6 +90,14 @@ copy("resources") {
public_deps = [ ":resources_grit" ]
}
+build_closure("inputview") {
+ sources = inputview_sources
+ target = "$target_gen_dir/resources/inputview.js"
+ json_file = "//third_party/google_input_tools/inputview.gypi"
+ json_sources = "variables.inputview_sources"
+ path = rebase_path("//third_party/google_input_tools")
+}
+
test("keyboard_unittests") {
sources = [
"test/run_all_unittests.cc",
« no previous file with comments | « third_party/google_input_tools/update.py ('k') | ui/keyboard/keyboard.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698