diff options
-rw-r--r-- | test/BUILD.gn | 9 | ||||
-rw-r--r-- | tools/BUILD.gn | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/BUILD.gn b/test/BUILD.gn index 3de1dcaf..7bb11a14 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -28,6 +28,9 @@ source_set("field_trial") { "../system_wrappers", ] + configs += [ "..:common_config" ] + public_configs = [ "..:common_inherited_config"] + if (is_clang) { # Suppress warnings from Chrome's Clang plugins. # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. @@ -70,6 +73,9 @@ source_set("test_support") { sources += [ "testsupport/android/root_path_android.cc" ] } + configs += [ "..:common_config" ] + public_configs = [ "..:common_inherited_config"] + if (is_clang) { # Suppress warnings from Chrome's Clang plugins. # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. @@ -94,6 +100,9 @@ source_set("test_support_main") { "//third_party/gflags", ] + configs += [ "..:common_config" ] + public_configs = [ "..:common_inherited_config"] + if (is_clang) { # Suppress warnings from Chrome's Clang plugins. # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. diff --git a/tools/BUILD.gn b/tools/BUILD.gn index f66d8d5d..882a16e3 100644 --- a/tools/BUILD.gn +++ b/tools/BUILD.gn @@ -19,6 +19,9 @@ source_set("command_line_parser") { "simple_command_line_parser.h", "simple_command_line_parser.cc", ] + + configs += [ "..:common_config" ] + public_configs = [ "..:common_inherited_config"] } # TODO(kjellander): Convert all of tools.gyp into GN here. @@ -31,6 +34,9 @@ if (!build_with_chromium) { "simple_command_line_parser_unittest.cc", ] + configs += [ "..:common_config" ] + public_configs = [ "..:common_inherited_config"] + deps = [ ":command_line_parser", "../test:test_support_main", |