| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 'target_name': 'chromevox_third_party_resources', | 10 'target_name': 'chromevox_third_party_resources', |
| 11 'type': 'none', | 11 'type': 'none', |
| 12 'copies': [ | 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 # TODO(plundblad): Some of these css files are forks of | 13 # TODO(plundblad): Some of these css files are forks of |
| 23 # cs from Chrome's web ui. Consider consolidating those. | 14 # cs from Chrome's web ui. Consider consolidating those. |
| 24 { | 15 { |
| 25 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chrome
vox/background', | 16 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chrome
vox/background', |
| 26 'files': [ | 17 'files': [ |
| 27 'chromevox/background/chrome_shared2.css', | 18 'chromevox/background/chrome_shared2.css', |
| 28 'chromevox/background/options.css', | 19 'chromevox/background/options.css', |
| 29 'chromevox/background/options_widgets.css', | 20 'chromevox/background/options_widgets.css', |
| 30 ], | 21 ], |
| 31 }, | 22 }, |
| 32 { | 23 { |
| 33 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chrome
vox/injected', | 24 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chrome
vox/injected', |
| 34 'files': [ | 25 'files': [ |
| 35 'chromevox/injected/mathjax_external_util.js', | 26 'chromevox/injected/mathjax_external_util.js', |
| 36 'chromevox/injected/mathjax.js', | 27 'chromevox/injected/mathjax.js', |
| 37 ], | 28 ], |
| 38 }, | 29 }, |
| 39 { | 30 { |
| 40 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/closur
e', | |
| 41 'files': [ | |
| 42 'third_party/closure-library/closure/goog/base.js', | |
| 43 ], | |
| 44 }, | |
| 45 { | |
| 46 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/', | 31 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/', |
| 47 'files': [ | 32 'files': [ |
| 48 '_locales/', | 33 '_locales/', |
| 49 ], | 34 ], |
| 50 }, | 35 }, |
| 51 ], | 36 ], |
| 37 'conditions': [ |
| 38 ['use_migrated_chromevox==0', { |
| 39 'copies': [ |
| 40 { |
| 41 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox', |
| 42 'files': [ |
| 43 'chromeVoxChromeBackgroundScript.js', |
| 44 'chromeVoxChromeOptionsScript.js', |
| 45 'chromeVoxChromePageScript.js', |
| 46 'chromeVoxKbExplorerScript.js', |
| 47 ], |
| 48 }, |
| 49 ], |
| 50 }], |
| 51 ], |
| 52 }, | 52 }, |
| 53 ], | 53 ], |
| 54 }], | 54 }], |
| 55 ], | 55 ], |
| 56 } | 56 } |
| OLD | NEW |