Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: webrtc/test/BUILD.gn

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/system_wrappers/source/stringize_macros_unittest.cc ('k') | webrtc/test/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 "../system_wrappers:metrics_default", 99 "../system_wrappers:metrics_default",
100 "//testing/gtest", 100 "//testing/gtest",
101 "//third_party/gflags", 101 "//third_party/gflags",
102 ] 102 ]
103 } 103 }
104 104
105 rtc_source_set("test_support") { 105 rtc_source_set("test_support") {
106 testonly = true 106 testonly = true
107 107
108 sources = [ 108 sources = [
109 "gmock.h",
110 "gtest.h",
109 "testsupport/fileutils.cc", 111 "testsupport/fileutils.cc",
110 "testsupport/fileutils.h", 112 "testsupport/fileutils.h",
111 "testsupport/frame_reader.cc", 113 "testsupport/frame_reader.cc",
112 "testsupport/frame_reader.h", 114 "testsupport/frame_reader.h",
113 "testsupport/frame_writer.cc", 115 "testsupport/frame_writer.cc",
114 "testsupport/frame_writer.h", 116 "testsupport/frame_writer.h",
115 "testsupport/iosfileutils.mm", 117 "testsupport/iosfileutils.mm",
116 "testsupport/metrics/video_metrics.cc", 118 "testsupport/metrics/video_metrics.cc",
117 "testsupport/metrics/video_metrics.h", 119 "testsupport/metrics/video_metrics.h",
118 "testsupport/mock/mock_frame_reader.h", 120 "testsupport/mock/mock_frame_reader.h",
119 "testsupport/mock/mock_frame_writer.h", 121 "testsupport/mock/mock_frame_writer.h",
120 "testsupport/packet_reader.cc", 122 "testsupport/packet_reader.cc",
121 "testsupport/packet_reader.h", 123 "testsupport/packet_reader.h",
122 "testsupport/perf_test.cc", 124 "testsupport/perf_test.cc",
123 "testsupport/perf_test.h", 125 "testsupport/perf_test.h",
124 "testsupport/trace_to_stderr.cc", 126 "testsupport/trace_to_stderr.cc",
125 "testsupport/trace_to_stderr.h", 127 "testsupport/trace_to_stderr.h",
126 ] 128 ]
127 129
128 deps = [ 130 deps = [
129 "../base:gtest_prod", 131 "../base:gtest_prod",
132 "../base:rtc_base_approved",
130 "../common_video", 133 "../common_video",
131 "../system_wrappers", 134 "../system_wrappers",
132 "//testing/gmock", 135 "//testing/gmock",
133 "//testing/gtest", 136 "//testing/gtest",
134 ] 137 ]
135 138
136 if (is_clang) { 139 if (is_clang) {
137 # Suppress warnings from the Chromium Clang plugin. 140 # Suppress warnings from the Chromium Clang plugin.
138 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 141 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 142 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 398 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
396 } 399 }
397 400
398 deps = [ 401 deps = [
399 ":test_support", 402 ":test_support",
400 ":video_test_common", 403 ":video_test_common",
401 "../modules/media_file", 404 "../modules/media_file",
402 "//testing/gtest", 405 "//testing/gtest",
403 ] 406 ]
404 } 407 }
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/source/stringize_macros_unittest.cc ('k') | webrtc/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698