Chromium Code Reviews| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 100 android_resources("AppRTCMobile_resources") { | 100 android_resources("AppRTCMobile_resources") { |
| 101 resource_dirs = [ "androidapp/res" ] | 101 resource_dirs = [ "androidapp/res" ] |
| 102 custom_package = "org.appspot.apprtc" | 102 custom_package = "org.appspot.apprtc" |
| 103 } | 103 } |
| 104 | 104 |
| 105 instrumentation_test_apk("AppRTCMobileTest") { | 105 instrumentation_test_apk("AppRTCMobileTest") { |
| 106 apk_name = "AppRTCMobileTest" | 106 apk_name = "AppRTCMobileTest" |
| 107 android_manifest = "androidtests/AndroidManifest.xml" | 107 android_manifest = "androidtests/AndroidManifest.xml" |
| 108 | 108 |
| 109 java_files = [ | 109 java_files = [ |
| 110 "androidtests/src/org/appspot/apprtc/test/ConnectActivityStubbedInputOutpu tTest.java", | |
| 110 "androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java", | 111 "androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java", |
| 111 "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java", | 112 "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java", |
| 112 "androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java", | 113 "androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java", |
| 113 ] | 114 ] |
| 114 | 115 |
| 115 apk_under_test = ":AppRTCMobile" | 116 apk_under_test = ":AppRTCMobile" |
| 116 | 117 |
| 117 deps = [ | 118 deps = [ |
| 118 ":AppRTCMobile_javalib", | 119 ":AppRTCMobile_javalib", |
| 120 "//base:base_java_test_support", | |
| 121 "//third_party/android_support_test_runner:rules_java", | |
| 122 "//third_party/android_support_test_runner:runner_java", | |
| 123 "//third_party/android_tools:android_support_v4_java", | |
| 124 "//third_party/espresso:espresso_all_java", | |
|
kjellander_webrtc
2016/12/17 18:13:41
Do you know all these are needed? I'd prefer a min
mandermo
2016/12/19 10:46:59
Removed unnecessary ones.
| |
| 125 "//third_party/hamcrest:hamcrest_java", | |
| 126 "//third_party/junit", | |
| 127 "//third_party/ub-uiautomator:ub_uiautomator_java", | |
| 119 "//webrtc/sdk/android:libjingle_peerconnection_java", | 128 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 120 ] | 129 ] |
| 121 | 130 |
| 122 data = [ | 131 data = [ |
| 123 "//webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvid eo.y4m", | 132 "//webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvid eo.y4m", |
| 124 ] | 133 ] |
| 125 } | 134 } |
| 126 } | 135 } |
| 127 | 136 |
| 128 if (is_ios || (is_mac && target_cpu != "x86")) { | 137 if (is_ios || (is_mac && target_cpu != "x86")) { |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 589 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 598 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 590 } | 599 } |
| 591 | 600 |
| 592 deps = [ | 601 deps = [ |
| 593 "../p2p:libstunprober", | 602 "../p2p:libstunprober", |
| 594 "../p2p:rtc_p2p", | 603 "../p2p:rtc_p2p", |
| 595 "../system_wrappers:field_trial_default", | 604 "../system_wrappers:field_trial_default", |
| 596 ] | 605 ] |
| 597 } | 606 } |
| 598 } | 607 } |
| OLD | NEW |