OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'conditions': [ | |
7 ['chromeos==1 and disable_nacl==0 and disable_nacl_untrusted==0', { | |
8 'includes': [ '../chromevox/common.gypi', ], | |
9 'targets': [ | |
10 { | |
11 'target_name': 'chromevox2', | |
12 'type': 'none', | |
13 'dependencies': [ | |
14 'chromevox2_copied_scripts', | |
15 'chromevox2_deps', | |
16 'chromevox2_manifest', | |
17 'chromevox2_guest_manifest', | |
18 'chromevox2_resources', | |
19 '../chromevox/chromevox.gyp:chromevox_resources', | |
20 ], | |
21 }, | |
22 { | |
23 'target_name': 'chromevox2_copied_scripts', | |
24 'type': 'none', | |
25 'variables': { | |
26 'dest_dir': '<(chromevox_dest_dir)', | |
27 }, | |
28 'sources': [ | |
29 'cvox2/background/loader.js', | |
30 ], | |
31 'includes': [ '../chromevox/copy_js.gypi', ], | |
32 }, | |
33 { | |
34 'target_name': 'chromevox2_deps', | |
35 'type': 'none', | |
36 'variables': { | |
37 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js', | |
38 }, | |
39 'sources': [ | |
40 'cvox2/background/loader.js', | |
41 ], | |
42 'includes': ['../chromevox/generate_deps.gypi'], | |
43 }, | |
44 { | |
45 'target_name': 'chromevox2_resources', | |
46 'type': 'none', | |
47 'copies': [ | |
48 { | |
49 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/cvox2/
background', | |
50 'files': [ | |
51 'cvox2/background/background.html', | |
52 ], | |
53 }, | |
54 ], | |
55 }, | |
56 { | |
57 'target_name': 'chromevox2_manifest', | |
58 'type': 'none', | |
59 'variables': { | |
60 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json' | |
61 }, | |
62 'includes': [ '../chromevox/generate_manifest.gypi', ], | |
63 }, | |
64 { | |
65 'target_name': 'chromevox2_guest_manifest', | |
66 'type': 'none', | |
67 'variables': { | |
68 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', | |
69 'is_guest_manifest': 1, | |
70 }, | |
71 'includes': [ '../chromevox/generate_manifest.gypi', ], | |
72 }, | |
73 ], | |
74 }], | |
75 ], | |
76 } | |
OLD | NEW |