Index: webrtc/base/BUILD.gn |
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn |
index e971d0b0fee614ef289964018f65cd046fe6e1c1..94c4d81e3dc79a3d0e1d31617103eef5f21bde33 100644 |
--- a/webrtc/base/BUILD.gn |
+++ b/webrtc/base/BUILD.gn |
@@ -12,6 +12,11 @@ import("../build/webrtc.gni") |
import("//build_overrides/webrtc.gni") |
+if (is_android) { |
+ import("//build/config/android/config.gni") |
+ import("//build/config/android/rules.gni") |
+} |
+ |
config("rtc_base_approved_all_dependent_config") { |
if (is_mac && !build_with_chromium) { |
libs = [ "Foundation.framework" ] # needed for logging_mac.mm |
@@ -679,3 +684,17 @@ if (rtc_include_tests) { |
] |
} |
} |
+ |
+if (is_android) { |
+ android_library("base_java") { |
+ java_files = [ |
+ "java/src/org/webrtc/Logging.java", |
+ "java/src/org/webrtc/Size.java", |
+ "java/src/org/webrtc/ThreadUtils.java", |
+ ] |
+ |
+ deps = [ |
+ "//base:base_java", |
+ ] |
+ } |
+} |