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 # 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 3748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3759 '-fsanitize=address', | 3759 '-fsanitize=address', |
3760 '-w', # http://crbug.com/162783 | 3760 '-w', # http://crbug.com/162783 |
3761 ], | 3761 ], |
3762 'ldflags!': [ | 3762 'ldflags!': [ |
3763 '-fsanitize=address', | 3763 '-fsanitize=address', |
3764 '-Wl,-z,noexecstack', | 3764 '-Wl,-z,noexecstack', |
3765 '-Wl,--gc-sections', | 3765 '-Wl,--gc-sections', |
3766 '-Wl,-O1', | 3766 '-Wl,-O1', |
3767 '-Wl,--as-needed', | 3767 '-Wl,--as-needed', |
3768 ], | 3768 ], |
3769 'sources/': [ | |
3770 ['exclude', '_android(_unittest)?\\.cc$'], | |
3771 ['exclude', '(^|/)android/'] | |
3772 ], | |
3773 }], | 3769 }], |
3774 # Settings for building host targets on mac. | 3770 # Settings for building host targets on mac. |
3775 ['_toolset=="host" and host_os=="mac"', { | 3771 ['_toolset=="host" and host_os=="mac"', { |
3776 'ldflags!': [ | 3772 'ldflags!': [ |
3777 '-Wl,-z,now', | 3773 '-Wl,-z,now', |
3778 '-Wl,-z,relro', | 3774 '-Wl,-z,relro', |
3779 ], | 3775 ], |
3780 }], | 3776 }], |
3781 ], | 3777 ], |
3782 }, | 3778 }, |
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4657 # settings in target dicts. SYMROOT is a special case, because many other | 4653 # settings in target dicts. SYMROOT is a special case, because many other |
4658 # Xcode variables depend on it, including variables such as | 4654 # Xcode variables depend on it, including variables such as |
4659 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4655 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4660 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4656 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4661 # files to appear (when present) in the UI as actual files and not red | 4657 # files to appear (when present) in the UI as actual files and not red |
4662 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4658 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4663 # and therefore SYMROOT, needs to be set at the project level. | 4659 # and therefore SYMROOT, needs to be set at the project level. |
4664 'SYMROOT': '<(DEPTH)/xcodebuild', | 4660 'SYMROOT': '<(DEPTH)/xcodebuild', |
4665 }, | 4661 }, |
4666 } | 4662 } |
OLD | NEW |