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

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

Issue 571863002: GN: Get //chrome/* mostly working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « components/sessions/BUILD.gn ('k') | 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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # The list of files in libaddressinput.gypi.
8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py",
10 [ rebase_path("src/cpp/libaddressinput.gypi") ],
11 "scope",
12 [ "src/cpp/libaddressinput.gypi" ])
13
14 libaddressinput_util_files = [ 7 libaddressinput_util_files = [
15 "src/cpp/src/address_data.cc", 8 "src/cpp/src/address_data.cc",
16 "src/cpp/src/address_field.cc", 9 "src/cpp/src/address_field.cc",
17 "src/cpp/src/address_field_util.cc", 10 "src/cpp/src/address_field_util.cc",
18 "src/cpp/src/address_formatter.cc", 11 "src/cpp/src/address_formatter.cc",
19 "src/cpp/src/address_metadata.cc", 12 "src/cpp/src/address_metadata.cc",
20 "src/cpp/src/address_ui.cc", 13 "src/cpp/src/address_ui.cc",
21 "src/cpp/src/format_element.cc", 14 "src/cpp/src/format_element.cc",
22 "src/cpp/src/language.cc", 15 "src/cpp/src/language.cc",
23 "src/cpp/src/localization.cc", 16 "src/cpp/src/localization.cc",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 118
126 deps = [ 119 deps = [
127 ":strings", 120 ":strings",
128 "//base", 121 "//base",
129 "//base:i18n", 122 "//base:i18n",
130 "//third_party/icu", 123 "//third_party/icu",
131 "//third_party/re2", 124 "//third_party/re2",
132 ] 125 ]
133 } 126 }
134 127
128 if (!is_android) {
129
130 # The list of files in libaddressinput.gypi.
131 gypi_values = exec_script(
132 "//build/gypi_to_gn.py",
133 [ rebase_path("src/cpp/libaddressinput.gypi") ],
134 "scope",
135 [ "src/cpp/libaddressinput.gypi" ])
136
137
135 # This target provides more complicated functionality like pinging servers 138 # This target provides more complicated functionality like pinging servers
136 # for validation rules. 139 # for validation rules.
137 # GYP version: third_party/libaddressinput/libaddressinput.gyp:libaddressinput 140 # GYP version: third_party/libaddressinput/libaddressinput.gyp:libaddressinput
138 static_library("libaddressinput") { 141 static_library("libaddressinput") {
139 sources = rebase_path(gypi_values.libaddressinput_files, ".", "src/cpp") 142 sources = rebase_path(gypi_values.libaddressinput_files, ".", "src/cpp")
140 sources += [ 143 sources += [
141 "chromium/chrome_address_validator.cc", 144 "chromium/chrome_address_validator.cc",
142 "chromium/chrome_metadata_source.cc", 145 "chromium/chrome_metadata_source.cc",
143 "chromium/chrome_storage_impl.cc", 146 "chromium/chrome_storage_impl.cc",
144 "chromium/fallback_data_store.cc", 147 "chromium/fallback_data_store.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 195
193 deps = [ 196 deps = [
194 ":libaddressinput", 197 ":libaddressinput",
195 ":strings", 198 ":strings",
196 "//base:prefs", 199 "//base:prefs",
197 "//base/test:run_all_unittests", 200 "//base/test:run_all_unittests",
198 "//net:test_support", 201 "//net:test_support",
199 "//testing/gtest", 202 "//testing/gtest",
200 ] 203 ]
201 } 204 }
205
206 } # !is_android
OLDNEW
« no previous file with comments | « components/sessions/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698