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 'conditions': [ | 5 'conditions': [ |
6 ['OS=="mac" or OS=="win"', { | 6 ['OS=="mac" or OS=="win"', { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'chrome_dll', | 9 'target_name': 'chrome_dll', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 # See tools/build/mac/copy_framework_unversioned for | 197 # See tools/build/mac/copy_framework_unversioned for |
198 # information on LD_DYLIB_INSTALL_NAME. | 198 # information on LD_DYLIB_INSTALL_NAME. |
199 'LD_DYLIB_INSTALL_NAME': | 199 'LD_DYLIB_INSTALL_NAME': |
200 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/
$(PRODUCT_NAME)', | 200 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/
$(PRODUCT_NAME)', |
201 | 201 |
202 'INFOPLIST_FILE': 'app/framework-Info.plist', | 202 'INFOPLIST_FILE': 'app/framework-Info.plist', |
203 | 203 |
204 # Define the order of symbols within the framework. This | 204 # Define the order of symbols within the framework. This |
205 # sets -order_file. | 205 # sets -order_file. |
206 'ORDER_FILE': 'app/framework.order', | 206 'ORDER_FILE': 'app/framework.order', |
| 207 |
| 208 # Hide symbols that shouldn't be exported. |
| 209 'UNEXPORTED_SYMBOLS_FILE': 'app/unexported_symbols.exp', |
207 }, | 210 }, |
208 'sources': [ | 211 'sources': [ |
209 'app/chrome_command_ids.h', | 212 'app/chrome_command_ids.h', |
210 'app/chrome_dll_resource.h', | 213 'app/chrome_dll_resource.h', |
211 'app/chrome_main.cc', | 214 'app/chrome_main.cc', |
212 'app/chrome_main_delegate.cc', | 215 'app/chrome_main_delegate.cc', |
213 'app/chrome_main_delegate.h', | 216 'app/chrome_main_delegate.h', |
214 'app/chrome_main_app_mode_mac.mm', | 217 'app/chrome_main_app_mode_mac.mm', |
215 'app/chrome_main_mac.mm', | 218 'app/chrome_main_mac.mm', |
216 'app/chrome_main_mac.h', | 219 'app/chrome_main_mac.h', |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 }], # mac_breakpad_compiled_in | 504 }], # mac_breakpad_compiled_in |
502 ['mac_keystone==1', { | 505 ['mac_keystone==1', { |
503 'mac_bundle_resources': [ | 506 'mac_bundle_resources': [ |
504 'browser/mac/keystone_promote_preflight.sh', | 507 'browser/mac/keystone_promote_preflight.sh', |
505 'browser/mac/keystone_promote_postflight.sh', | 508 'browser/mac/keystone_promote_postflight.sh', |
506 ], | 509 ], |
507 'postbuilds': [ | 510 'postbuilds': [ |
508 { | 511 { |
509 'postbuild_name': 'Copy KeystoneRegistration.framework', | 512 'postbuild_name': 'Copy KeystoneRegistration.framework', |
510 'action': [ | 513 'action': [ |
511 'tools/build/mac/copy_framework_unversioned', | 514 '../build/mac/copy_framework_unversioned', |
512 '../third_party/googlemac/Releases/Keystone/KeystoneRegi
stration.framework', | 515 '../third_party/googlemac/Releases/Keystone/KeystoneRegi
stration.framework', |
513 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Framework
s', | 516 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Framework
s', |
514 ], | 517 ], |
515 }, | 518 }, |
516 { | 519 { |
517 'postbuild_name': 'Symlink Frameworks', | 520 'postbuild_name': 'Symlink Frameworks', |
518 'action': [ | 521 'action': [ |
519 'ln', | 522 'ln', |
520 '-fhs', | 523 '-fhs', |
521 'Versions/Current/Frameworks', | 524 'Versions/Current/Frameworks', |
522 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' | 525 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' |
523 ], | 526 ], |
524 }, | 527 }, |
525 ], | 528 ], |
526 }], # mac_keystone | 529 }], # mac_keystone |
527 ['internal_pdf', { | 530 ['internal_pdf', { |
528 'dependencies': [ | 531 'dependencies': [ |
529 '../pdf/pdf.gyp:pdf', | 532 '../pdf/pdf.gyp:pdf', |
530 ], | 533 ], |
531 }], | 534 }], |
532 ], # conditions | 535 ], # conditions |
533 }], # OS=="mac" | 536 }], # OS=="mac" |
534 ], # conditions | 537 ], # conditions |
535 }, # target chrome_dll | 538 }, # target chrome_dll |
536 ], # targets | 539 ], # targets |
537 }], # OS=="mac" or OS=="win" | 540 }], # OS=="mac" or OS=="win" |
538 ], | 541 ], |
539 } | 542 } |
OLD | NEW |