| Index: webrtc/BUILD.gn
|
| diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
|
| index 88c4e09c72af1cb5e9d56fb3651888a31d32c6c3..5b5ed165b809f6964b2b86b454e466e1faa3ae0c 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.
|
| @@ -827,4 +831,15 @@ if (rtc_include_tests) {
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| }
|
| +
|
| + if (is_android) {
|
| + junit_binary("android_junit_tests") {
|
| + java_files = [ "androidjunit/src/org/webrtc/CameraEnumerationTest.java" ]
|
| +
|
| + deps = [
|
| + "//webrtc/api:libjingle_peerconnection_java",
|
| + "//webrtc/api:libjingle_peerconnection_jni",
|
| + ]
|
| + }
|
| + }
|
| }
|
|
|