| 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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 apk_name = "AppRTCMobile" | 55 apk_name = "AppRTCMobile" |
| 56 android_manifest = "androidapp/AndroidManifest.xml" | 56 android_manifest = "androidapp/AndroidManifest.xml" |
| 57 | 57 |
| 58 deps = [ | 58 deps = [ |
| 59 ":AppRTCMobile_javalib", | 59 ":AppRTCMobile_javalib", |
| 60 ":AppRTCMobile_resources", | 60 ":AppRTCMobile_resources", |
| 61 "//base:base_java", | 61 "//base:base_java", |
| 62 "//webrtc/base:base_java", | 62 "//webrtc/base:base_java", |
| 63 ] | 63 ] |
| 64 | 64 |
| 65 shared_libraries = [ "//webrtc/api:libjingle_peerconnection_so" ] | 65 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
| 66 } | 66 } |
| 67 | 67 |
| 68 android_library("AppRTCMobile_javalib") { | 68 android_library("AppRTCMobile_javalib") { |
| 69 java_files = [ | 69 java_files = [ |
| 70 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java", | 70 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java", |
| 71 "androidapp/src/org/appspot/apprtc/AppRTCClient.java", | 71 "androidapp/src/org/appspot/apprtc/AppRTCClient.java", |
| 72 "androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java", | 72 "androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java", |
| 73 "androidapp/src/org/appspot/apprtc/CallActivity.java", | 73 "androidapp/src/org/appspot/apprtc/CallActivity.java", |
| 74 "androidapp/src/org/appspot/apprtc/CallFragment.java", | 74 "androidapp/src/org/appspot/apprtc/CallFragment.java", |
| 75 "androidapp/src/org/appspot/apprtc/CaptureQualityController.java", | 75 "androidapp/src/org/appspot/apprtc/CaptureQualityController.java", |
| 76 "androidapp/src/org/appspot/apprtc/ConnectActivity.java", | 76 "androidapp/src/org/appspot/apprtc/ConnectActivity.java", |
| 77 "androidapp/src/org/appspot/apprtc/CpuMonitor.java", | 77 "androidapp/src/org/appspot/apprtc/CpuMonitor.java", |
| 78 "androidapp/src/org/appspot/apprtc/DirectRTCClient.java", | 78 "androidapp/src/org/appspot/apprtc/DirectRTCClient.java", |
| 79 "androidapp/src/org/appspot/apprtc/HudFragment.java", | 79 "androidapp/src/org/appspot/apprtc/HudFragment.java", |
| 80 "androidapp/src/org/appspot/apprtc/PeerConnectionClient.java", | 80 "androidapp/src/org/appspot/apprtc/PeerConnectionClient.java", |
| 81 "androidapp/src/org/appspot/apprtc/PercentFrameLayout.java", | 81 "androidapp/src/org/appspot/apprtc/PercentFrameLayout.java", |
| 82 "androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java", | 82 "androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java", |
| 83 "androidapp/src/org/appspot/apprtc/SettingsActivity.java", | 83 "androidapp/src/org/appspot/apprtc/SettingsActivity.java", |
| 84 "androidapp/src/org/appspot/apprtc/SettingsFragment.java", | 84 "androidapp/src/org/appspot/apprtc/SettingsFragment.java", |
| 85 "androidapp/src/org/appspot/apprtc/TCPChannelClient.java", | 85 "androidapp/src/org/appspot/apprtc/TCPChannelClient.java", |
| 86 "androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java", | 86 "androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java", |
| 87 "androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java", | 87 "androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java", |
| 88 "androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java", | 88 "androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java", |
| 89 "androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java", | 89 "androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java", |
| 90 "androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java", | 90 "androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java", |
| 91 ] | 91 ] |
| 92 | 92 |
| 93 deps = [ | 93 deps = [ |
| 94 ":AppRTCMobile_resources", | 94 ":AppRTCMobile_resources", |
| 95 "//webrtc/api:libjingle_peerconnection_java", | |
| 96 "//webrtc/api:libjingle_peerconnection_metrics_default_java", | |
| 97 "//webrtc/base:base_java", | 95 "//webrtc/base:base_java", |
| 98 "//webrtc/examples/androidapp/third_party/autobanh:autobanh_java", | 96 "//webrtc/examples/androidapp/third_party/autobanh:autobanh_java", |
| 97 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 98 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
| 99 ] | 99 ] |
| 100 } | 100 } |
| 101 | 101 |
| 102 android_resources("AppRTCMobile_resources") { | 102 android_resources("AppRTCMobile_resources") { |
| 103 resource_dirs = [ "androidapp/res" ] | 103 resource_dirs = [ "androidapp/res" ] |
| 104 custom_package = "org.appspot.apprtc" | 104 custom_package = "org.appspot.apprtc" |
| 105 } | 105 } |
| 106 | 106 |
| 107 instrumentation_test_apk("AppRTCMobileTest") { | 107 instrumentation_test_apk("AppRTCMobileTest") { |
| 108 apk_name = "AppRTCMobileTest" | 108 apk_name = "AppRTCMobileTest" |
| 109 android_manifest = "androidtests/AndroidManifest.xml" | 109 android_manifest = "androidtests/AndroidManifest.xml" |
| 110 | 110 |
| 111 java_files = [ | 111 java_files = [ |
| 112 "androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java", | 112 "androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java", |
| 113 "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java", | 113 "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java", |
| 114 "androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java", | 114 "androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java", |
| 115 ] | 115 ] |
| 116 | 116 |
| 117 apk_under_test = ":AppRTCMobile" | 117 apk_under_test = ":AppRTCMobile" |
| 118 | 118 |
| 119 deps = [ | 119 deps = [ |
| 120 ":AppRTCMobile_javalib", | 120 ":AppRTCMobile_javalib", |
| 121 "//webrtc/api:libjingle_peerconnection_java", | 121 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 122 ] | 122 ] |
| 123 | 123 |
| 124 data = [ | 124 data = [ |
| 125 "//webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvid
eo.y4m", | 125 "//webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvid
eo.y4m", |
| 126 ] | 126 ] |
| 127 } | 127 } |
| 128 } | 128 } |
| 129 | 129 |
| 130 if (is_ios || (is_mac && target_cpu != "x86")) { | 130 if (is_ios || (is_mac && target_cpu != "x86")) { |
| 131 config("warnings_config") { | 131 config("warnings_config") { |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 603 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 604 } | 604 } |
| 605 | 605 |
| 606 deps = [ | 606 deps = [ |
| 607 "../p2p:libstunprober", | 607 "../p2p:libstunprober", |
| 608 "../p2p:rtc_p2p", | 608 "../p2p:rtc_p2p", |
| 609 "../system_wrappers:field_trial_default", | 609 "../system_wrappers:field_trial_default", |
| 610 ] | 610 ] |
| 611 } | 611 } |
| 612 } | 612 } |
| OLD | NEW |