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

Unified Diff: webrtc/BUILD.gn

Issue 2346793002: Fix android_junit_tests and add a GN target for them. (Closed)
Patch Set: Remove unrelated change. Created 4 years, 3 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 | « no previous file | webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/BUILD.gn
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index 2d722c91259ef29abcdcd8584619ce0a748c17a5..e2d6710965a3c4ac3f2a8e9b47345f282267c460 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -12,6 +12,10 @@ import("//build/config/linux/pkg_config.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("build/webrtc.gni")
import("//third_party/protobuf/proto_library.gni")
+if (is_android) {
+ import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
+}
# Contains the defines and includes in common.gypi that are duplicated both as
# target_defaults and direct_dependent_settings.
@@ -832,3 +836,14 @@ if (rtc_include_tests) {
}
}
}
+
+if (is_android) {
kjellander_webrtc 2016/09/16 11:13:34 Just put this into if (rtc_include_tests) { inste
+ junit_binary("android_junit_tests") {
+ java_files = [ "androidjunit/src/org/webrtc/CameraEnumerationTest.java" ]
+
+ deps = [
+ "//webrtc/api:libjingle_peerconnection_java",
+ "//webrtc/api:libjingle_peerconnection_jni",
+ ]
+ }
+}
« no previous file with comments | « no previous file | webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698