blob: ede698c4afafd3e7d597b17edcfa44cb7fa82e69 [file] [log] [blame]
abarth6fc8ff02016-07-15 15:15:15 -07001# Copyright 2016 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
mtkleinf037d482016-07-19 08:25:00 -07006template("third_party") {
7 source_set(target_name) {
8 forward_variables_from(invoker, "*")
abarth6fc8ff02016-07-15 15:15:15 -07009
mtkleinf037d482016-07-19 08:25:00 -070010 # Warnings are just noise if we're not maintaining the code.
11 cflags = [ "-w" ]
12
13 # Chrome's GN environment sets up a bunch of default configs we don't need/want 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 }
21}