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 3834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3845 # can redefine it later to be 2 for chromium code and unset | 3845 # can redefine it later to be 2 for chromium code and unset |
3846 # for third party code. This works because cflags are added | 3846 # for third party code. This works because cflags are added |
3847 # before defines. | 3847 # before defines. |
3848 '-U_FORTIFY_SOURCE', | 3848 '-U_FORTIFY_SOURCE', |
3849 # Disable any additional warnings enabled by the Android build
system but which | 3849 # Disable any additional warnings enabled by the Android build
system but which |
3850 # chromium does not build cleanly with (when treating warning
as errors). | 3850 # chromium does not build cleanly with (when treating warning
as errors). |
3851 # Things that are part of -Wextra: | 3851 # Things that are part of -Wextra: |
3852 '-Wno-extra', # Enabled by -Wextra, but no specific flag | 3852 '-Wno-extra', # Enabled by -Wextra, but no specific flag |
3853 '-Wno-ignored-qualifiers', | 3853 '-Wno-ignored-qualifiers', |
3854 '-Wno-type-limits', | 3854 '-Wno-type-limits', |
| 3855 '-Wno-unused-but-set-variable', |
3855 ], | 3856 ], |
3856 'cflags_cc': [ | 3857 'cflags_cc': [ |
3857 # Other things unrelated to -Wextra: | 3858 # Other things unrelated to -Wextra: |
3858 '-Wno-non-virtual-dtor', | 3859 '-Wno-non-virtual-dtor', |
3859 '-Wno-sign-promo', | 3860 '-Wno-sign-promo', |
3860 ], | 3861 ], |
3861 }], | 3862 }], |
3862 ['android_webview_build==1', { | 3863 ['android_webview_build==1', { |
3863 'target_conditions': [ | 3864 'target_conditions': [ |
3864 ['chromium_code==0', { | 3865 ['chromium_code==0', { |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4910 # settings in target dicts. SYMROOT is a special case, because many other | 4911 # settings in target dicts. SYMROOT is a special case, because many other |
4911 # Xcode variables depend on it, including variables such as | 4912 # Xcode variables depend on it, including variables such as |
4912 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4913 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4913 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4914 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4914 # files to appear (when present) in the UI as actual files and not red | 4915 # files to appear (when present) in the UI as actual files and not red |
4915 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4916 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4916 # and therefore SYMROOT, needs to be set at the project level. | 4917 # and therefore SYMROOT, needs to be set at the project level. |
4917 'SYMROOT': '<(DEPTH)/xcodebuild', | 4918 'SYMROOT': '<(DEPTH)/xcodebuild', |
4918 }, | 4919 }, |
4919 } | 4920 } |
OLD | NEW |