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

Side by Side Diff: chrome/browser/resources/chromeos/braille_ime/BUILD.gn

Issue 2247353004: GN files for running Closure Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add script to generate polymer gn files Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/network_ui/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 assert(is_chromeos) 5 import("//third_party/closure_compiler/compile_js2.gni")
6 6
7 copy("braille_ime_manifest") { 7 if (is_chromeos) {
8 sources = [ 8 copy("braille_ime_manifest") {
9 "manifest.json", 9 source_files = [ "manifest.json" ]
10 ] 10 outputs = [
11 outputs = [ 11 "$root_out_dir/resources/chromeos/braille_ime/manifest.json",
12 "$root_out_dir/resources/chromeos/braille_ime/manifest.json", 12 ]
13 }
14 }
15
16 compile_js("compile_externs") {
17 source_files = [ "externs.js" ]
18 }
19
20 compile_js("compile_braille_ime") {
21 source_files = [ "braille_ime.js" ]
22 externs = [ "chrome_extensions.js" ]
23 deps = [
24 ":compile_externs",
13 ] 25 ]
14 } 26 }
27
28 compile_js("compile_main") {
29 source_files = [ "main.js" ]
30 deps = [
31 ":compile_braille_ime",
32 ]
33 }
34
35 group("compile_js") {
36 deps = [
37 ":compile_braille_ime",
38 ":compile_externs",
39 ":compile_main",
40 ]
41 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/network_ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698