OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # This file contains resources for the main Mac chromium bundle. | 5 # This file contains resources for the main Mac chromium bundle. |
6 { | 6 { |
7 # The main browser executable's name is <(mac_product_name). | 7 # The main browser executable's name is <(mac_product_name). |
8 # Certain things will get confused if two modules in the | 8 # Certain things will get confused if two modules in the |
9 # executable share the same name, so append " Framework" to the | 9 # executable share the same name, so append " Framework" to the |
10 # product_name used for the framework. This will result in | 10 # product_name used for the framework. This will result in |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 ], | 94 ], |
95 'outputs': [ | 95 'outputs': [ |
96 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | 96 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
97 ], | 97 ], |
98 'action': ['<(PRODUCT_DIR)/pdfsqueeze', | 98 'action': ['<(PRODUCT_DIR)/pdfsqueeze', |
99 '<(RULE_INPUT_PATH)', '<@(_outputs)'], | 99 '<(RULE_INPUT_PATH)', '<@(_outputs)'], |
100 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', | 100 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', |
101 }, | 101 }, |
102 ], | 102 ], |
103 'variables': { | 103 'variables': { |
104 'conditions': [ | |
105 ['branding=="Chrome"', { | |
106 'theme_dir_name': 'google_chrome', | |
107 }, { # else: 'branding!="Chrome" | |
108 'theme_dir_name': 'chromium', | |
109 }], | |
110 ], | |
111 'libpeer_target_type%': 'static_library', | 104 'libpeer_target_type%': 'static_library', |
| 105 'theme_dir_name': '<(branding_path_component)', |
112 }, | 106 }, |
113 'postbuilds': [ | 107 'postbuilds': [ |
114 { | 108 { |
115 # Modify the Info.plist as needed. The script explains why | 109 # Modify the Info.plist as needed. The script explains why |
116 # this is needed. This is also done in the chrome target. | 110 # this is needed. This is also done in the chrome target. |
117 # The framework needs the Breakpad keys if this feature is | 111 # The framework needs the Breakpad keys if this feature is |
118 # enabled. It does not need the Keystone keys; these always | 112 # enabled. It does not need the Keystone keys; these always |
119 # come from the outer application bundle. The framework | 113 # come from the outer application bundle. The framework |
120 # doesn't currently use the SCM keys for anything, | 114 # doesn't currently use the SCM keys for anything, |
121 # but this seems like a really good place to store them. | 115 # but this seems like a really good place to store them. |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 ], | 286 ], |
293 }], | 287 }], |
294 ['v8_use_external_startup_data==1', { | 288 ['v8_use_external_startup_data==1', { |
295 'mac_bundle_resources': [ | 289 'mac_bundle_resources': [ |
296 '<(PRODUCT_DIR)/natives_blob.bin', | 290 '<(PRODUCT_DIR)/natives_blob.bin', |
297 '<(PRODUCT_DIR)/snapshot_blob.bin', | 291 '<(PRODUCT_DIR)/snapshot_blob.bin', |
298 ], | 292 ], |
299 }], | 293 }], |
300 ], # conditions | 294 ], # conditions |
301 } | 295 } |
OLD | NEW |