• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2013 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      'targets': [
9        {
10          'target_name': 'chromevox_resources',
11          'type': 'none',
12          'copies': [
13            {
14              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox',
15              'files': [
16                'chromeVoxChromeBackgroundScript.js',
17                'chromeVoxChromeOptionsScript.js',
18                'chromeVoxChromePageScript.js',
19                'chromeVoxKbExplorerScript.js',
20              ],
21            },
22            {
23              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chromevox',
24              'files': [
25                'chromevox/chromevox-128.png',
26                'chromevox/chromevox-16.png',
27                'chromevox/chromevox-19.png',
28                'chromevox/chromevox-48.png',
29              ],
30            },
31            {
32              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chromevox/background',
33              'files': [
34                'chromevox/background/background.html',
35                'chromevox/background/chrome_shared2.css',
36                'chromevox/background/kbexplorer.html',
37                'chromevox/background/options.css',
38                'chromevox/background/options.html',
39                'chromevox/background/options_widgets.css',
40              ],
41            },
42            {
43              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chromevox/background/earcons',
44              'files': [
45                'chromevox/background/earcons/alert_modal.ogg',
46                'chromevox/background/earcons/alert_nonmodal.ogg',
47                'chromevox/background/earcons/bullet.ogg',
48                'chromevox/background/earcons/busy_progress_loop.ogg',
49                'chromevox/background/earcons/busy_working_loop.ogg',
50                'chromevox/background/earcons/button.ogg',
51                'chromevox/background/earcons/chalk.ogg',
52                'chromevox/background/earcons/check_off.ogg',
53                'chromevox/background/earcons/check_on.ogg',
54                'chromevox/background/earcons/collapsed.ogg',
55                'chromevox/background/earcons/editable_text.ogg',
56                'chromevox/background/earcons/ellipsis.ogg',
57                'chromevox/background/earcons/expanded.ogg',
58                'chromevox/background/earcons/font_change.ogg',
59                'chromevox/background/earcons/invalid_keypress.ogg',
60                'chromevox/background/earcons/link.ogg',
61                'chromevox/background/earcons/listbox.ogg',
62                'chromevox/background/earcons/long_desc.ogg',
63                'chromevox/background/earcons/new_mail.ogg',
64                'chromevox/background/earcons/object_close.ogg',
65                'chromevox/background/earcons/object_delete.ogg',
66                'chromevox/background/earcons/object_deselect.ogg',
67                'chromevox/background/earcons/object_enter.ogg',
68                'chromevox/background/earcons/object_exit.ogg',
69                'chromevox/background/earcons/object_open.ogg',
70                'chromevox/background/earcons/object_select.ogg',
71                'chromevox/background/earcons/paragraph_break.ogg',
72                'chromevox/background/earcons/scrolling.ogg',
73                'chromevox/background/earcons/scrolling_reverse.ogg',
74                'chromevox/background/earcons/search_hit.ogg',
75                'chromevox/background/earcons/search_miss.ogg',
76                'chromevox/background/earcons/section.ogg',
77                'chromevox/background/earcons/selection.ogg',
78                'chromevox/background/earcons/selection_reverse.ogg',
79                'chromevox/background/earcons/special_content.ogg',
80                'chromevox/background/earcons/task_success.ogg',
81                'chromevox/background/earcons/wrap_edge.ogg',
82                'chromevox/background/earcons/wrap.ogg',
83              ],
84            },
85            {
86              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chromevox/background/keymaps',
87              'files': [
88                'chromevox/background/keymaps/classic_keymap.json',
89                'chromevox/background/keymaps/experimental.json',
90                'chromevox/background/keymaps/flat_keymap.json',
91              ],
92            },
93            {
94              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chromevox/background/',
95              'files': [
96                'chromevox/background/mathmaps/',
97              ],
98            },
99            {
100              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chromevox/injected',
101              'files': [
102                'chromevox/injected/api.js',
103                'chromevox/injected/api_util.js',
104                'chromevox/injected/mathjax_external_util.js',
105                'chromevox/injected/mathjax.js',
106              ],
107            },
108            {
109              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/closure',
110              'files': [
111                'closure/base.js',
112                'closure/closure_preinit.js',
113              ],
114            },
115            {
116              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/extensions/searchbox',
117              'files': [
118                'extensions/searchvox/abstract_result.js',
119                'extensions/searchvox/constants.js',
120                'extensions/searchvox/context_menu.js',
121                'extensions/searchvox/results.js',
122                'extensions/searchvox/search.js',
123                'extensions/searchvox/search_tools.js',
124                'extensions/searchvox/util.js',
125              ],
126            },
127            {
128              'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/',
129              'files': [
130                '_locales/',
131              ],
132            },
133          ],
134          'dependencies': [
135            '../../../third_party/liblouis/liblouis_untrusted.gyp:liblouis_nacl_wrapper_untrusted',
136          ],
137        },
138      ],
139    }],
140  ],
141}
142