| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
| 2 # | 2 # |
| 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 template("third_party") { | 6 template("third_party") { |
| 7 source_set(target_name) { | 7 source_set(target_name) { |
| 8 forward_variables_from(invoker, "*") | 8 forward_variables_from(invoker, "*") |
| 9 | 9 |
| 10 # Warnings are just noise if we're not maintaining the code. | 10 # Warnings are just noise if we're not maintaining the code. |
| 11 cflags = [ "-w" ] | 11 cflags = [ "-w" ] |
| 12 | |
| 13 # Chrome's GN environment sets up a bunch of default configs we don't need/w
ant here. | |
| 14 configs -= [ | |
| 15 "//build/config/clang:extra_warnings", | |
| 16 "//build/config/clang:find_bad_constructs", | |
| 17 "//build/config/compiler:chromium_code", | |
| 18 "//build/config:feature_flags", | |
| 19 ] | |
| 20 } | 12 } |
| 21 } | 13 } |
| OLD | NEW |