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

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

Issue 2105803002: Add GN targets for AppRTC Demo on Android. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. 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 | « webrtc/base/BUILD.gn ('k') | webrtc/examples/androidapp/third_party/autobanh/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 #
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
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
9 if (is_android) {
10 import("//build/config/android/config.gni")
11 import("//build/config/android/rules.gni")
12 }
13
14 group("examples") {
15 deps = []
16
17 if (is_android && !build_with_chromium) {
18 deps += [ ":AppRTCDemo" ]
19 }
20 }
21
22 if (is_android && !build_with_chromium) {
23 android_apk("AppRTCDemo") {
24 apk_name = "AppRTCDemo"
25 android_manifest = "androidapp/AndroidManifest.xml"
26
27 deps = [
28 ":AppRTCDemo_lib",
29 ":AppRTCDemo_resources",
30 "//base:base_java",
31 "//webrtc/base:base_java",
32 ]
33
34 shared_libraries = [ "//webrtc/api:libjingle_peerconnection_so" ]
35 }
36
37 android_library("AppRTCDemo_lib") {
38 java_files = [
39 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java",
40 "androidapp/src/org/appspot/apprtc/AppRTCClient.java",
41 "androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java",
42 "androidapp/src/org/appspot/apprtc/CallActivity.java",
43 "androidapp/src/org/appspot/apprtc/CallFragment.java",
44 "androidapp/src/org/appspot/apprtc/CaptureQualityController.java",
45 "androidapp/src/org/appspot/apprtc/ConnectActivity.java",
46 "androidapp/src/org/appspot/apprtc/CpuMonitor.java",
47 "androidapp/src/org/appspot/apprtc/DirectRTCClient.java",
48 "androidapp/src/org/appspot/apprtc/HudFragment.java",
49 "androidapp/src/org/appspot/apprtc/PeerConnectionClient.java",
50 "androidapp/src/org/appspot/apprtc/PercentFrameLayout.java",
51 "androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java",
52 "androidapp/src/org/appspot/apprtc/SettingsActivity.java",
53 "androidapp/src/org/appspot/apprtc/SettingsFragment.java",
54 "androidapp/src/org/appspot/apprtc/TCPChannelClient.java",
55 "androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java",
56 "androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java",
57 "androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java",
58 "androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java",
59 "androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java",
60 "androidapp/src/org/appspot/apprtc/util/LooperExecutor.java",
61 ]
62
63 deps = [
64 ":AppRTCDemo_resources",
65 "//webrtc/api:libjingle_peerconnection_java",
66 "//webrtc/base:base_java",
67 "//webrtc/examples/androidapp/third_party/autobanh:autobanh_java",
68 ]
69 }
70
71 android_resources("AppRTCDemo_resources") {
72 resource_dirs = [ "androidapp/res" ]
73 custom_package = "org.appspot.apprtc"
74 }
75
76 instrumentation_test_apk("AppRTCDemoTest") {
77 apk_name = "AppRTCDemoTest"
78 android_manifest = "androidtests/AndroidManifest.xml"
79
80 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClien tTest.java" ]
81
82 apk_under_test = ":AppRTCDemo"
83
84 deps = [
85 ":AppRTCDemo_lib",
86 "//webrtc/api:libjingle_peerconnection_java",
87 ]
88 }
89
90 junit_binary("AppRTCDemoJUnitTest") {
91 java_files = [
92 "androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java",
93 "androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java",
94 "androidjunit/src/org/appspot/apprtc/util/LooperExecutorTest.java",
95 ]
96
97 deps = [
98 ":AppRTCDemo_lib",
99 "//webrtc/api:libjingle_peerconnection_java",
100 "//webrtc/api:libjingle_peerconnection_jni",
101 ]
102 }
103 }
OLDNEW
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/examples/androidapp/third_party/autobanh/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698