| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 }], # mac_breakpad_compiled_in | 507 }], # mac_breakpad_compiled_in |
| 508 ['mac_keystone==1', { | 508 ['mac_keystone==1', { |
| 509 'mac_bundle_resources': [ | 509 'mac_bundle_resources': [ |
| 510 'browser/mac/keystone_promote_preflight.sh', | 510 'browser/mac/keystone_promote_preflight.sh', |
| 511 'browser/mac/keystone_promote_postflight.sh', | 511 'browser/mac/keystone_promote_postflight.sh', |
| 512 ], | 512 ], |
| 513 'postbuilds': [ | 513 'postbuilds': [ |
| 514 { | 514 { |
| 515 'postbuild_name': 'Copy KeystoneRegistration.framework', | 515 'postbuild_name': 'Copy KeystoneRegistration.framework', |
| 516 'action': [ | 516 'action': [ |
| 517 'tools/build/mac/copy_framework_unversioned', | 517 '../build/mac/copy_framework_unversioned.sh', |
| 518 '../third_party/googlemac/Releases/Keystone/KeystoneRegi
stration.framework', | 518 '../third_party/googlemac/Releases/Keystone/KeystoneRegi
stration.framework', |
| 519 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Framework
s', | 519 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Framework
s', |
| 520 ], | 520 ], |
| 521 }, | 521 }, |
| 522 { | 522 { |
| 523 'postbuild_name': 'Symlink Frameworks', | 523 'postbuild_name': 'Symlink Frameworks', |
| 524 'action': [ | 524 'action': [ |
| 525 'ln', | 525 'ln', |
| 526 '-fhs', | 526 '-fhs', |
| 527 'Versions/Current/Frameworks', | 527 'Versions/Current/Frameworks', |
| 528 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' | 528 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' |
| 529 ], | 529 ], |
| 530 }, | 530 }, |
| 531 ], | 531 ], |
| 532 }], # mac_keystone | 532 }], # mac_keystone |
| 533 ['internal_pdf', { | 533 ['internal_pdf', { |
| 534 'dependencies': [ | 534 'dependencies': [ |
| 535 '../pdf/pdf.gyp:pdf', | 535 '../pdf/pdf.gyp:pdf', |
| 536 ], | 536 ], |
| 537 }], | 537 }], |
| 538 ], # conditions | 538 ], # conditions |
| 539 }], # OS=="mac" | 539 }], # OS=="mac" |
| 540 ], # conditions | 540 ], # conditions |
| 541 }, # target chrome_dll | 541 }, # target chrome_dll |
| 542 ], # targets | 542 ], # targets |
| 543 }], # OS=="mac" or OS=="win" | 543 }], # OS=="mac" or OS=="win" |
| 544 ], | 544 ], |
| 545 } | 545 } |
| OLD | NEW |