OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 'variables': { | 8 'variables': { |
9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
11 }, | 11 }, |
12 'version_py_path': '<(version_py_path)', | 12 'version_py_path': '<(version_py_path)', |
13 'version_path': '<(version_path)', | 13 'version_path': '<(version_path)', |
14 'version_full': | 14 'version_full': |
15 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', | 15 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', |
16 'version_build_patch': | 16 'version_mac_dylib': |
17 '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH@")', | 17 '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH_HI@.
@PATCH_LO@" -e "PATCH_HI=int(PATCH)/256" -e "PATCH_LO=int(PATCH)%256")', |
18 | 18 |
19 # Define the common dependencies that contain all the actual | 19 # Define the common dependencies that contain all the actual |
20 # Chromium functionality. This list gets pulled in below by | 20 # Chromium functionality. This list gets pulled in below by |
21 # the link of the actual chrome (or chromium) executable on | 21 # the link of the actual chrome (or chromium) executable on |
22 # Linux or Mac, and into chrome.dll on Windows. | 22 # Linux or Mac, and into chrome.dll on Windows. |
23 'chromium_dependencies': [ | 23 'chromium_dependencies': [ |
24 'common', | 24 'common', |
25 'browser', | 25 'browser', |
26 'debugger', | 26 'debugger', |
27 'chrome_gpu', | 27 'chrome_gpu', |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1203 ], | 1203 ], |
1204 'include_dirs': [ | 1204 'include_dirs': [ |
1205 '..', | 1205 '..', |
1206 ], | 1206 ], |
1207 'link_settings': { | 1207 'link_settings': { |
1208 'libraries': [ | 1208 'libraries': [ |
1209 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 1209 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
1210 ], | 1210 ], |
1211 }, | 1211 }, |
1212 'xcode_settings': { | 1212 'xcode_settings': { |
1213 'DYLIB_COMPATIBILITY_VERSION': '<(version_build_patch)', | 1213 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)', |
1214 'DYLIB_CURRENT_VERSION': '<(version_build_patch)', | 1214 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)', |
1215 'DYLIB_INSTALL_NAME_BASE': '@executable_path', | 1215 'DYLIB_INSTALL_NAME_BASE': '@executable_path', |
1216 }, | 1216 }, |
1217 'postbuilds': [ | 1217 'postbuilds': [ |
1218 { | 1218 { |
1219 # The framework (chrome_dll) defines its load-time path | 1219 # The framework (chrome_dll) defines its load-time path |
1220 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable | 1220 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable |
1221 # (chrome). A different relative path needs to be used in | 1221 # (chrome). A different relative path needs to be used in |
1222 # plugin_carbon_interpose, which runs in the helper_app. | 1222 # plugin_carbon_interpose, which runs in the helper_app. |
1223 'postbuild_name': 'Fix Framework Link', | 1223 'postbuild_name': 'Fix Framework Link', |
1224 'action': [ | 1224 'action': [ |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1624 }], # targets | 1624 }], # targets |
1625 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 1625 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
1626 ], # 'conditions' | 1626 ], # 'conditions' |
1627 } | 1627 } |
1628 | 1628 |
1629 # Local Variables: | 1629 # Local Variables: |
1630 # tab-width:2 | 1630 # tab-width:2 |
1631 # indent-tabs-mode:nil | 1631 # indent-tabs-mode:nil |
1632 # End: | 1632 # End: |
1633 # vim: set expandtab tabstop=2 shiftwidth=2: | 1633 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |