Index: components/infobars/core/BUILD.gn |
diff --git a/components/infobars/core/BUILD.gn b/components/infobars/core/BUILD.gn |
index ed68337904a101558a9558a24e1ebf07e2cf8d92..89eca852f70bf6c6943f1af93081c3cfe578fb16 100644 |
--- a/components/infobars/core/BUILD.gn |
+++ b/components/infobars/core/BUILD.gn |
@@ -4,6 +4,11 @@ |
import("//build/config/ui.gni") |
+if (is_android) { |
+ import("//build/config/android/config.gni") |
+ import("//build/config/android/rules.gni") |
+} |
+ |
static_library("core") { |
sources = [ |
"confirm_infobar_delegate.cc", |
@@ -37,3 +42,12 @@ static_library("core") { |
deps += [ "//ui/native_theme" ] |
} |
} |
+ |
+if (is_android) { |
+ # GYP: //components/infobars.gypi:infobar_delegate_java |
+ java_cpp_enum("infobar_enums_java") { |
+ sources = [ |
+ "infobar_delegate.h", |
+ ] |
+ } |
+} |