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

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
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 deps = [ 86 deps = [
87 ":network_tester", 87 ":network_tester",
88 ] 88 ]
89 89
90 if (!build_with_chromium && is_clang) { 90 if (!build_with_chromium && is_clang) {
91 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 91 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
92 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 92 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
93 } 93 }
94 } 94 }
95
96 if (is_android) {
97 android_apk("NetworkTesterMobile") {
98 testonly = true
99 apk_name = "NetworkTesterMobile"
100 android_manifest = "androidapp/AndroidManifest.xml"
101
102 deps = [
103 ":NetworkTesterMobile_javalib",
104 ":NetworkTesterMobile_resources",
105 "//base:base_java",
106 "//webrtc/base:base_java",
107 ]
108
109 shared_libraries = [ "//webrtc/tools/network_tester:network_tester_so" ]
110 }
111
112 android_library("NetworkTesterMobile_javalib") {
113 testonly = true
114 android_manifest = "androidapp/AndroidManifest.xml"
115
116 java_files = [
117 "androidapp/src/com/google/media/networktester/MainActivity.java",
118 "androidapp/src/com/google/media/networktester/NetworkTester.java",
119 ]
120
121 deps = [
122 ":NetworkTesterMobile_resources",
123 "//webrtc/base:base_java",
124 ]
125 }
126
127 android_resources("NetworkTesterMobile_resources") {
128 testonly = true
129 resource_dirs = [ "androidapp/res" ]
130 custom_package = "com.google.media.networktester"
131 }
132
133 rtc_shared_library("network_tester_so") {
134 sources = [
135 "jni.cpp",
136 ]
137
138 deps = [
139 ":network_tester",
140 "../../system_wrappers:field_trial_default",
141 ]
142
143 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ]
144 configs += [ "//build/config/android:hide_all_but_jni" ]
145
146 output_extension = "so"
147 }
148 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/network_tester/androidapp/AndroidManifest.xml » ('j') | webrtc/tools/network_tester/jni.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698