| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'target_defaults': { | 5 'target_defaults': { |
| 6 'variables': { | 6 'variables': { |
| 7 'chrome_dll_target': 0, | 7 'chrome_dll_target': 0, |
| 8 }, | 8 }, |
| 9 'target_conditions': [ | 9 'target_conditions': [ |
| 10 ['chrome_dll_target==1', { | 10 ['chrome_dll_target==1', { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 # a name like "Chromium Framework.framework". | 137 # a name like "Chromium Framework.framework". |
| 138 'product_name': '<(mac_product_name) Framework', | 138 'product_name': '<(mac_product_name) Framework', |
| 139 'mac_bundle': 1, | 139 'mac_bundle': 1, |
| 140 'xcode_settings': { | 140 'xcode_settings': { |
| 141 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 141 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 142 | 142 |
| 143 # The dylib versions are of the form a[.b[.c]], where a is a | 143 # The dylib versions are of the form a[.b[.c]], where a is a |
| 144 # 16-bit unsigned integer, and b and c are 8-bit unsigned | 144 # 16-bit unsigned integer, and b and c are 8-bit unsigned |
| 145 # integers. Any missing component is taken to be 0. The | 145 # integers. Any missing component is taken to be 0. The |
| 146 # best mapping from product version numbers into this scheme | 146 # best mapping from product version numbers into this scheme |
| 147 # is to just use the build and patch numbers. There is no | 147 # is to just use a=BUILD, b=(PATCH/256), c=(PATCH%256). There |
| 148 # ambiguity in this scheme because the build number is | 148 # is no ambiguity in this scheme because the build and patch |
| 149 # guaranteed unique even across distinct major and minor | 149 # numbers are guaranteed unique even across distinct major |
| 150 # version numbers. These settings correspond to | 150 # and minor version numbers. These settings correspond to |
| 151 # -compatibility_version and -current_version. | 151 # -compatibility_version and -current_version. |
| 152 'DYLIB_COMPATIBILITY_VERSION': '<(version_build_patch)', | 152 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)', |
| 153 'DYLIB_CURRENT_VERSION': '<(version_build_patch)', | 153 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)', |
| 154 | 154 |
| 155 # The framework is placed within the .app's versioned | 155 # The framework is placed within the .app's versioned |
| 156 # directory. DYLIB_INSTALL_NAME_BASE and | 156 # directory. DYLIB_INSTALL_NAME_BASE and |
| 157 # LD_DYLIB_INSTALL_NAME affect -install_name. | 157 # LD_DYLIB_INSTALL_NAME affect -install_name. |
| 158 'DYLIB_INSTALL_NAME_BASE': | 158 'DYLIB_INSTALL_NAME_BASE': |
| 159 '@executable_path/../Versions/<(version_full)', | 159 '@executable_path/../Versions/<(version_full)', |
| 160 # See tools/build/mac/copy_framework_unversioned for | 160 # See tools/build/mac/copy_framework_unversioned for |
| 161 # information on LD_DYLIB_INSTALL_NAME. | 161 # information on LD_DYLIB_INSTALL_NAME. |
| 162 'LD_DYLIB_INSTALL_NAME': | 162 'LD_DYLIB_INSTALL_NAME': |
| 163 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/
$(PRODUCT_NAME)', | 163 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/
$(PRODUCT_NAME)', |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 'configurations': { | 530 'configurations': { |
| 531 'Common_Base': { | 531 'Common_Base': { |
| 532 'msvs_target_platform': 'x64', | 532 'msvs_target_platform': 'x64', |
| 533 }, | 533 }, |
| 534 }, | 534 }, |
| 535 }, # target chrome_dll | 535 }, # target chrome_dll |
| 536 ], | 536 ], |
| 537 }], | 537 }], |
| 538 ], | 538 ], |
| 539 } | 539 } |
| OLD | NEW |