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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/chromevox.gyp

Issue 1145243006: Port chromevox build to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@externs
Patch Set: Add depfile_dir to grit_rule Created 5 years, 6 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
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 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['chromeos==1', { 7 ['chromeos==1', {
8 'variables': { 8 'variables': {
9 # Whether to compress the 4 main ChromeVox scripts. 9 # Whether to compress the 4 main ChromeVox scripts.
10 'chromevox_compress_js%': '1', 10 'chromevox_compress_js%': '1',
11 'chromevox1_background_script_loader_file': 'chromevox/background/loader .js',
12 'chromevox1_content_script_loader_file': 'chromevox/injected/loader.js',
13 'chromevox1_kbexplorer_loader_file': 'chromevox/background/kbexplorer_lo ader.js',
14 'chromevox1_options_script_loader_file': 'chromevox/background/options_l oader.js',
15 'chromevox2_background_script_loader_file': 'cvox2/background/loader.js' ,
16 }, 11 },
17 'includes': [ 12 'includes': [
13 'chromevox_assets.gypi',
18 'chromevox_tests.gypi', 14 'chromevox_tests.gypi',
15 'chromevox_vars.gypi',
19 'common.gypi', 16 'common.gypi',
20 ], 17 ],
21 'targets': [ 18 'targets': [
22 { 19 {
23 'target_name': 'chromevox', 20 'target_name': 'chromevox',
24 'type': 'none', 21 'type': 'none',
25 'dependencies': [ 22 'dependencies': [
26 'chromevox_resources', 23 'chromevox_resources',
27 'chromevox_manifest', 24 'chromevox_manifest',
28 'chromevox_guest_manifest', 25 'chromevox_guest_manifest',
(...skipping 26 matching lines...) Expand all
55 ], 52 ],
56 }, { # chromevox_compress_js==0 53 }, { # chromevox_compress_js==0
57 'dependencies': [ 54 'dependencies': [
58 'chromevox_copied_scripts', 55 'chromevox_copied_scripts',
59 'chromevox_deps', 56 'chromevox_deps',
60 ], 57 ],
61 }], 58 }],
62 ], 59 ],
63 }, 60 },
64 { 61 {
65 'target_name': 'chromevox_assets',
66 'type': 'none',
67 'includes': [
68 'chromevox_assets.gypi',
69 ],
70 },
71 {
72 'target_name': 'chromevox_static_files', 62 'target_name': 'chromevox_static_files',
73 'type': 'none', 63 'type': 'none',
74 'copies': [ 64 'copies': [
75 { 65 {
76 'destination': '<(chromevox_dest_dir)/chromevox/background', 66 'destination': '<(chromevox_dest_dir)/chromevox/background',
77 'files': [ 67 'files': [
78 'chromevox/background/background.html', 68 'chromevox/background/background.html',
79 'chromevox/background/kbexplorer.html', 69 'chromevox/background/kbexplorer.html',
80 'chromevox/background/options.html', 70 'chromevox/background/options.html',
81 ], 71 ],
82 }, 72 },
83 { 73 {
84 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/cvox2/ background', 74 'destination': '<(chromevox_dest_dir)/cvox2/background',
85 'files': [ 75 'files': [
86 'cvox2/background/background.html', 76 'cvox2/background/background.html',
87 ], 77 ],
88 }, 78 },
89 ], 79 ],
90 }, 80 },
91 { 81 {
92 # JavaScript files that are always directly included into the 82 # JavaScript files that are always directly included into the
93 # destination directory. 83 # destination directory.
94 'target_name': 'chromevox_uncompiled_js_files', 84 'target_name': 'chromevox_uncompiled_js_files',
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 '<(chromevox2_background_script_loader_file)', 230 '<(chromevox2_background_script_loader_file)',
241 ], 231 ],
242 'includes': [ 'copy_js.gypi', ], 232 'includes': [ 'copy_js.gypi', ],
243 }, 233 },
244 ], 234 ],
245 }], 235 }],
246 ], 236 ],
247 }], 237 }],
248 ], 238 ],
249 } 239 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698