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

Side by Side Diff: webrtc/sdk/android/BUILD.gn

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md Created 3 years, 5 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/sdk/BUILD.gn ('k') | webrtc/sdk/objc/Framework/UnitTests/RTCTracingTest.mm » ('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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "src/jni/jni_helpers.cc", 42 "src/jni/jni_helpers.cc",
43 "src/jni/jni_helpers.h", 43 "src/jni/jni_helpers.h",
44 "src/jni/media_jni.h", 44 "src/jni/media_jni.h",
45 "src/jni/ownedfactoryandthreads.cc", 45 "src/jni/ownedfactoryandthreads.cc",
46 "src/jni/ownedfactoryandthreads.h", 46 "src/jni/ownedfactoryandthreads.h",
47 "src/jni/video_jni.h", 47 "src/jni/video_jni.h",
48 ] 48 ]
49 49
50 deps = [ 50 deps = [
51 "../../api:libjingle_peerconnection_api", 51 "../../api:libjingle_peerconnection_api",
52 "../../base:rtc_base", 52 "../../rtc_base:rtc_base",
53 "../../base:rtc_base_approved", 53 "../../rtc_base:rtc_base_approved",
54 "../../system_wrappers:metrics_api", 54 "../../system_wrappers:metrics_api",
55 ] 55 ]
56 56
57 if (is_clang) { 57 if (is_clang) {
58 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 58 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
59 suppressed_configs += [ 59 suppressed_configs += [
60 "//build/config/clang:extra_warnings", 60 "//build/config/clang:extra_warnings",
61 "//build/config/clang:find_bad_constructs", 61 "//build/config/clang:find_bad_constructs",
62 ] 62 ]
63 } 63 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "/wd4389", # signed/unsigned mismatch. 132 "/wd4389", # signed/unsigned mismatch.
133 ] 133 ]
134 } 134 }
135 135
136 deps = [ 136 deps = [
137 ":base_jni", 137 ":base_jni",
138 "../..:webrtc_common", 138 "../..:webrtc_common",
139 "../../api:libjingle_peerconnection_api", 139 "../../api:libjingle_peerconnection_api",
140 "../../api:video_frame_api", 140 "../../api:video_frame_api",
141 "../../api/video_codecs:video_codecs_api", 141 "../../api/video_codecs:video_codecs_api",
142 "../../base:rtc_base",
143 "../../base:rtc_base_approved",
144 "../../base:rtc_task_queue",
145 "../../base:sequenced_task_checker",
146 "../../base:weak_ptr",
147 "../../common_video:common_video", 142 "../../common_video:common_video",
148 "../../media:rtc_audio_video", 143 "../../media:rtc_audio_video",
149 "../../media:rtc_media_base", 144 "../../media:rtc_media_base",
150 "../../modules/utility:utility", 145 "../../modules/utility:utility",
151 "../../modules/video_coding:video_coding_utility", 146 "../../modules/video_coding:video_coding_utility",
147 "../../rtc_base:rtc_base",
148 "../../rtc_base:rtc_base_approved",
149 "../../rtc_base:rtc_task_queue",
150 "../../rtc_base:sequenced_task_checker",
151 "../../rtc_base:weak_ptr",
152 "../../system_wrappers:system_wrappers", 152 "../../system_wrappers:system_wrappers",
153 ] 153 ]
154 154
155 if (rtc_build_libyuv) { 155 if (rtc_build_libyuv) {
156 deps += [ "$rtc_libyuv_dir" ] 156 deps += [ "$rtc_libyuv_dir" ]
157 public_deps = [ 157 public_deps = [
158 "$rtc_libyuv_dir", 158 "$rtc_libyuv_dir",
159 ] 159 ]
160 } else { 160 } else {
161 # Need to add a directory normally exported by libyuv. 161 # Need to add a directory normally exported by libyuv.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 if (is_win) { 230 if (is_win) {
231 cflags += [ 231 cflags += [
232 "/wd4245", # conversion from "int" to "size_t", signed/unsigned mismatch. 232 "/wd4245", # conversion from "int" to "size_t", signed/unsigned mismatch.
233 "/wd4389", # signed/unsigned mismatch. 233 "/wd4389", # signed/unsigned mismatch.
234 ] 234 ]
235 } 235 }
236 236
237 deps = [ 237 deps = [
238 ":base_jni", 238 ":base_jni",
239 "../..:webrtc_common", 239 "../..:webrtc_common",
240 "../../base:rtc_base",
241 "../../base:rtc_base_approved",
242 "../../base:rtc_task_queue",
243 "../../media:rtc_data", 240 "../../media:rtc_data",
244 "../../media:rtc_media_base", 241 "../../media:rtc_media_base",
245 "../../modules/utility:utility", 242 "../../modules/utility:utility",
246 "../../pc:peerconnection", 243 "../../pc:peerconnection",
244 "../../rtc_base:rtc_base",
245 "../../rtc_base:rtc_base_approved",
246 "../../rtc_base:rtc_task_queue",
247 "../../system_wrappers:system_wrappers", 247 "../../system_wrappers:system_wrappers",
248 ] 248 ]
249 } 249 }
250 250
251 rtc_static_library("libjingle_peerconnection_jni") { 251 rtc_static_library("libjingle_peerconnection_jni") {
252 public_deps = [ 252 public_deps = [
253 ":audio_jni", 253 ":audio_jni",
254 ":base_jni", 254 ":base_jni",
255 ":media_jni", 255 ":media_jni",
256 ":peerconnection_jni", 256 ":peerconnection_jni",
(...skipping 30 matching lines...) Expand all
287 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ] 287 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ]
288 configs += [ "//build/config/android:hide_all_but_jni" ] 288 configs += [ "//build/config/android:hide_all_but_jni" ]
289 289
290 deps = [ 290 deps = [
291 ":base_jni", 291 ":base_jni",
292 ":libjingle_peerconnection_metrics_default_jni", 292 ":libjingle_peerconnection_metrics_default_jni",
293 ":null_audio_jni", 293 ":null_audio_jni",
294 ":null_media_jni", 294 ":null_media_jni",
295 ":null_video_jni", 295 ":null_video_jni",
296 ":peerconnection_jni", 296 ":peerconnection_jni",
297 "../../base:rtc_base",
298 "../../base:rtc_base_approved",
299 "../../pc:peerconnection", 297 "../../pc:peerconnection",
298 "../../rtc_base:rtc_base",
299 "../../rtc_base:rtc_base_approved",
300 ] 300 ]
301 output_extension = "so" 301 output_extension = "so"
302 } 302 }
303 303
304 rtc_shared_library("libjingle_peerconnection_so") { 304 rtc_shared_library("libjingle_peerconnection_so") {
305 sources = [ 305 sources = [
306 "src/jni/jni_onload.cc", 306 "src/jni/jni_onload.cc",
307 ] 307 ]
308 308
309 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ] 309 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ]
310 configs += [ "//build/config/android:hide_all_but_jni" ] 310 configs += [ "//build/config/android:hide_all_but_jni" ]
311 311
312 deps = [ 312 deps = [
313 ":libjingle_peerconnection_jni", 313 ":libjingle_peerconnection_jni",
314 ":libjingle_peerconnection_metrics_default_jni", 314 ":libjingle_peerconnection_metrics_default_jni",
315 "../../base:rtc_base",
316 "../../pc:libjingle_peerconnection", 315 "../../pc:libjingle_peerconnection",
316 "../../rtc_base:rtc_base",
317 ] 317 ]
318 output_extension = "so" 318 output_extension = "so"
319 } 319 }
320 320
321 dist_jar("libwebrtc") { 321 dist_jar("libwebrtc") {
322 _target_dir_name = get_label_info(":$target_name", "dir") 322 _target_dir_name = get_label_info(":$target_name", "dir")
323 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" 323 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar"
324 direct_deps_only = true 324 direct_deps_only = true
325 use_interface_jars = false 325 use_interface_jars = false
326 deps = [ 326 deps = [
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 "//base:base_java", 464 "//base:base_java",
465 "//base:base_java_test_support", 465 "//base:base_java_test_support",
466 "//third_party/android_support_test_runner:rules_java", 466 "//third_party/android_support_test_runner:rules_java",
467 "//third_party/android_support_test_runner:runner_java", 467 "//third_party/android_support_test_runner:runner_java",
468 "//third_party/junit", 468 "//third_party/junit",
469 ] 469 ]
470 470
471 shared_libraries = [ "../../sdk/android:libjingle_peerconnection_so" ] 471 shared_libraries = [ "../../sdk/android:libjingle_peerconnection_so" ]
472 } 472 }
473 } 473 }
OLDNEW
« no previous file with comments | « webrtc/sdk/BUILD.gn ('k') | webrtc/sdk/objc/Framework/UnitTests/RTCTracingTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698