summaryrefslogtreecommitdiffstats
path: root/components/autofill.gypi
diff options
context:
space:
mode:
authorapiccion@chromium.org <apiccion@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 07:05:00 +0000
committerapiccion@chromium.org <apiccion@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 07:05:00 +0000
commit1c2f1007002184c0ea9668352d4ac4748dde4586 (patch)
treee0d585298c6103b6f0ee875483cdd789fd8d207e /components/autofill.gypi
parent8a5b386945d0ed8a702c3b882e23224dca919ebe (diff)
downloadchromium_src-1c2f1007002184c0ea9668352d4ac4748dde4586.zip
chromium_src-1c2f1007002184c0ea9668352d4ac4748dde4586.tar.gz
chromium_src-1c2f1007002184c0ea9668352d4ac4748dde4586.tar.bz2
Added personal_data_manager android implementation for auto-populating auto-fill on android builds
Enabled auxiliary autofill profile for Android builds. Fixed unit tests for android version for autofill. Disabled autofill address population until we can parse the info from the contacts. Added permissions READ_CONTACTS and READ_PROFILE to testshell. These permissions are required to read the user's contact information using the ContactsContract and ContactsContract.Profile API. TBR=thakis@chromium.org,joi@chromium.org BUG=173268 Review URL: https://chromiumcodereview.appspot.com/12282004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill.gypi')
-rw-r--r--components/autofill.gypi48
1 files changed, 45 insertions, 3 deletions
diff --git a/components/autofill.gypi b/components/autofill.gypi
index 815c51d..7c7be31 100644
--- a/components/autofill.gypi
+++ b/components/autofill.gypi
@@ -41,9 +41,6 @@
{
'target_name': 'autofill_common',
'type': 'static_library',
- 'include_dirs': [
- '..',
- ],
'dependencies': [
'../base/base.gyp:base',
'../build/temp_gyp/googleurl.gyp:googleurl',
@@ -52,7 +49,25 @@
'../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
'../ui/ui.gyp:ui',
],
+ 'conditions': [
+ ['OS == "android"', {
+ 'dependencies': [
+ 'autofill_jni_headers',
+ ],
+ }],
+ ],
+ 'include_dirs': [
+ '..',
+ '<(SHARED_INTERMEDIATE_DIR)/autofill'
+ ],
'sources': [
+ 'autofill/browser/android/auxiliary_profile_loader_android.cc',
+ 'autofill/browser/android/auxiliary_profile_loader_android.h',
+ 'autofill/browser/android/auxiliary_profiles_android.cc',
+ 'autofill/browser/android/auxiliary_profiles_android.h',
+ 'autofill/browser/android/component_jni_registrar.cc',
+ 'autofill/browser/android/component_jni_registrar.h',
+ 'autofill/browser/android/personal_data_manager_android.cc',
'autofill/common/autocheckout_status.h',
'autofill/common/autofill_constants.cc',
'autofill/common/autofill_constants.h',
@@ -79,5 +94,32 @@
},
],
}],
+ ['OS == "android"', {
+ 'targets': [
+ {
+ 'target_name': 'autofill_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_java',
+ ],
+ 'variables': {
+ 'java_in_dir': 'autofill/browser/android/java',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ },
+ {
+ 'target_name': 'autofill_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'autofill/browser/android/java/src/org/chromium/components/browser/autofill/PersonalAutofillPopulator.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'autofill',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ ],
+ }],
],
}