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

Unified Diff: components/infobars/core/BUILD.gn

Issue 1596713003: Discourage creation of Java infobars without InfoBarDelegates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 4 years, 11 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 | « components/infobars.gypi ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
+}
« no previous file with comments | « components/infobars.gypi ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698