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

Unified Diff: third_party/libaddressinput/chromium/cpp/libaddressinput.gyp

Issue 106863006: [rac] Add AddressValidator API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo in comment. Created 7 years 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: third_party/libaddressinput/chromium/cpp/libaddressinput.gyp
diff --git a/third_party/libaddressinput/chromium/cpp/libaddressinput.gyp b/third_party/libaddressinput/chromium/cpp/libaddressinput.gyp
index 98c18507828cd62bd8a3e375e335790d61858586..4a9c00715bd9eef6ffd0ce64c18e286d72150651 100644
--- a/third_party/libaddressinput/chromium/cpp/libaddressinput.gyp
+++ b/third_party/libaddressinput/chromium/cpp/libaddressinput.gyp
@@ -33,7 +33,9 @@
'sources': [
'src/address_field.cc',
'src/address_field_util.cc',
+ 'src/address_problem.cc',
'src/address_ui.cc',
+ 'src/address_validator.cc',
'src/localization.cc',
'src/lookup_key_util.cc',
'src/region_data_constants.cc',
@@ -45,6 +47,9 @@
'src/validating_storage.cc',
'src/validating_util.cc',
],
+ 'defines': [
+ 'VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-address/"',
+ ],
'dependencies': [
'grit.gyp:generated_messages',
'rapidjson.gyp:rapidjson',
@@ -56,6 +61,7 @@
'sources': [
'test/address_field_util_test.cc',
'test/address_ui_test.cc',
+ 'test/address_validator_test.cc',
'test/fake_downloader.cc',
'test/fake_downloader_test.cc',
'test/fake_storage.cc',
@@ -74,6 +80,7 @@
],
'defines': [
'TEST_DATA_DIR="../testdata"',
+ 'VALIDATION_DATA_URL="test:///"',
],
'include_dirs': [
'src',

Powered by Google App Engine
This is Rietveld 408576698