Chromium Code Reviews| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 'app/theme/menu_overflow_down.pdf', | 61 'app/theme/menu_overflow_down.pdf', |
| 62 'app/theme/menu_overflow_up.pdf', | 62 'app/theme/menu_overflow_up.pdf', |
| 63 'browser/mac/install.sh', | 63 'browser/mac/install.sh', |
| 64 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', | 64 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', |
| 65 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', | 65 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', |
| 66 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_ INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', | 66 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_ INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', |
| 67 # Note: pseudo_locales are generated via the packed_resources | 67 # Note: pseudo_locales are generated via the packed_resources |
| 68 # dependency but not copied to the final target. See | 68 # dependency but not copied to the final target. See |
| 69 # common.gypi for more info. | 69 # common.gypi for more info. |
| 70 ], | 70 ], |
| 71 'conditions': [ | |
| 72 ['icu_use_data_file_flag', { | |
|
Mark Mentovai
2013/12/18 19:04:04
It’s more usual to write
icu_use_data_file_flag
jungshik at Google
2013/12/18 19:53:19
will do
| |
| 73 'mac_bundle_resources': [ | |
| 74 '<(DEPTH)/third_party/icu/source/data/in/icudtl.dat', | |
|
Mark Mentovai
2013/12/18 19:04:04
Did you have something else copy the data file to
jungshik at Google
2013/12/18 19:53:19
There's a mac_bundle_resources {} right above my a
| |
| 75 ], | |
| 76 }], | |
| 77 ], | |
| 71 'mac_bundle_resources!': [ | 78 'mac_bundle_resources!': [ |
| 72 'app/framework-Info.plist', | 79 'app/framework-Info.plist', |
| 73 ], | 80 ], |
| 74 'dependencies': [ | 81 'dependencies': [ |
| 75 'app_mode_app', | 82 'app_mode_app', |
| 76 # Bring in pdfsqueeze and run it on all pdfs | 83 # Bring in pdfsqueeze and run it on all pdfs |
| 77 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 84 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| 78 '../crypto/crypto.gyp:crypto', | 85 '../crypto/crypto.gyp:crypto', |
| 79 # On Mac, Flash gets put into the framework, so we need this | 86 # On Mac, Flash gets put into the framework, so we need this |
| 80 # dependency here. flash_player.gyp will copy the Flash bundle | 87 # dependency here. flash_player.gyp will copy the Flash bundle |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 211 ], | 218 ], |
| 212 }, | 219 }, |
| 213 { | 220 { |
| 214 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/resources', | 221 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/resources', |
| 215 'files': [ | 222 'files': [ |
| 216 # Loader bundle for platform apps. | 223 # Loader bundle for platform apps. |
| 217 '<(PRODUCT_DIR)/app_mode_loader.app', | 224 '<(PRODUCT_DIR)/app_mode_loader.app', |
| 218 ], | 225 ], |
| 219 }, | 226 }, |
| 220 ], | 227 ], |
| 221 'conditions': [ | 228 'conditions': [ |
|
Mark Mentovai
2013/12/18 20:02:57
This overwrites the “conditions” block on line 71.
| |
| 222 ['branding=="Chrome"', { | 229 ['branding=="Chrome"', { |
| 223 'copies': [ | 230 'copies': [ |
| 224 { | 231 { |
| 225 # This location is for the Mac build. Note that the | 232 # This location is for the Mac build. Note that the |
| 226 # copying of these files for Windows and Linux is handled | 233 # copying of these files for Windows and Linux is handled |
| 227 # in chrome.gyp, as Mac needs to be dropped inside the | 234 # in chrome.gyp, as Mac needs to be dropped inside the |
| 228 # framework. | 235 # framework. |
| 229 'destination': | 236 'destination': |
| 230 '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Default Apps', | 237 '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Default Apps', |
| 231 'files': ['<@(default_apps_list)'], | 238 'files': ['<@(default_apps_list)'], |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 303 ['enable_webrtc==1 and libpeer_target_type!="static_library"', { | 310 ['enable_webrtc==1 and libpeer_target_type!="static_library"', { |
| 304 'copies': [{ | 311 'copies': [{ |
| 305 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 312 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
| 306 'files': [ | 313 'files': [ |
| 307 '<(PRODUCT_DIR)/libpeerconnection.so', | 314 '<(PRODUCT_DIR)/libpeerconnection.so', |
| 308 ], | 315 ], |
| 309 }], | 316 }], |
| 310 }], | 317 }], |
| 311 ], # conditions | 318 ], # conditions |
| 312 } | 319 } |
| OLD | NEW |