OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This file is meant to be included to set clang-specific compiler flags. | 6 # This file is meant to be included to set clang-specific compiler flags. |
7 # To use this the following variable can be defined: | 7 # To use this the following variable can be defined: |
8 # clang_warning_flags: list: Compiler flags to pass to clang. | 8 # clang_warning_flags: list: Compiler flags to pass to clang. |
9 # clang_warning_flags_unset: list: Compiler flags to not pass to clang. | 9 # clang_warning_flags_unset: list: Compiler flags to not pass to clang. |
10 # | 10 # |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 ['clang==0 and host_clang==1', { | 50 ['clang==0 and host_clang==1', { |
51 'target_conditions': [ | 51 'target_conditions': [ |
52 ['_toolset=="host"', { | 52 ['_toolset=="host"', { |
53 'cflags': [ '>@(clang_warning_flags)' ], | 53 'cflags': [ '>@(clang_warning_flags)' ], |
54 'cflags!': [ '>@(clang_warning_flags_unset)' ], | 54 'cflags!': [ '>@(clang_warning_flags_unset)' ], |
55 }], | 55 }], |
56 ], | 56 ], |
57 }], | 57 }], |
58 ], | 58 ], |
59 } | 59 } |
OLD | NEW |