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

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

Issue 2325603002: GN Templates: Introduce rtc_shared_library (Closed)
Patch Set: 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 | « no previous file | webrtc/build/webrtc.gni » ('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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 deps += [ "$rtc_libyuv_dir" ] 213 deps += [ "$rtc_libyuv_dir" ]
214 public_deps = [ 214 public_deps = [
215 "$rtc_libyuv_dir", 215 "$rtc_libyuv_dir",
216 ] 216 ]
217 } else { 217 } else {
218 # Need to add a directory normally exported by libyuv. 218 # Need to add a directory normally exported by libyuv.
219 include_dirs += [ "$rtc_libyuv_dir/include" ] 219 include_dirs += [ "$rtc_libyuv_dir/include" ]
220 } 220 }
221 } 221 }
222 222
223 shared_library("libjingle_peerconnection_so") { 223 rtc_shared_library("libjingle_peerconnection_so") {
224 sources = [ 224 sources = [
225 "android/jni/jni_onload.cc", 225 "android/jni/jni_onload.cc",
226 ] 226 ]
227 227
228 configs -= [ "//build/config/android:hide_native_jni_exports" ] 228 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ]
229 229
230 deps = [ 230 deps = [
231 ":libjingle_peerconnection", 231 ":libjingle_peerconnection",
232 ":libjingle_peerconnection_jni", 232 ":libjingle_peerconnection_jni",
233 ] 233 ]
234 output_extension = "so" 234 output_extension = "so"
235 } 235 }
236 236
237 android_library("libjingle_peerconnection_java") { 237 android_library("libjingle_peerconnection_java") {
238 java_files = [ 238 java_files = [
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 446
447 shared_libraries = [ ":libjingle_peerconnection_so" ] 447 shared_libraries = [ ":libjingle_peerconnection_so" ]
448 } 448 }
449 449
450 android_resources("libjingle_peerconnection_android_unittest_resources") { 450 android_resources("libjingle_peerconnection_android_unittest_resources") {
451 resource_dirs = [ "androidtests/res" ] 451 resource_dirs = [ "androidtests/res" ]
452 custom_package = "org.webrtc" 452 custom_package = "org.webrtc"
453 } 453 }
454 } 454 }
455 } 455 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698