OLD | NEW |
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 and disable_nacl==0 and disable_nacl_untrusted==0', { | 7 ['chromeos==1 and disable_nacl==0 and disable_nacl_untrusted==0', { |
8 'includes': [ '../chromevox/common.gypi', ], | 8 'includes': [ '../chromevox/common.gypi', ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'chromevox2', | 11 'target_name': 'chromevox2', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 'chromevox2_copied_scripts', | 14 'chromevox2_copied_scripts', |
15 'chromevox2_deps', | 15 'chromevox2_deps', |
16 'chromevox2_manifest', | 16 'chromevox2_manifest', |
17 'chromevox2_guest_manifest', | 17 'chromevox2_guest_manifest', |
18 'chromevox2_resources', | 18 'chromevox2_resources', |
19 '../chromevox/chromevox.gyp:chromevox_resources', | 19 '../chromevox/chromevox.gyp:chromevox_resources', |
20 ], | 20 ], |
21 }, | 21 }, |
22 { | 22 { |
23 'target_name': 'chromevox2_copied_scripts', | 23 'target_name': 'chromevox2_copied_scripts', |
24 'type': 'none', | 24 'type': 'none', |
25 'variables': { | 25 'variables': { |
26 'dest_dir': '<(chromevox_dest_dir)', | 26 'dest_dir': '<(chromevox_dest_dir)', |
27 'js_root_flags': [ | |
28 '-r', '.', | |
29 '-r', '<(closure_goog_dir)', | |
30 ], | |
31 }, | 27 }, |
32 'sources': [ | 28 'sources': [ |
33 'cvox2/background/loader.js', | 29 'cvox2/background/loader.js', |
34 ], | 30 ], |
35 'includes': [ '../chromevox/copy_js.gypi', ], | 31 'includes': [ '../chromevox/copy_js.gypi', ], |
36 }, | 32 }, |
37 { | 33 { |
38 'target_name': 'chromevox2_deps', | 34 'target_name': 'chromevox2_deps', |
39 'type': 'none', | 35 'type': 'none', |
40 'variables': { | 36 'variables': { |
(...skipping 30 matching lines...) Expand all Loading... |
71 'variables': { | 67 'variables': { |
72 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', | 68 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', |
73 'is_guest_manifest': 1, | 69 'is_guest_manifest': 1, |
74 }, | 70 }, |
75 'includes': [ '../chromevox/generate_manifest.gypi', ], | 71 'includes': [ '../chromevox/generate_manifest.gypi', ], |
76 }, | 72 }, |
77 ], | 73 ], |
78 }], | 74 }], |
79 ], | 75 ], |
80 } | 76 } |
OLD | NEW |