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

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

Issue 2347403002: Merge AppRTCDemoJUnitTest into android_junit_tests target (Closed)
Patch Set: Updated examples/androidjunit/README and removed old GYP target. Created 4 years, 3 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/BUILD.gn ('k') | webrtc/examples/androidjunit/README » ('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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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 if (is_android) { 10 if (is_android) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClien tTest.java" ] 96 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClien tTest.java" ]
97 97
98 apk_under_test = ":AppRTCDemo" 98 apk_under_test = ":AppRTCDemo"
99 99
100 deps = [ 100 deps = [
101 ":AppRTCDemo_javalib", 101 ":AppRTCDemo_javalib",
102 "//webrtc/api:libjingle_peerconnection_java", 102 "//webrtc/api:libjingle_peerconnection_java",
103 ] 103 ]
104 } 104 }
105
106 junit_binary("AppRTCDemoJUnitTest") {
107 java_files = [
108 "androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java",
109 "androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java",
110 ]
111
112 deps = [
113 ":AppRTCDemo_javalib",
114 "//webrtc/api:libjingle_peerconnection_java",
115 "//webrtc/api:libjingle_peerconnection_jni",
116 ]
117 }
118 } 105 }
119 106
120 if (is_ios || (is_mac && target_cpu != "x86")) { 107 if (is_ios || (is_mac && target_cpu != "x86")) {
121 config("warnings_config") { 108 config("warnings_config") {
122 # GN orders flags on a target before flags from configs. The default config 109 # GN orders flags on a target before flags from configs. The default config
123 # adds these flags so to cancel them out they need to come from a config and 110 # adds these flags so to cancel them out they need to come from a config and
124 # cannot be on the target directly. 111 # cannot be on the target directly.
125 if (is_ios) { 112 if (is_ios) {
126 # Suppress compiler warnings about deprecated that triggered 113 # Suppress compiler warnings about deprecated that triggered
127 # when moving from ios_deployment_target 7.0 to 9.0. 114 # when moving from ios_deployment_target 7.0 to 9.0.
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 "//webrtc/system_wrappers:field_trial_default", 506 "//webrtc/system_wrappers:field_trial_default",
520 "//webrtc/system_wrappers:metrics_default", 507 "//webrtc/system_wrappers:metrics_default",
521 ] 508 ]
522 if (is_clang) { 509 if (is_clang) {
523 # Suppress warnings from the Chromium Clang plugin. 510 # Suppress warnings from the Chromium Clang plugin.
524 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 511 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
525 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 512 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
526 } 513 }
527 } 514 }
528 } 515 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/examples/androidjunit/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698