Index: webrtc/base/BUILD.gn |
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn |
index 947b7e81653f2739a754ce1b59f0337d049abcfa..cd4bc1fe43d1a47cf41cf9dfb536d160b97e06d5 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 |
@@ -681,3 +686,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", |
+ ] |
+ } |
+} |