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

Side by Side Diff: webrtc/tools/network_tester/BUILD.gn

Issue 2787863002: Add network tester client [android] (Closed)
Patch Set: Rebased Created 3 years, 8 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 | « no previous file | webrtc/tools/network_tester/androidapp/AndroidManifest.xml » ('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) 2017 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2017 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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 deps = [ 105 deps = [
106 ":network_tester", 106 ":network_tester",
107 ] 107 ]
108 108
109 if (!build_with_chromium && is_clang) { 109 if (!build_with_chromium && is_clang) {
110 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 110 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
112 } 112 }
113 } 113 }
114 } 114 }
115
116 if (is_android) {
117 android_apk("NetworkTesterMobile") {
118 testonly = true
119 apk_name = "NetworkTesterMobile"
120 android_manifest = "androidapp/AndroidManifest.xml"
121
122 deps = [
123 ":NetworkTesterMobile_javalib",
124 ":NetworkTesterMobile_resources",
125 "//base:base_java",
126 "//webrtc/base:base_java",
127 ]
128
129 shared_libraries = [ "//webrtc/tools/network_tester:network_tester_so" ]
130 }
131
132 android_library("NetworkTesterMobile_javalib") {
133 testonly = true
134 android_manifest = "androidapp/AndroidManifest.xml"
135
136 java_files = [
137 "androidapp/src/com/google/media/networktester/MainActivity.java",
138 "androidapp/src/com/google/media/networktester/NetworkTester.java",
139 ]
140
141 deps = [
142 ":NetworkTesterMobile_resources",
143 "//webrtc/base:base_java",
144 ]
145 }
146
147 android_resources("NetworkTesterMobile_resources") {
148 testonly = true
149 resource_dirs = [ "androidapp/res" ]
150 custom_package = "com.google.media.networktester"
151 }
152
153 rtc_shared_library("network_tester_so") {
154 sources = [
155 "jni.cpp",
156 ]
157
158 deps = [
159 ":network_tester",
160 "../../system_wrappers:field_trial_default",
161 ]
162
163 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ]
164 configs += [ "//build/config/android:hide_all_but_jni" ]
165
166 output_extension = "so"
167 }
168 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/network_tester/androidapp/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698