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

Unified Diff: webrtc/api/BUILD.gn

Issue 2728073002: Revert of GN: Include webrtc/api targets even if rtc_include_tests=false (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/BUILD.gn
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn
index a447dec80b60147947a28e79ee47559d122852b0..716f8c9c107125c1b0b387d3d4ef2e47a55cb3bb 100644
--- a/webrtc/api/BUILD.gn
+++ b/webrtc/api/BUILD.gn
@@ -171,65 +171,65 @@
}
}
-rtc_source_set("mock_audio_mixer") {
- testonly = true
- sources = [
- "test/mock_audio_mixer.h",
- ]
-
- public_deps = [
- ":audio_mixer_api",
- ]
-
- deps = [
- "//testing/gmock",
- "//webrtc/test:test_support",
- ]
-}
-
-rtc_source_set("libjingle_peerconnection_test_api") {
- testonly = true
- sources = [
- "test/fakeconstraints.h",
- ]
-
- public_deps = [
- ":libjingle_peerconnection_api",
- ]
-
- deps = [
- "../base:rtc_base_approved",
- "//webrtc/test:test_support",
- ]
-}
-
-rtc_source_set("fakemetricsobserver") {
- testonly = true
- sources = [
- "fakemetricsobserver.cc",
- "fakemetricsobserver.h",
- ]
- deps = [
- ":libjingle_peerconnection_api",
- "../base:rtc_base_approved",
- ]
- if (!build_with_chromium && is_clang) {
- # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
- suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
- }
-}
-
if (rtc_include_tests) {
- rtc_source_set("rtc_api_unittests") {
- testonly = true
- sources = [
- "rtcerror_unittest.cc",
- ]
-
+ rtc_source_set("mock_audio_mixer") {
+ testonly = true
+ sources = [
+ "test/mock_audio_mixer.h",
+ ]
+
+ public_deps = [
+ ":audio_mixer_api",
+ ]
+
+ deps = [
+ "//testing/gmock",
+ "//webrtc/test:test_support",
+ ]
+ }
+
+ rtc_source_set("libjingle_peerconnection_test_api") {
+ testonly = true
+ sources = [
+ "test/fakeconstraints.h",
+ ]
+
+ public_deps = [
+ ":libjingle_peerconnection_api",
+ ]
+
+ deps = [
+ "../base:rtc_base_approved",
+ "//webrtc/test:test_support",
+ ]
+ }
+
+ rtc_source_set("fakemetricsobserver") {
+ testonly = true
+ sources = [
+ "fakemetricsobserver.cc",
+ "fakemetricsobserver.h",
+ ]
+ deps = [
+ ":libjingle_peerconnection_api",
+ "../base:rtc_base_approved",
+ ]
if (!build_with_chromium && is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
+ }
+
+ rtc_source_set("rtc_api_unittests") {
+ testonly = true
+ sources = [
+ "rtcerror_unittest.cc",
+ ]
+
+ if (!build_with_chromium && is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
deps = [
":libjingle_peerconnection_api",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698