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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 # and minor version numbers. These settings correspond to | 187 # and minor version numbers. These settings correspond to |
188 # -compatibility_version and -current_version. | 188 # -compatibility_version and -current_version. |
189 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)', | 189 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)', |
190 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)', | 190 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)', |
191 | 191 |
192 # The framework is placed within the .app's versioned | 192 # The framework is placed within the .app's versioned |
193 # directory. DYLIB_INSTALL_NAME_BASE and | 193 # directory. DYLIB_INSTALL_NAME_BASE and |
194 # LD_DYLIB_INSTALL_NAME affect -install_name. | 194 # LD_DYLIB_INSTALL_NAME affect -install_name. |
195 'DYLIB_INSTALL_NAME_BASE': | 195 'DYLIB_INSTALL_NAME_BASE': |
196 '@executable_path/../Versions/<(version_full)', | 196 '@executable_path/../Versions/<(version_full)', |
197 # See tools/build/mac/copy_framework_unversioned for | 197 # See /build/mac/copy_framework_unversioned.sh 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 }, | 207 }, |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 }], # mac_breakpad_compiled_in | 501 }], # mac_breakpad_compiled_in |
502 ['mac_keystone==1', { | 502 ['mac_keystone==1', { |
503 'mac_bundle_resources': [ | 503 'mac_bundle_resources': [ |
504 'browser/mac/keystone_promote_preflight.sh', | 504 'browser/mac/keystone_promote_preflight.sh', |
505 'browser/mac/keystone_promote_postflight.sh', | 505 'browser/mac/keystone_promote_postflight.sh', |
506 ], | 506 ], |
507 'postbuilds': [ | 507 'postbuilds': [ |
508 { | 508 { |
509 'postbuild_name': 'Copy KeystoneRegistration.framework', | 509 'postbuild_name': 'Copy KeystoneRegistration.framework', |
510 'action': [ | 510 'action': [ |
511 'tools/build/mac/copy_framework_unversioned', | 511 '../build/mac/copy_framework_unversioned.sh', |
512 '../third_party/googlemac/Releases/Keystone/KeystoneRegi
stration.framework', | 512 '../third_party/googlemac/Releases/Keystone/KeystoneRegi
stration.framework', |
513 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Framework
s', | 513 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Framework
s', |
514 ], | 514 ], |
515 }, | 515 }, |
516 { | 516 { |
517 'postbuild_name': 'Symlink Frameworks', | 517 'postbuild_name': 'Symlink Frameworks', |
518 'action': [ | 518 'action': [ |
519 'ln', | 519 'ln', |
520 '-fhs', | 520 '-fhs', |
521 'Versions/Current/Frameworks', | 521 'Versions/Current/Frameworks', |
522 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' | 522 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' |
523 ], | 523 ], |
524 }, | 524 }, |
525 ], | 525 ], |
526 }], # mac_keystone | 526 }], # mac_keystone |
527 ['internal_pdf', { | 527 ['internal_pdf', { |
528 'dependencies': [ | 528 'dependencies': [ |
529 '../pdf/pdf.gyp:pdf', | 529 '../pdf/pdf.gyp:pdf', |
530 ], | 530 ], |
531 }], | 531 }], |
532 ], # conditions | 532 ], # conditions |
533 }], # OS=="mac" | 533 }], # OS=="mac" |
534 ], # conditions | 534 ], # conditions |
535 }, # target chrome_dll | 535 }, # target chrome_dll |
536 ], # targets | 536 ], # targets |
537 }], # OS=="mac" or OS=="win" | 537 }], # OS=="mac" or OS=="win" |
538 ], | 538 ], |
539 } | 539 } |
OLD | NEW |