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

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

Issue 2106333005: Revert of Combine webrtc/api/java/android and webrtc/api/java/src. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 | « no previous file | webrtc/api/android/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) 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 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 if (!is_win) { 140 if (!is_win) {
141 cflags = [ 141 cflags = [
142 "-Wno-sign-compare", 142 "-Wno-sign-compare",
143 "-Wno-unused-variable", 143 "-Wno-unused-variable",
144 ] 144 ]
145 } 145 }
146 } 146 }
147 147
148 source_set("libjingle_peerconnection_jni") { 148 source_set("libjingle_peerconnection_jni") {
149 sources = [ 149 sources = [
150 "android/jni/androidmediacodeccommon.h",
151 "android/jni/androidmediadecoder_jni.cc",
152 "android/jni/androidmediadecoder_jni.h",
153 "android/jni/androidmediaencoder_jni.cc",
154 "android/jni/androidmediaencoder_jni.h",
155 "android/jni/androidmetrics_jni.cc",
156 "android/jni/androidnetworkmonitor_jni.cc",
157 "android/jni/androidnetworkmonitor_jni.h",
158 "android/jni/androidvideocapturer_jni.cc",
159 "android/jni/androidvideocapturer_jni.h",
160 "android/jni/classreferenceholder.cc",
161 "android/jni/classreferenceholder.h",
162 "android/jni/jni_helpers.cc",
163 "android/jni/jni_helpers.h",
164 "android/jni/native_handle_impl.cc",
165 "android/jni/native_handle_impl.h",
166 "android/jni/peerconnection_jni.cc",
167 "android/jni/surfacetexturehelper_jni.cc",
168 "android/jni/surfacetexturehelper_jni.h",
169 "androidvideocapturer.cc", 150 "androidvideocapturer.cc",
170 "androidvideocapturer.h", 151 "androidvideocapturer.h",
152 "java/jni/androidmediacodeccommon.h",
153 "java/jni/androidmediadecoder_jni.cc",
154 "java/jni/androidmediadecoder_jni.h",
155 "java/jni/androidmediaencoder_jni.cc",
156 "java/jni/androidmediaencoder_jni.h",
157 "java/jni/androidmetrics_jni.cc",
158 "java/jni/androidnetworkmonitor_jni.cc",
159 "java/jni/androidnetworkmonitor_jni.h",
160 "java/jni/androidvideocapturer_jni.cc",
161 "java/jni/androidvideocapturer_jni.h",
162 "java/jni/classreferenceholder.cc",
163 "java/jni/classreferenceholder.h",
164 "java/jni/jni_helpers.cc",
165 "java/jni/jni_helpers.h",
166 "java/jni/native_handle_impl.cc",
167 "java/jni/native_handle_impl.h",
168 "java/jni/peerconnection_jni.cc",
169 "java/jni/surfacetexturehelper_jni.cc",
170 "java/jni/surfacetexturehelper_jni.h",
171 ] 171 ]
172 172
173 configs += [ 173 configs += [
174 "..:common_config", 174 "..:common_config",
175 ":libjingle_peerconnection_jni_warnings_config", 175 ":libjingle_peerconnection_jni_warnings_config",
176 ] 176 ]
177 public_configs = [ "..:common_inherited_config" ] 177 public_configs = [ "..:common_inherited_config" ]
178 178
179 if (is_clang) { 179 if (is_clang) {
180 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 180 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
(...skipping 25 matching lines...) Expand all
206 "$rtc_libyuv_dir", 206 "$rtc_libyuv_dir",
207 ] 207 ]
208 } else { 208 } else {
209 # Need to add a directory normally exported by libyuv. 209 # Need to add a directory normally exported by libyuv.
210 include_dirs += [ "$rtc_libyuv_dir/include" ] 210 include_dirs += [ "$rtc_libyuv_dir/include" ]
211 } 211 }
212 } 212 }
213 213
214 shared_library("libjingle_peerconnection_so") { 214 shared_library("libjingle_peerconnection_so") {
215 sources = [ 215 sources = [
216 "android/jni/jni_onload.cc", 216 "java/jni/jni_onload.cc",
217 ] 217 ]
218 218
219 configs -= [ "//build/config/android:hide_native_jni_exports" ] 219 configs -= [ "//build/config/android:hide_native_jni_exports" ]
220 220
221 deps = [ 221 deps = [
222 ":libjingle_peerconnection", 222 ":libjingle_peerconnection",
223 ":libjingle_peerconnection_jni", 223 ":libjingle_peerconnection_jni",
224 ] 224 ]
225 } 225 }
226 226
227 android_library("libjingle_peerconnection_java") { 227 android_library("libjingle_peerconnection_java") {
228 java_files = [ 228 java_files = [
229 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo .java", 229 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo .java",
230 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioEffects.java", 230 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioEffects.java",
231 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioManager.java", 231 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioManager.java",
232 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioRecord.java", 232 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioRecord.java",
233 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioTrack.java", 233 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioTrack.java",
234 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioUtils.java", 234 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud ioUtils.java",
235 "android/java/src/org/webrtc/AudioSource.java", 235 "java/android/org/webrtc/Camera1Enumerator.java",
236 "android/java/src/org/webrtc/AudioTrack.java", 236 "java/android/org/webrtc/Camera2Capturer.java",
237 "android/java/src/org/webrtc/CallSessionFileRotatingLogSink.java", 237 "java/android/org/webrtc/Camera2Enumerator.java",
238 "android/java/src/org/webrtc/Camera1Enumerator.java", 238 "java/android/org/webrtc/CameraEnumerationAndroid.java",
239 "android/java/src/org/webrtc/Camera2Capturer.java", 239 "java/android/org/webrtc/CameraEnumerator.java",
240 "android/java/src/org/webrtc/Camera2Enumerator.java", 240 "java/android/org/webrtc/CameraVideoCapturer.java",
241 "android/java/src/org/webrtc/CameraEnumerationAndroid.java", 241 "java/android/org/webrtc/EglBase.java",
242 "android/java/src/org/webrtc/CameraEnumerator.java", 242 "java/android/org/webrtc/EglBase10.java",
243 "android/java/src/org/webrtc/CameraVideoCapturer.java", 243 "java/android/org/webrtc/EglBase14.java",
244 "android/java/src/org/webrtc/DataChannel.java", 244 "java/android/org/webrtc/GlRectDrawer.java",
245 "android/java/src/org/webrtc/EglBase.java", 245 "java/android/org/webrtc/GlShader.java",
246 "android/java/src/org/webrtc/EglBase10.java", 246 "java/android/org/webrtc/GlTextureFrameBuffer.java",
247 "android/java/src/org/webrtc/EglBase14.java", 247 "java/android/org/webrtc/GlUtil.java",
248 "android/java/src/org/webrtc/GlRectDrawer.java", 248 "java/android/org/webrtc/NetworkMonitor.java",
249 "android/java/src/org/webrtc/GlShader.java", 249 "java/android/org/webrtc/NetworkMonitorAutoDetect.java",
250 "android/java/src/org/webrtc/GlTextureFrameBuffer.java", 250 "java/android/org/webrtc/RendererCommon.java",
251 "android/java/src/org/webrtc/GlUtil.java", 251 "java/android/org/webrtc/SurfaceTextureHelper.java",
252 "android/java/src/org/webrtc/IceCandidate.java", 252 "java/android/org/webrtc/SurfaceViewRenderer.java",
253 "android/java/src/org/webrtc/MediaCodecVideoDecoder.java", 253 "java/android/org/webrtc/VideoCapturerAndroid.java",
254 "android/java/src/org/webrtc/MediaCodecVideoEncoder.java", 254 "java/android/org/webrtc/VideoRendererGui.java",
255 "android/java/src/org/webrtc/MediaConstraints.java", 255 "java/src/org/webrtc/AudioSource.java",
256 "android/java/src/org/webrtc/MediaSource.java", 256 "java/src/org/webrtc/AudioTrack.java",
257 "android/java/src/org/webrtc/MediaStream.java", 257 "java/src/org/webrtc/CallSessionFileRotatingLogSink.java",
258 "android/java/src/org/webrtc/MediaStreamTrack.java", 258 "java/src/org/webrtc/DataChannel.java",
259 "android/java/src/org/webrtc/Metrics.java", 259 "java/src/org/webrtc/IceCandidate.java",
260 "android/java/src/org/webrtc/NetworkMonitor.java", 260 "java/src/org/webrtc/MediaCodecVideoDecoder.java",
261 "android/java/src/org/webrtc/NetworkMonitorAutoDetect.java", 261 "java/src/org/webrtc/MediaCodecVideoEncoder.java",
262 "android/java/src/org/webrtc/PeerConnection.java", 262 "java/src/org/webrtc/MediaConstraints.java",
263 "android/java/src/org/webrtc/PeerConnectionFactory.java", 263 "java/src/org/webrtc/MediaSource.java",
264 "android/java/src/org/webrtc/RendererCommon.java", 264 "java/src/org/webrtc/MediaStream.java",
265 "android/java/src/org/webrtc/RtpParameters.java", 265 "java/src/org/webrtc/MediaStreamTrack.java",
266 "android/java/src/org/webrtc/RtpReceiver.java", 266 "java/src/org/webrtc/Metrics.java",
267 "android/java/src/org/webrtc/RtpSender.java", 267 "java/src/org/webrtc/PeerConnection.java",
268 "android/java/src/org/webrtc/SdpObserver.java", 268 "java/src/org/webrtc/PeerConnectionFactory.java",
269 "android/java/src/org/webrtc/SessionDescription.java", 269 "java/src/org/webrtc/RtpParameters.java",
270 "android/java/src/org/webrtc/StatsObserver.java", 270 "java/src/org/webrtc/RtpReceiver.java",
271 "android/java/src/org/webrtc/StatsReport.java", 271 "java/src/org/webrtc/RtpSender.java",
272 "android/java/src/org/webrtc/SurfaceTextureHelper.java", 272 "java/src/org/webrtc/SdpObserver.java",
273 "android/java/src/org/webrtc/SurfaceViewRenderer.java", 273 "java/src/org/webrtc/SessionDescription.java",
274 "android/java/src/org/webrtc/VideoCapturer.java", 274 "java/src/org/webrtc/StatsObserver.java",
275 "android/java/src/org/webrtc/VideoCapturerAndroid.java", 275 "java/src/org/webrtc/StatsReport.java",
276 "android/java/src/org/webrtc/VideoRenderer.java", 276 "java/src/org/webrtc/VideoCapturer.java",
277 "android/java/src/org/webrtc/VideoRendererGui.java", 277 "java/src/org/webrtc/VideoRenderer.java",
278 "android/java/src/org/webrtc/VideoSource.java", 278 "java/src/org/webrtc/VideoSource.java",
279 "android/java/src/org/webrtc/VideoTrack.java", 279 "java/src/org/webrtc/VideoTrack.java",
280 ] 280 ]
281 281
282 deps = [ 282 deps = [
283 "//webrtc/base:base_java", 283 "//webrtc/base:base_java",
284 ] 284 ]
285 } 285 }
286 } 286 }
287 287
288 if (rtc_include_tests) { 288 if (rtc_include_tests) {
289 config("peerconnection_unittests_config") { 289 config("peerconnection_unittests_config") {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 "../pc:rtc_pc", 391 "../pc:rtc_pc",
392 "../system_wrappers:metrics_default", 392 "../system_wrappers:metrics_default",
393 "//testing/gmock", 393 "//testing/gmock",
394 ] 394 ]
395 395
396 if (is_android) { 396 if (is_android) {
397 deps += [ "//testing/android/native_test:native_test_support" ] 397 deps += [ "//testing/android/native_test:native_test_support" ]
398 } 398 }
399 } 399 }
400 } 400 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/android/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698