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

Unified Diff: chrome/chrome.gyp

Issue 113911: gyp file for pdfsqueeze... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« no previous file with comments | « build/temp_gyp/pdfsqueeze.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 16985)
+++ chrome/chrome.gyp (working copy)
@@ -2032,15 +2032,15 @@
'app/nibs/en.lproj/TabContents.xib',
'app/nibs/en.lproj/TabView.xib',
'app/nibs/en.lproj/Toolbar.xib',
- 'app/theme/back.pdf',
- 'app/theme/close_bar.pdf',
- 'app/theme/close_bar_h.pdf',
- 'app/theme/close_bar_p.pdf',
- 'app/theme/forward.pdf',
- 'app/theme/go.pdf',
+ #'app/theme/back.pdf',
+ #'app/theme/close_bar.pdf',
+ #'app/theme/close_bar_h.pdf',
+ #'app/theme/close_bar_p.pdf',
+ #'app/theme/forward.pdf',
+ #'app/theme/go.pdf',
'app/theme/grow_box.png',
- 'app/theme/nav.pdf',
- 'app/theme/newtab.pdf',
+ #'app/theme/nav.pdf',
+ #'app/theme/newtab.pdf',
'app/theme/o2_globe.png',
'app/theme/o2_history.png',
'app/theme/o2_more.png',
@@ -2048,9 +2048,9 @@
'app/theme/o2_star.png',
'app/theme/reload.pdf',
'app/theme/sadtab.png',
- 'app/theme/star.pdf',
- 'app/theme/starred.pdf',
- 'app/theme/stop.pdf',
+ #'app/theme/star.pdf',
+ #'app/theme/starred.pdf',
+ #'app/theme/stop.pdf',
'../app/resources/throbber.png',
'app/theme/throbber_waiting.png',
'app/app-Info.plist',
@@ -2180,6 +2180,38 @@
'CHROMIUM_BUNDLE_ID': '<(bundle_id)',
'CHROMIUM_SHORT_NAME': '<(branding)',
},
+ # Bring in pdfsqueeze and run it on all pdfs
+ 'sources': [
+ 'app/theme/back.pdf',
+ 'app/theme/close_bar.pdf',
+ 'app/theme/close_bar_h.pdf',
+ 'app/theme/close_bar_p.pdf',
+ 'app/theme/forward.pdf',
+ 'app/theme/go.pdf',
+ 'app/theme/nav.pdf',
+ 'app/theme/newtab.pdf',
+ 'app/theme/star.pdf',
+ 'app/theme/starred.pdf',
+ 'app/theme/stop.pdf',
+ ],
+ 'dependencies': [
+ '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze',
+ ],
+ 'rules': [
+ {
+ 'rule_name': 'pdfsqueeze',
+ 'extension': 'pdf',
+ 'inputs': [
+ '<(PRODUCT_DIR)/pdfsqueeze',
+ ],
+ 'outputs': [
+ '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf',
+ ],
+ 'action': ['<(PRODUCT_DIR)/pdfsqueeze', '<(RULE_INPUT_PATH)', '<@(_outputs)'],
+ 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)',
+ 'process_outputs_as_mac_bundle_resources': 1,
+ },
+ ],
}, { # else: OS != "mac"
'conditions': [
['branding=="Chrome"', {
« no previous file with comments | « build/temp_gyp/pdfsqueeze.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698