| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # IMPORTANT: | 5 # IMPORTANT: |
| 6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
| 7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
| 8 { | 8 { |
| 9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
| 10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 'conditions': [ | 637 'conditions': [ |
| 638 ['OS=="win" and component=="shared_library"', { | 638 ['OS=="win" and component=="shared_library"', { |
| 639 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx | 639 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx |
| 640 'win_release_RuntimeLibrary%': '2', # 2 = /MT (nondebug DLL) | 640 'win_release_RuntimeLibrary%': '2', # 2 = /MT (nondebug DLL) |
| 641 'win_debug_RuntimeLibrary%': '3', # 3 = /MTd (debug DLL) | 641 'win_debug_RuntimeLibrary%': '3', # 3 = /MTd (debug DLL) |
| 642 }, { | 642 }, { |
| 643 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx | 643 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx |
| 644 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) | 644 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) |
| 645 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) | 645 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) |
| 646 }], | 646 }], |
| 647 ['OS=="mac" and clang==1', { | |
| 648 # TODO(thakis): Remove this once http://llvm.org/PR10031 is fixed. | |
| 649 'mac_release_optimization%': '2', | |
| 650 }], | |
| 651 ], | 647 ], |
| 652 }, | 648 }, |
| 653 'conditions': [ | 649 'conditions': [ |
| 654 ['branding=="Chrome"', { | 650 ['branding=="Chrome"', { |
| 655 'defines': ['GOOGLE_CHROME_BUILD'], | 651 'defines': ['GOOGLE_CHROME_BUILD'], |
| 656 }, { # else: branding!="Chrome" | 652 }, { # else: branding!="Chrome" |
| 657 'defines': ['CHROMIUM_BUILD'], | 653 'defines': ['CHROMIUM_BUILD'], |
| 658 }], | 654 }], |
| 659 ['toolkit_views==1', { | 655 ['toolkit_views==1', { |
| 660 'defines': ['TOOLKIT_VIEWS=1'], | 656 'defines': ['TOOLKIT_VIEWS=1'], |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1779 # and therefore SYMROOT, needs to be set at the project level. | 1775 # and therefore SYMROOT, needs to be set at the project level. |
| 1780 'SYMROOT': '<(DEPTH)/xcodebuild', | 1776 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1781 }, | 1777 }, |
| 1782 } | 1778 } |
| 1783 | 1779 |
| 1784 # Local Variables: | 1780 # Local Variables: |
| 1785 # tab-width:2 | 1781 # tab-width:2 |
| 1786 # indent-tabs-mode:nil | 1782 # indent-tabs-mode:nil |
| 1787 # End: | 1783 # End: |
| 1788 # vim: set expandtab tabstop=2 shiftwidth=2: | 1784 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |