| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
| 9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
| 10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
| (...skipping 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2108 'app/nibs/en.lproj/About.xib', | 2108 'app/nibs/en.lproj/About.xib', |
| 2109 'app/nibs/en.lproj/BrowserWindow.xib', | 2109 'app/nibs/en.lproj/BrowserWindow.xib', |
| 2110 'app/nibs/en.lproj/FindBar.xib', | 2110 'app/nibs/en.lproj/FindBar.xib', |
| 2111 'app/nibs/en.lproj/FirstRunDialog.xib', | 2111 'app/nibs/en.lproj/FirstRunDialog.xib', |
| 2112 'app/nibs/en.lproj/MainMenu.xib', | 2112 'app/nibs/en.lproj/MainMenu.xib', |
| 2113 'app/nibs/en.lproj/Preferences.xib', | 2113 'app/nibs/en.lproj/Preferences.xib', |
| 2114 'app/nibs/en.lproj/SaveAccessoryView.xib', | 2114 'app/nibs/en.lproj/SaveAccessoryView.xib', |
| 2115 'app/nibs/en.lproj/TabContents.xib', | 2115 'app/nibs/en.lproj/TabContents.xib', |
| 2116 'app/nibs/en.lproj/TabView.xib', | 2116 'app/nibs/en.lproj/TabView.xib', |
| 2117 'app/nibs/en.lproj/Toolbar.xib', | 2117 'app/nibs/en.lproj/Toolbar.xib', |
| 2118 'app/theme/back.pdf', |
| 2119 'app/theme/close_bar.pdf', |
| 2120 'app/theme/close_bar_h.pdf', |
| 2121 'app/theme/close_bar_p.pdf', |
| 2122 'app/theme/forward.pdf', |
| 2123 'app/theme/go.pdf', |
| 2118 'app/theme/grow_box.png', | 2124 'app/theme/grow_box.png', |
| 2125 'app/theme/nav.pdf', |
| 2126 'app/theme/newtab.pdf', |
| 2119 'app/theme/o2_globe.png', | 2127 'app/theme/o2_globe.png', |
| 2120 'app/theme/o2_history.png', | 2128 'app/theme/o2_history.png', |
| 2121 'app/theme/o2_more.png', | 2129 'app/theme/o2_more.png', |
| 2122 'app/theme/o2_search.png', | 2130 'app/theme/o2_search.png', |
| 2123 'app/theme/o2_star.png', | 2131 'app/theme/o2_star.png', |
| 2124 'app/theme/reload.pdf', | 2132 'app/theme/reload.pdf', |
| 2125 'app/theme/sadtab.png', | 2133 'app/theme/sadtab.png', |
| 2134 'app/theme/star.pdf', |
| 2135 'app/theme/starred.pdf', |
| 2136 'app/theme/stop.pdf', |
| 2126 '../app/resources/throbber.png', | 2137 '../app/resources/throbber.png', |
| 2127 'app/theme/throbber_waiting.png', | 2138 'app/theme/throbber_waiting.png', |
| 2128 'app/app-Info.plist', | 2139 'app/app-Info.plist', |
| 2129 ], | 2140 ], |
| 2130 # TODO(mark): Come up with a fancier way to do this. It should only | 2141 # TODO(mark): Come up with a fancier way to do this. It should only |
| 2131 # be necessary to list app-Info.plist once, not the three times it is | 2142 # be necessary to list app-Info.plist once, not the three times it is |
| 2132 # listed here. | 2143 # listed here. |
| 2133 'mac_bundle_resources!': [ | 2144 'mac_bundle_resources!': [ |
| 2134 'app/app-Info.plist', | 2145 'app/app-Info.plist', |
| 2135 ], | 2146 ], |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2225 'xcode_settings': { | 2236 'xcode_settings': { |
| 2226 # chrome/app/app-Info.plist has: | 2237 # chrome/app/app-Info.plist has: |
| 2227 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID | 2238 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID |
| 2228 # CFBundleName of CHROMIUM_SHORT_NAME | 2239 # CFBundleName of CHROMIUM_SHORT_NAME |
| 2229 # Xcode then replaces these values with the branded values we set | 2240 # Xcode then replaces these values with the branded values we set |
| 2230 # as settings on the target. | 2241 # as settings on the target. |
| 2231 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', | 2242 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', |
| 2232 'CHROMIUM_SHORT_NAME': '<(branding)', | 2243 'CHROMIUM_SHORT_NAME': '<(branding)', |
| 2233 }, | 2244 }, |
| 2234 # Bring in pdfsqueeze and run it on all pdfs | 2245 # Bring in pdfsqueeze and run it on all pdfs |
| 2235 'sources': [ | |
| 2236 'app/theme/back.pdf', | |
| 2237 'app/theme/close_bar.pdf', | |
| 2238 'app/theme/close_bar_h.pdf', | |
| 2239 'app/theme/close_bar_p.pdf', | |
| 2240 'app/theme/forward.pdf', | |
| 2241 'app/theme/go.pdf', | |
| 2242 'app/theme/nav.pdf', | |
| 2243 'app/theme/newtab.pdf', | |
| 2244 'app/theme/star.pdf', | |
| 2245 'app/theme/starred.pdf', | |
| 2246 'app/theme/stop.pdf', | |
| 2247 ], | |
| 2248 'dependencies': [ | 2246 'dependencies': [ |
| 2249 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 2247 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| 2250 ], | 2248 ], |
| 2251 'rules': [ | 2249 'rules': [ |
| 2252 { | 2250 { |
| 2253 'rule_name': 'pdfsqueeze', | 2251 'rule_name': 'pdfsqueeze', |
| 2254 'extension': 'pdf', | 2252 'extension': 'pdf', |
| 2255 'inputs': [ | 2253 'inputs': [ |
| 2256 '<(PRODUCT_DIR)/pdfsqueeze', | 2254 '<(PRODUCT_DIR)/pdfsqueeze', |
| 2257 ], | 2255 ], |
| 2258 'outputs': [ | 2256 'outputs': [ |
| 2259 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | 2257 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
| 2260 ], | 2258 ], |
| 2261 'action': ['<(PRODUCT_DIR)/pdfsqueeze', '<(RULE_INPUT_PATH)', '<@(
_outputs)'], | 2259 'action': ['<(PRODUCT_DIR)/pdfsqueeze', '<(RULE_INPUT_PATH)', '<@(
_outputs)'], |
| 2262 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', | 2260 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', |
| 2263 'process_outputs_as_mac_bundle_resources': 1, | |
| 2264 }, | 2261 }, |
| 2265 ], | 2262 ], |
| 2266 }, { # else: OS != "mac" | 2263 }, { # else: OS != "mac" |
| 2267 'conditions': [ | 2264 'conditions': [ |
| 2268 ['branding=="Chrome"', { | 2265 ['branding=="Chrome"', { |
| 2269 'product_name': 'chrome' | 2266 'product_name': 'chrome' |
| 2270 }, { # else: Branding!="Chrome" | 2267 }, { # else: Branding!="Chrome" |
| 2271 # TODO: change to: | 2268 # TODO: change to: |
| 2272 # 'product_name': 'chromium' | 2269 # 'product_name': 'chromium' |
| 2273 # whenever we convert the rest of the infrastructure | 2270 # whenever we convert the rest of the infrastructure |
| (...skipping 1910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4184 # Use outputs of this action as inputs for the main target build. | 4181 # Use outputs of this action as inputs for the main target build. |
| 4185 # Seems as a misnomer but makes this happy on Linux (scons). | 4182 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4186 'process_outputs_as_sources': 1, | 4183 'process_outputs_as_sources': 1, |
| 4187 }, | 4184 }, |
| 4188 ], # 'actions' | 4185 ], # 'actions' |
| 4189 }, | 4186 }, |
| 4190 ] | 4187 ] |
| 4191 }], | 4188 }], |
| 4192 ], # 'conditions' | 4189 ], # 'conditions' |
| 4193 } | 4190 } |
| OLD | NEW |