| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 android_resources("AppRTCMobile_resources") { | 87 android_resources("AppRTCMobile_resources") { |
| 88 resource_dirs = [ "androidapp/res" ] | 88 resource_dirs = [ "androidapp/res" ] |
| 89 custom_package = "org.appspot.apprtc" | 89 custom_package = "org.appspot.apprtc" |
| 90 } | 90 } |
| 91 | 91 |
| 92 instrumentation_test_apk("AppRTCMobileTest") { | 92 instrumentation_test_apk("AppRTCMobileTest") { |
| 93 apk_name = "AppRTCMobileTest" | 93 apk_name = "AppRTCMobileTest" |
| 94 android_manifest = "androidtests/AndroidManifest.xml" | 94 android_manifest = "androidtests/AndroidManifest.xml" |
| 95 | 95 |
| 96 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClien
tTest.java" ] | 96 java_files = [ |
| 97 "androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java", |
| 98 "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java", |
| 99 ] |
| 97 | 100 |
| 98 apk_under_test = ":AppRTCMobile" | 101 apk_under_test = ":AppRTCMobile" |
| 99 | 102 |
| 100 deps = [ | 103 deps = [ |
| 101 ":AppRTCMobile_javalib", | 104 ":AppRTCMobile_javalib", |
| 102 "//webrtc/api:libjingle_peerconnection_java", | 105 "//webrtc/api:libjingle_peerconnection_java", |
| 103 ] | 106 ] |
| 107 |
| 108 data = [ |
| 109 "//resources/reference_video_640x360_30fps_4frames.y4m", |
| 110 ] |
| 104 } | 111 } |
| 105 } | 112 } |
| 106 | 113 |
| 107 if (is_ios || (is_mac && target_cpu != "x86")) { | 114 if (is_ios || (is_mac && target_cpu != "x86")) { |
| 108 config("warnings_config") { | 115 config("warnings_config") { |
| 109 # GN orders flags on a target before flags from configs. The default config | 116 # GN orders flags on a target before flags from configs. The default config |
| 110 # adds these flags so to cancel them out they need to come from a config and | 117 # adds these flags so to cancel them out they need to come from a config and |
| 111 # cannot be on the target directly. | 118 # cannot be on the target directly. |
| 112 if (is_ios) { | 119 if (is_ios) { |
| 113 # Suppress compiler warnings about deprecated that triggered | 120 # Suppress compiler warnings about deprecated that triggered |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 "//webrtc/pc:rtc_pc", | 519 "//webrtc/pc:rtc_pc", |
| 513 "//webrtc/system_wrappers:field_trial_default", | 520 "//webrtc/system_wrappers:field_trial_default", |
| 514 "//webrtc/system_wrappers:metrics_default", | 521 "//webrtc/system_wrappers:metrics_default", |
| 515 ] | 522 ] |
| 516 if (!build_with_chromium && is_clang) { | 523 if (!build_with_chromium && is_clang) { |
| 517 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 524 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 525 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 519 } | 526 } |
| 520 } | 527 } |
| 521 } | 528 } |
| OLD | NEW |