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

Unified Diff: components/autofill.gypi

Issue 925593006: Pass all info to account chooser infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java_cpp_enum
Patch Set: Created 5 years, 10 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
Index: components/autofill.gypi
diff --git a/components/autofill.gypi b/components/autofill.gypi
index 21d98fdbbf1e233e984b340ee69ffa753ea2b17b..60df3b4bdf4f6884a8ece5d0d64bc3f6f57cbc71 100644
--- a/components/autofill.gypi
+++ b/components/autofill.gypi
@@ -66,8 +66,15 @@
'autofill/core/common/web_element_descriptor.cc',
'autofill/core/common/web_element_descriptor.h',
],
+ 'conditions': [
+ ['OS == "android"', {
+ 'dependencies': [
+ 'autofill_jni_headers',
+ ]
+ }]
+ ],
},
-
+
{
# GN version: //components/autofill/core/browser
'target_name': 'autofill_core_browser',
@@ -285,6 +292,33 @@
},
],
'conditions': [
+ ['OS == "android"', {
+ 'targets': [
+ {
+ 'target_name': 'autofill_core_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ 'variables': {
+ 'java_in_dir': 'autofill/core/common/android/java',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ },
+ {
+ 'target_name': 'autofill_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'autofill/core/common/android/java/src/org/chromium/components/autofill/core/common/Credential.java'
+ ],
+ 'variables': {
+ 'jni_gen_package': 'autofill_core_common',
+ 'package_name': 'org/chromium/components/autofill/core/common',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ }]
+ }],
+
['OS != "ios"', {
'targets': [
{

Powered by Google App Engine
This is Rietveld 408576698