OLD | NEW |
| (Empty) |
1 # Copyright (c) 2013 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 # This file exists in two versions. A no-op version under | |
10 # webrtc/build/android_tests_noop.gyp and this one. This gyp file builds the | |
11 # tests (for Android) assuming that WebRTC is built inside a Chromium | |
12 # workspace. The no-op version is included when building WebRTC without | |
13 # Chromium. This is a workaround for the fact that 'includes' don't expand | |
14 # variables and that the relative location of apk_test.gypi is different for | |
15 # WebRTC when built as part of Chromium and when it is built without Chromium. | |
16 { | |
17 'includes': [ | |
18 'common.gypi', | |
19 ], | |
20 'targets': [ | |
21 { | |
22 'target_name': 'android_junit_tests', | |
23 'type': 'none', | |
24 'dependencies': [ | |
25 '<(webrtc_root)/api/api_java.gyp:libjingle_peerconnection_java', | |
26 '<(DEPTH)/base/base.gyp:base_java', | |
27 '<(DEPTH)/base/base.gyp:base_java_test_support', | |
28 '<(DEPTH)/base/base.gyp:base_junit_test_support', | |
29 ], | |
30 'variables': { | |
31 'main_class': 'org.chromium.testing.local.JunitTestMain', | |
32 'src_paths': [ | |
33 '../androidjunit/', | |
34 ], | |
35 'test_type': 'junit', | |
36 'wrapper_script_name': 'helper/<(_target_name)', | |
37 }, | |
38 'includes': [ | |
39 '../../build/android/test_runner.gypi', | |
40 '../../build/host_jar.gypi', | |
41 ], | |
42 }, | |
43 ], | |
44 } | |
OLD | NEW |