OLD | NEW |
---|---|
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 'is_test_apk': 1, | 144 'is_test_apk': 1, |
145 'test_type': 'instrumentation', | 145 'test_type': 'instrumentation', |
146 'tested_apk_path': '', | 146 'tested_apk_path': '', |
147 'never_lint': 1, | 147 'never_lint': 1, |
148 }, | 148 }, |
149 'includes': [ | 149 'includes': [ |
150 '../../build/java_apk.gypi', | 150 '../../build/java_apk.gypi', |
151 '../../build/android/test_runner.gypi', | 151 '../../build/android/test_runner.gypi', |
152 ], | 152 ], |
153 }, | 153 }, |
154 | |
155 { | |
156 'target_name': 'android_junit_test', | |
kjellander_webrtc
2016/05/30 08:31:53
Since it's not called api_android_junit_tests, I e
kjellander_webrtc
2016/05/30 08:31:53
Please name this android_junit_tests to conform wi
magjed_webrtc
2016/05/30 12:47:07
Done, I moved the build target to webrtc_tests.gyp
magjed_webrtc
2016/05/30 12:47:07
Done.
kjellander_webrtc
2016/05/30 12:57:28
No that stuff is only needed for tests that run on
| |
157 'type': 'none', | |
158 'dependencies': [ | |
159 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection_java', | |
160 '<(DEPTH)/base/base.gyp:base_java', | |
161 '<(DEPTH)/base/base.gyp:base_java_test_support', | |
162 '<(DEPTH)/base/base.gyp:base_junit_test_support', | |
163 ], | |
164 'variables': { | |
165 'main_class': 'org.chromium.testing.local.JunitTestMain', | |
166 'src_paths': [ | |
167 'androidjunit/', | |
168 ], | |
169 'test_type': 'junit', | |
170 'wrapper_script_name': 'helper/<(_target_name)', | |
kjellander_webrtc
2016/05/30 08:31:53
Does compilation of this target generate a run_ sc
magjed_webrtc
2016/05/30 12:47:07
Yes, a working run script is generated :)
| |
171 }, | |
172 'includes': [ | |
173 '../../build/host_jar.gypi', | |
kjellander_webrtc
2016/05/30 08:31:53
sort alphabetically.
magjed_webrtc
2016/05/30 12:47:07
Done.
| |
174 '../../build/android/test_runner.gypi', | |
175 ], | |
176 }, | |
154 ], # targets | 177 ], # targets |
155 }], # OS=="android" | 178 }], # OS=="android" |
156 ['OS=="android"', { | 179 ['OS=="android"', { |
157 'targets': [ | 180 'targets': [ |
158 { | 181 { |
159 'target_name': 'peerconnection_unittests_apk_target', | 182 'target_name': 'peerconnection_unittests_apk_target', |
160 'type': 'none', | 183 'type': 'none', |
161 'dependencies': [ | 184 'dependencies': [ |
162 '<(apk_tests_path):peerconnection_unittests_apk', | 185 '<(apk_tests_path):peerconnection_unittests_apk', |
163 ], | 186 ], |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
197 '../build/isolate.gypi', | 220 '../build/isolate.gypi', |
198 ], | 221 ], |
199 'sources': [ | 222 'sources': [ |
200 'peerconnection_unittests.isolate', | 223 'peerconnection_unittests.isolate', |
201 ], | 224 ], |
202 }, | 225 }, |
203 ], # targets | 226 ], # targets |
204 }], # test_isolation_mode != "noop" | 227 }], # test_isolation_mode != "noop" |
205 ], # conditions | 228 ], # conditions |
206 } | 229 } |
OLD | NEW |