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

Side by Side Diff: third_party/libaddressinput/BUILD.gn

Issue 1444623002: Fix //third_party/libaddressinput:string target on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios_web_fix
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 libaddressinput_util_files = [ 8 libaddressinput_util_files = [
9 "src/cpp/src/address_data.cc", 9 "src/cpp/src/address_data.cc",
10 "src/cpp/src/address_field.cc", 10 "src/cpp/src/address_field.cc",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "address_input_strings_ta.pak", 85 "address_input_strings_ta.pak",
86 "address_input_strings_te.pak", 86 "address_input_strings_te.pak",
87 "address_input_strings_th.pak", 87 "address_input_strings_th.pak",
88 "address_input_strings_tr.pak", 88 "address_input_strings_tr.pak",
89 "address_input_strings_uk.pak", 89 "address_input_strings_uk.pak",
90 "address_input_strings_vi.pak", 90 "address_input_strings_vi.pak",
91 "address_input_strings_zh-CN.pak", 91 "address_input_strings_zh-CN.pak",
92 "address_input_strings_zh-TW.pak", 92 "address_input_strings_zh-TW.pak",
93 ] 93 ]
94 94
95 if (is_ios) {
96 # iOS uses "pt" for pt-BR" and "es-MX" for "es-419".
97 outputs -= [
98 "address_input_strings_pt-BR.pak",
99 "address_input_strings_es-419.pak",
100 ]
101 outputs += [
102 "address_input_strings_pt.pak",
103 "address_input_strings_es-MX.pak",
104 ]
105 }
106
95 configs = [ ":no-newline-eof-warning" ] 107 configs = [ ":no-newline-eof-warning" ]
96 } 108 }
97 109
98 config("libaddressinput_config") { 110 config("libaddressinput_config") {
99 defines = [ 111 defines = [
100 "I18N_ADDRESSINPUT_USE_BASICTYPES_OVERRIDE=1", 112 "I18N_ADDRESSINPUT_USE_BASICTYPES_OVERRIDE=1",
101 "I18N_ADDRESS_VALIDATION_DATA_URL=\"https://i18napis.appspot.com/ssl-aggrega te-address/\"", 113 "I18N_ADDRESS_VALIDATION_DATA_URL=\"https://i18napis.appspot.com/ssl-aggrega te-address/\"",
102 ] 114 ]
103 include_dirs = [ 115 include_dirs = [
104 "src/cpp/include", 116 "src/cpp/include",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 deps = [ 210 deps = [
199 ":libaddressinput", 211 ":libaddressinput",
200 ":strings", 212 ":strings",
201 "//base:prefs", 213 "//base:prefs",
202 "//base/test:run_all_unittests", 214 "//base/test:run_all_unittests",
203 "//net:test_support", 215 "//net:test_support",
204 "//testing/gtest", 216 "//testing/gtest",
205 ] 217 ]
206 } 218 }
207 } 219 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698