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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (C) 2013 Google Inc. 1 # Copyright (C) 2013 Google Inc.
2 # 2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 5 # You may obtain a copy of the License at
6 # 6 #
7 # http://www.apache.org/licenses/LICENSE-2.0 7 # http://www.apache.org/licenses/LICENSE-2.0
8 # 8 #
9 # Unless required by applicable law or agreed to in writing, software 9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 10 # distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 15 matching lines...) Expand all
26 'include', 26 'include',
27 ], 27 ],
28 }, 28 },
29 'targets': [ 29 'targets': [
30 { 30 {
31 'target_name': 'libaddressinput', 31 'target_name': 'libaddressinput',
32 'type': '<(component)', 32 'type': '<(component)',
33 'sources': [ 33 'sources': [
34 'src/address_field.cc', 34 'src/address_field.cc',
35 'src/address_field_util.cc', 35 'src/address_field_util.cc',
36 'src/address_problem.cc',
36 'src/address_ui.cc', 37 'src/address_ui.cc',
38 'src/address_validator.cc',
37 'src/localization.cc', 39 'src/localization.cc',
38 'src/lookup_key_util.cc', 40 'src/lookup_key_util.cc',
39 'src/region_data_constants.cc', 41 'src/region_data_constants.cc',
40 'src/retriever.cc', 42 'src/retriever.cc',
41 'src/rule.cc', 43 'src/rule.cc',
42 'src/rule_retriever.cc', 44 'src/rule_retriever.cc',
43 'src/util/json.cc', 45 'src/util/json.cc',
44 'src/util/md5.cc', 46 'src/util/md5.cc',
45 'src/validating_storage.cc', 47 'src/validating_storage.cc',
46 'src/validating_util.cc', 48 'src/validating_util.cc',
47 ], 49 ],
50 'defines': [
51 'VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-address/"',
52 ],
48 'dependencies': [ 53 'dependencies': [
49 'grit.gyp:generated_messages', 54 'grit.gyp:generated_messages',
50 'rapidjson.gyp:rapidjson', 55 'rapidjson.gyp:rapidjson',
51 ], 56 ],
52 }, 57 },
53 { 58 {
54 'target_name': 'unit_tests', 59 'target_name': 'unit_tests',
55 'type': 'executable', 60 'type': 'executable',
56 'sources': [ 61 'sources': [
57 'test/address_field_util_test.cc', 62 'test/address_field_util_test.cc',
58 'test/address_ui_test.cc', 63 'test/address_ui_test.cc',
64 'test/address_validator_test.cc',
59 'test/fake_downloader.cc', 65 'test/fake_downloader.cc',
60 'test/fake_downloader_test.cc', 66 'test/fake_downloader_test.cc',
61 'test/fake_storage.cc', 67 'test/fake_storage.cc',
62 'test/fake_storage_test.cc', 68 'test/fake_storage_test.cc',
63 'test/localization_test.cc', 69 'test/localization_test.cc',
64 'test/lookup_key_util_test.cc', 70 'test/lookup_key_util_test.cc',
65 'test/region_data_constants_test.cc', 71 'test/region_data_constants_test.cc',
66 'test/retriever_test.cc', 72 'test/retriever_test.cc',
67 'test/rule_retriever_test.cc', 73 'test/rule_retriever_test.cc',
68 'test/rule_test.cc', 74 'test/rule_test.cc',
69 'test/util/json_test.cc', 75 'test/util/json_test.cc',
70 'test/util/md5_unittest.cc', 76 'test/util/md5_unittest.cc',
71 'test/util/scoped_ptr_unittest.cc', 77 'test/util/scoped_ptr_unittest.cc',
72 'test/validating_storage_test.cc', 78 'test/validating_storage_test.cc',
73 'test/validating_util_test.cc', 79 'test/validating_util_test.cc',
74 ], 80 ],
75 'defines': [ 81 'defines': [
76 'TEST_DATA_DIR="../testdata"', 82 'TEST_DATA_DIR="../testdata"',
83 'VALIDATION_DATA_URL="test:///"',
77 ], 84 ],
78 'include_dirs': [ 85 'include_dirs': [
79 'src', 86 'src',
80 ], 87 ],
81 'dependencies': [ 88 'dependencies': [
82 'libaddressinput', 89 'libaddressinput',
83 'gtest.gyp:main', 90 'gtest.gyp:main',
84 ], 91 ],
85 'conditions': [ 92 'conditions': [
86 [ 'OS == "mac"', { 93 [ 'OS == "mac"', {
(...skipping 12 matching lines...) Expand all
99 '@executable_path/libaddressinput.dylib', 106 '@executable_path/libaddressinput.dylib',
100 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' 107 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
101 ], 108 ],
102 }, 109 },
103 ], 110 ],
104 }], 111 }],
105 ], 112 ],
106 }, 113 },
107 ], 114 ],
108 } 115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698