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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox.gyp

Issue 584313003: Enable runtime switching between ChromeVox and ChromeVox next via command line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make changes to exclude files/paths from webstore release. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/chromevox.gyp
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox.gyp b/chrome/browser/resources/chromeos/chromevox/chromevox.gyp
index 635535627a43c5998f564e3edbc04476ecf9f125..2903d7a45b53f04f8ffc88b9275e93f400e5a908 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox.gyp
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox.gyp
@@ -26,6 +26,7 @@
'chromevox_resources',
'chromevox_manifest',
'chromevox_guest_manifest',
+ 'chromevox2',
],
},
{
@@ -140,6 +141,70 @@
},
],
},
+ {
+ 'target_name': 'chromevox2',
+ 'type': 'none',
+ 'dependencies': [
+ 'chromevox2_copied_scripts',
+ 'chromevox2_deps',
+ 'chromevox2_manifest',
+ 'chromevox2_guest_manifest',
+ 'chromevox2_resources',
+ ],
+ },
+ {
+ 'target_name': 'chromevox2_copied_scripts',
+ 'type': 'none',
+ 'variables': {
+ 'dest_dir': '<(chromevox_dest_dir)',
+ },
+ 'sources': [
+ 'cvox2/background/loader.js',
+ ],
+ 'includes': [ 'copy_js.gypi', ],
+ },
+ {
+ 'target_name': 'chromevox2_deps',
+ 'type': 'none',
+ 'variables': {
+ 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js',
+ },
+ 'sources': [
+ 'cvox2/background/loader.js',
+ ],
+ 'includes': ['generate_deps.gypi'],
+ },
+ {
+ 'target_name': 'chromevox2_resources',
+ 'type': 'none',
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/chromeos/chromevox/cvox2/background',
+ 'files': [
+ 'cvox2/background/background.html',
+ ],
+ },
+ ],
+ },
+ {
+ 'target_name': 'chromevox2_manifest',
+ 'type': 'none',
+ 'variables': {
+ 'output_manifest_path': '<(chromevox_dest_dir)/manifest_next.json',
+'use_chromevox_next': 1,
+ },
+ 'includes': [ 'generate_manifest.gypi', ],
+ },
+ {
+ 'target_name': 'chromevox2_guest_manifest',
+ 'type': 'none',
+ 'variables': {
+ 'output_manifest_path': '<(chromevox_dest_dir)/manifest_next_guest.json',
+ 'is_guest_manifest': 1,
+ 'use_chromevox_next': 1,
+ },
+ 'includes': [ 'generate_manifest.gypi', ],
+ },
],
'conditions': [
['use_migrated_chromevox==1 and chromevox_compress_js==1', {

Powered by Google App Engine
This is Rietveld 408576698