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

Unified Diff: ui/accessibility/extensions/accessibility_extensions.gyp

Issue 984833004: Add color enhancer as a chromium accessibility extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to 1.1.2 Created 5 years, 9 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: ui/accessibility/extensions/accessibility_extensions.gyp
diff --git a/ui/accessibility/extensions/accessibility_extensions.gyp b/ui/accessibility/extensions/accessibility_extensions.gyp
index d3aa0437aa25df6075adbed85440ed49dbdb4cb3..53aee54bb6277976242fc949889fa7e8a9d8e925 100644
--- a/ui/accessibility/extensions/accessibility_extensions.gyp
+++ b/ui/accessibility/extensions/accessibility_extensions.gyp
@@ -13,6 +13,7 @@
'dependencies': [
'alt',
'caretbrowsing',
+ 'colorenhancer',
'highcontrast',
'longdesc',
]
@@ -101,6 +102,41 @@
],
},
{
+ 'target_name': 'colorenhancer',
kevers 2015/03/09 13:56:59 Can you please add the GN build change as well.
Peter Wen 2015/03/09 21:35:56 Since there is no current BUILD.gn under accessibi
+ 'type': 'none',
+ 'copies': [
+ {
+ 'destination': '<(dest_dir)/colorenhancer',
+ 'files': [
+ 'colorenhancer/res/cvd-128.png',
+ 'colorenhancer/res/cvd-16.png',
+ 'colorenhancer/res/cvd-19.png',
+ 'colorenhancer/res/cvd-38.png',
+ 'colorenhancer/res/cvd-48.png',
+ 'colorenhancer/res/cvd.css',
+ 'colorenhancer/manifest.json',
+ 'colorenhancer/src/background.js',
+ 'colorenhancer/src/common.js',
+ 'colorenhancer/src/cvd.js',
+ 'colorenhancer/src/popup.html',
+ 'colorenhancer/src/popup.js',
+ ]
+ }
+ ],
+ 'actions': [
+ {
+ 'action_name': 'colorenhancer_strings',
+ 'variables': {
+ 'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
+ 'grit_out_dir': '<(dest_dir)/colorenhancer',
+ # We don't generate any RC files, so no resource_ds file is needed.
+ 'grit_resource_ids': '',
+ },
+ 'includes': [ '../../../build/grit_action.gypi' ],
+ },
+ ],
+ },
+ {
'target_name': 'highcontrast',
'type': 'none',
'copies': [

Powered by Google App Engine
This is Rietveld 408576698