Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: webrtc/test/BUILD.gn

Issue 2888093004: Removes usage of native base::android::GetApplicationContext() (Closed)
Patch Set: Fix modules unittests. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/sdk/android/src/jni/peerconnection_jni.cc ('k') | webrtc/test/android/AndroidManifest.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/BUILD.gn
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn
index aa6f322313c113657e97e50e215b957be5c80ef0..a0d262b165583f3910ed91db6129c9376ceda479 100644
--- a/webrtc/test/BUILD.gn
+++ b/webrtc/test/BUILD.gn
@@ -532,3 +532,17 @@ rtc_source_set("audio_codec_mocks") {
"//testing/gmock",
]
}
+
+if (is_android) {
+ android_library("native_test_java") {
+ testonly = true
+ java_files = [
+ "android/org/webrtc/native_test/RTCNativeUnitTest.java",
+ "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java",
+ ]
+ deps = [
+ "//testing/android/native_test:native_test_java",
+ "//webrtc/base:base_java",
+ ]
+ }
+}
« no previous file with comments | « webrtc/sdk/android/src/jni/peerconnection_jni.cc ('k') | webrtc/test/android/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698