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

Unified Diff: components/infobars.gypi

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 | « chrome/chrome_browser_ui.gypi ('k') | components/infobars/core/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars.gypi
diff --git a/components/infobars.gypi b/components/infobars.gypi
index 8c2449c8ae098b9e9852a70c2ab88f3bfdce7503..a0e36a0052c45e914aa31b66e41016e3bc1d551a 100644
--- a/components/infobars.gypi
+++ b/components/infobars.gypi
@@ -48,4 +48,18 @@
],
},
],
+ 'conditions': [
+ ['OS == "android"', {
+ 'targets': [
+ {
+ 'target_name': 'infobar_delegate_java',
+ 'type': 'none',
+ 'variables': {
+ 'source_file': 'infobars/core/infobar_delegate.h',
+ },
+ 'includes': [ '../build/android/java_cpp_enum.gypi' ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/infobars/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698