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 2549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2560 # this is worth fixing. | 2560 # this is worth fixing. |
2561 '-Wno-c++11-narrowing', | 2561 '-Wno-c++11-narrowing', |
2562 | 2562 |
2563 # Clang considers the `register` keyword as deprecated, but e.g. | 2563 # Clang considers the `register` keyword as deprecated, but e.g. |
2564 # code generated by flex (used in angle) contains that keyword. | 2564 # code generated by flex (used in angle) contains that keyword. |
2565 # http://crbug.com/255186 | 2565 # http://crbug.com/255186 |
2566 '-Wno-deprecated-register', | 2566 '-Wno-deprecated-register', |
2567 | 2567 |
2568 # TODO(hans): Get this cleaned up. | 2568 # TODO(hans): Get this cleaned up. |
2569 '-Wno-inconsistent-missing-override', | 2569 '-Wno-inconsistent-missing-override', |
2570 | |
2571 # When compiling Objective C, warns if a method is used whose | |
2572 # availability is newer than the deployment target. | |
2573 '-Wpartial-availability', | |
Nico
2015/05/19 00:58:20
We probably want to do this in some OS==mac sectio
erikchen
2015/05/19 01:32:21
Ah - hadn't considered the effect on iOS. Done.
| |
2570 ], | 2574 ], |
2571 }, | 2575 }, |
2572 'includes': [ 'set_clang_warning_flags.gypi', ], | 2576 'includes': [ 'set_clang_warning_flags.gypi', ], |
2573 'defines': [ | 2577 'defines': [ |
2574 # Don't use deprecated V8 APIs anywhere. | 2578 # Don't use deprecated V8 APIs anywhere. |
2575 'V8_DEPRECATION_WARNINGS', | 2579 'V8_DEPRECATION_WARNINGS', |
2576 ], | 2580 ], |
2577 'include_dirs': [ | 2581 'include_dirs': [ |
2578 '<(SHARED_INTERMEDIATE_DIR)', | 2582 '<(SHARED_INTERMEDIATE_DIR)', |
2579 ], | 2583 ], |
(...skipping 3606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6186 # settings in target dicts. SYMROOT is a special case, because many other | 6190 # settings in target dicts. SYMROOT is a special case, because many other |
6187 # Xcode variables depend on it, including variables such as | 6191 # Xcode variables depend on it, including variables such as |
6188 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6192 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6189 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6193 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6190 # files to appear (when present) in the UI as actual files and not red | 6194 # files to appear (when present) in the UI as actual files and not red |
6191 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6195 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6192 # and therefore SYMROOT, needs to be set at the project level. | 6196 # and therefore SYMROOT, needs to be set at the project level. |
6193 'SYMROOT': '<(DEPTH)/xcodebuild', | 6197 'SYMROOT': '<(DEPTH)/xcodebuild', |
6194 }, | 6198 }, |
6195 } | 6199 } |
OLD | NEW |