OLD | NEW |
---|---|
1 # Copyright (c) 2012 The WebRTC Project Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 9 'includes': [ |
10 '../talk/build/common.gypi', | 10 '../talk/build/common.gypi', |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
454 'java_in_dir': 'examples/androidtests', | 454 'java_in_dir': 'examples/androidtests', |
455 'is_test_apk': 1, | 455 'is_test_apk': 1, |
456 'test_type': 'instrumentation', | 456 'test_type': 'instrumentation', |
457 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', | 457 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', |
458 }, | 458 }, |
459 'includes': [ | 459 'includes': [ |
460 '../build/java_apk.gypi', | 460 '../build/java_apk.gypi', |
461 '../build/android/test_runner.gypi', | 461 '../build/android/test_runner.gypi', |
462 ], | 462 ], |
463 }, | 463 }, |
464 | |
465 { | |
466 'target_name': 'AppRTCDemoJUnitTest', | |
467 'type': 'none', | |
468 'dependencies': [ | |
469 'AppRTCDemo_apk', | |
kjellander_webrtc
2016/05/16 14:18:10
I think AppRTCDemo is the correct target to depend
sakal
2016/05/17 08:01:25
For some reason if I change this, tests won't comp
kjellander_webrtc
2016/05/17 08:22:48
Hmm, OK. Let's not bother spending time on that th
| |
470 '<(DEPTH)/base/base.gyp:base', | |
kjellander_webrtc
2016/05/16 14:18:10
Is 'base' really needed? Some of the Chromium test
sakal
2016/05/17 08:01:25
Right, I'll change this.
| |
471 '<(DEPTH)/base/base.gyp:base_java_test_support', | |
472 '<(DEPTH)/base/base.gyp:base_junit_test_support', | |
473 ], | |
474 'variables': { | |
475 'main_class': 'org.junit.runner.JUnitCore', | |
kjellander_webrtc
2016/05/16 14:18:10
What are the main differences between using this a
sakal
2016/05/17 08:01:25
I believe "org.chromium.testing.local.JunitTestMai
| |
476 'src_paths': [ | |
477 'examples/androidjunit/', | |
478 ], | |
479 'test_type': 'junit', | |
kjellander_webrtc
2016/05/16 14:18:10
To use all of Chromium's test framework for Androi
sakal
2016/05/17 08:01:25
Done.
| |
480 }, | |
481 'includes': [ | |
482 '../build/host_jar.gypi', | |
kjellander_webrtc
2016/05/16 14:18:10
The tests in Chromium uses includes build/android/
sakal
2016/05/17 08:01:25
Done.
| |
483 ], | |
484 }, | |
464 ], # targets | 485 ], # targets |
465 }], # OS=="android" | 486 }], # OS=="android" |
466 ], | 487 ], |
467 } | 488 } |
OLD | NEW |