OLD | NEW |
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 if (is_android) { | 10 if (is_android) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 android_manifest = "androidapp/AndroidManifest.xml" | 55 android_manifest = "androidapp/AndroidManifest.xml" |
56 | 56 |
57 deps = [ | 57 deps = [ |
58 ":AppRTCMobile_javalib", | 58 ":AppRTCMobile_javalib", |
59 ":AppRTCMobile_resources", | 59 ":AppRTCMobile_resources", |
60 "../rtc_base:base_java", | 60 "../rtc_base:base_java", |
61 "//base:base_java", | 61 "//base:base_java", |
62 ] | 62 ] |
63 | 63 |
64 shared_libraries = [ "../sdk/android:libjingle_peerconnection_so" ] | 64 shared_libraries = [ "../sdk/android:libjingle_peerconnection_so" ] |
| 65 |
| 66 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 |
| 67 no_build_hooks = true |
65 } | 68 } |
66 | 69 |
67 android_library("AppRTCMobile_javalib") { | 70 android_library("AppRTCMobile_javalib") { |
68 testonly = true | 71 testonly = true |
69 android_manifest = "androidapp/AndroidManifest.xml" | 72 android_manifest = "androidapp/AndroidManifest.xml" |
70 | 73 |
71 java_files = [ | 74 java_files = [ |
72 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java", | 75 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java", |
73 "androidapp/src/org/appspot/apprtc/AppRTCBluetoothManager.java", | 76 "androidapp/src/org/appspot/apprtc/AppRTCBluetoothManager.java", |
74 "androidapp/src/org/appspot/apprtc/AppRTCClient.java", | 77 "androidapp/src/org/appspot/apprtc/AppRTCClient.java", |
(...skipping 18 matching lines...) Expand all Loading... |
93 ] | 96 ] |
94 | 97 |
95 deps = [ | 98 deps = [ |
96 ":AppRTCMobile_resources", | 99 ":AppRTCMobile_resources", |
97 "../modules/audio_device:audio_device_java", | 100 "../modules/audio_device:audio_device_java", |
98 "../rtc_base:base_java", | 101 "../rtc_base:base_java", |
99 "../sdk/android:libjingle_peerconnection_java", | 102 "../sdk/android:libjingle_peerconnection_java", |
100 "../sdk/android:libjingle_peerconnection_metrics_default_java", | 103 "../sdk/android:libjingle_peerconnection_metrics_default_java", |
101 "androidapp/third_party/autobanh:autobanh_java", | 104 "androidapp/third_party/autobanh:autobanh_java", |
102 ] | 105 ] |
| 106 |
| 107 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 |
| 108 no_build_hooks = true |
103 } | 109 } |
104 | 110 |
105 android_resources("AppRTCMobile_resources") { | 111 android_resources("AppRTCMobile_resources") { |
106 testonly = true | 112 testonly = true |
107 resource_dirs = [ "androidapp/res" ] | 113 resource_dirs = [ "androidapp/res" ] |
108 custom_package = "org.appspot.apprtc" | 114 custom_package = "org.appspot.apprtc" |
109 } | 115 } |
110 | 116 |
111 instrumentation_test_apk("AppRTCMobileTest") { | 117 instrumentation_test_apk("AppRTCMobileTest") { |
112 apk_name = "AppRTCMobileTest" | 118 apk_name = "AppRTCMobileTest" |
113 android_manifest = "androidtests/AndroidManifest.xml" | 119 android_manifest = "androidtests/AndroidManifest.xml" |
114 | 120 |
115 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClien
tTest.java" ] | 121 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClien
tTest.java" ] |
116 | 122 |
117 apk_under_test = ":AppRTCMobile" | 123 apk_under_test = ":AppRTCMobile" |
118 | 124 |
119 deps = [ | 125 deps = [ |
120 ":AppRTCMobile_javalib", | 126 ":AppRTCMobile_javalib", |
121 "../sdk/android:libjingle_peerconnection_java", | 127 "../sdk/android:libjingle_peerconnection_java", |
122 "//base:base_java_test_support", | 128 "//base:base_java_test_support", |
123 "//third_party/android_support_test_runner:runner_java", | 129 "//third_party/android_support_test_runner:runner_java", |
124 "//third_party/junit", | 130 "//third_party/junit", |
125 ] | 131 ] |
| 132 |
| 133 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 |
| 134 no_build_hooks = true |
126 } | 135 } |
127 | 136 |
128 instrumentation_test_apk("AppRTCMobileTestStubbedVideoIO") { | 137 instrumentation_test_apk("AppRTCMobileTestStubbedVideoIO") { |
129 apk_name = "AppRTCMobileTestStubbedVideoIO" | 138 apk_name = "AppRTCMobileTestStubbedVideoIO" |
130 android_manifest = "androidtests/AndroidManifest.xml" | 139 android_manifest = "androidtests/AndroidManifest.xml" |
131 | 140 |
132 java_files = [ "androidtests/src/org/appspot/apprtc/test/CallActivityStubbed
InputOutputTest.java" ] | 141 java_files = [ "androidtests/src/org/appspot/apprtc/test/CallActivityStubbed
InputOutputTest.java" ] |
133 | 142 |
134 apk_under_test = ":AppRTCMobile" | 143 apk_under_test = ":AppRTCMobile" |
135 | 144 |
136 deps = [ | 145 deps = [ |
137 ":AppRTCMobile_javalib", | 146 ":AppRTCMobile_javalib", |
138 "../sdk/android:libjingle_peerconnection_java", | 147 "../sdk/android:libjingle_peerconnection_java", |
139 "//third_party/android_support_test_runner:rules_java", | 148 "//third_party/android_support_test_runner:rules_java", |
140 "//third_party/android_support_test_runner:runner_java", | 149 "//third_party/android_support_test_runner:runner_java", |
141 "//third_party/espresso:espresso_all_java", | 150 "//third_party/espresso:espresso_all_java", |
142 "//third_party/hamcrest:hamcrest_java", | 151 "//third_party/hamcrest:hamcrest_java", |
143 "//third_party/junit", | 152 "//third_party/junit", |
144 ] | 153 ] |
145 | 154 |
146 data = [ | 155 data = [ |
147 "../../resources/reference_video_640x360_30fps.y4m", | 156 "../../resources/reference_video_640x360_30fps.y4m", |
148 ] | 157 ] |
| 158 |
| 159 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 |
| 160 no_build_hooks = true |
149 } | 161 } |
150 } | 162 } |
151 | 163 |
152 if (is_ios || (is_mac && target_cpu != "x86")) { | 164 if (is_ios || (is_mac && target_cpu != "x86")) { |
153 config("apprtc_common_config") { | 165 config("apprtc_common_config") { |
154 include_dirs = [ "objc/AppRTCMobile/common" ] | 166 include_dirs = [ "objc/AppRTCMobile/common" ] |
155 } | 167 } |
156 | 168 |
157 rtc_static_library("apprtc_common") { | 169 rtc_static_library("apprtc_common") { |
158 testonly = true | 170 testonly = true |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 | 716 |
705 deps = [ | 717 deps = [ |
706 "../p2p:libstunprober", | 718 "../p2p:libstunprober", |
707 "../p2p:rtc_p2p", | 719 "../p2p:rtc_p2p", |
708 "../rtc_base:rtc_base", | 720 "../rtc_base:rtc_base", |
709 "../rtc_base:rtc_base_approved", | 721 "../rtc_base:rtc_base_approved", |
710 "../system_wrappers:field_trial_default", | 722 "../system_wrappers:field_trial_default", |
711 ] | 723 ] |
712 } | 724 } |
713 } | 725 } |
OLD | NEW |