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 'libpeer_target_type%': 'static_library', | |
105 'theme_dir_name': '<(branding_path_component)', | 104 'theme_dir_name': '<(branding_path_component)', |
106 }, | 105 }, |
107 'postbuilds': [ | 106 'postbuilds': [ |
108 { | 107 { |
109 # Modify the Info.plist as needed. The script explains why | 108 # Modify the Info.plist as needed. The script explains why |
110 # this is needed. This is also done in the chrome target. | 109 # this is needed. This is also done in the chrome target. |
111 # The framework needs the Breakpad keys if this feature is | 110 # The framework needs the Breakpad keys if this feature is |
112 # enabled. It does not need the Keystone keys; these always | 111 # enabled. It does not need the Keystone keys; these always |
113 # come from the outer application bundle. The framework | 112 # come from the outer application bundle. The framework |
114 # doesn't currently use the SCM keys for anything, | 113 # doesn't currently use the SCM keys for anything, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 '${BUILT_PRODUCTS_DIR}/resources/inspector', | 263 '${BUILT_PRODUCTS_DIR}/resources/inspector', |
265 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', | 264 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', |
266 ], | 265 ], |
267 }], | 266 }], |
268 }], | 267 }], |
269 ['enable_hidpi==1', { | 268 ['enable_hidpi==1', { |
270 'mac_bundle_resources': [ | 269 'mac_bundle_resources': [ |
271 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', | 270 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', |
272 ], | 271 ], |
273 }], | 272 }], |
274 ['enable_webrtc==1 and libpeer_target_type!="static_library"', { | |
275 'copies': [{ | |
276 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | |
277 'files': [ | |
278 '<(PRODUCT_DIR)/libpeerconnection.so', | |
279 ], | |
280 }], | |
281 }], | |
282 ['icu_use_data_file_flag==1', { | 273 ['icu_use_data_file_flag==1', { |
283 'mac_bundle_resources': [ | 274 'mac_bundle_resources': [ |
284 '<(PRODUCT_DIR)/icudtl.dat', | 275 '<(PRODUCT_DIR)/icudtl.dat', |
285 ], | 276 ], |
286 }], | 277 }], |
287 ['v8_use_external_startup_data==1', { | 278 ['v8_use_external_startup_data==1', { |
288 'mac_bundle_resources': [ | 279 'mac_bundle_resources': [ |
289 '<(PRODUCT_DIR)/natives_blob.bin', | 280 '<(PRODUCT_DIR)/natives_blob.bin', |
290 '<(PRODUCT_DIR)/snapshot_blob.bin', | 281 '<(PRODUCT_DIR)/snapshot_blob.bin', |
291 ], | 282 ], |
292 }], | 283 }], |
293 ], # conditions | 284 ], # conditions |
294 } | 285 } |
OLD | NEW |