Index: webrtc/webrtc_examples.gyp |
diff --git a/webrtc/webrtc_examples.gyp b/webrtc/webrtc_examples.gyp |
index 4420d8dd64080f493d11d20f2f2d6a6d0ba4f3c8..b7e0b3c952556476ec27bf61964f676a7a9c8d29 100755 |
--- a/webrtc/webrtc_examples.gyp |
+++ b/webrtc/webrtc_examples.gyp |
@@ -461,6 +461,27 @@ |
'../build/android/test_runner.gypi', |
], |
}, |
+ |
+ { |
+ 'target_name': 'AppRTCDemoJUnitTest', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '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
|
+ '<(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.
|
+ '<(DEPTH)/base/base.gyp:base_java_test_support', |
+ '<(DEPTH)/base/base.gyp:base_junit_test_support', |
+ ], |
+ 'variables': { |
+ '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
|
+ 'src_paths': [ |
+ 'examples/androidjunit/', |
+ ], |
+ '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.
|
+ }, |
+ 'includes': [ |
+ '../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.
|
+ ], |
+ }, |
], # targets |
}], # OS=="android" |
], |