| OLD | NEW |
| 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 libaddressinput_util_files = [ | 7 libaddressinput_util_files = [ |
| 8 "src/cpp/src/address_data.cc", | 8 "src/cpp/src/address_data.cc", |
| 9 "src/cpp/src/address_field.cc", | 9 "src/cpp/src/address_field.cc", |
| 10 "src/cpp/src/address_field_util.cc", | 10 "src/cpp/src/address_field_util.cc", |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 "chromium/addressinput_util.cc", | 105 "chromium/addressinput_util.cc", |
| 106 "chromium/json.cc", | 106 "chromium/json.cc", |
| 107 ] | 107 ] |
| 108 sources -= [ | 108 sources -= [ |
| 109 "src/cpp/src/util/json.cc", | 109 "src/cpp/src/util/json.cc", |
| 110 ] | 110 ] |
| 111 | 111 |
| 112 configs -= [ "//build/config/compiler:chromium_code" ] | 112 configs -= [ "//build/config/compiler:chromium_code" ] |
| 113 configs += [ "//build/config/compiler:no_chromium_code" ] | 113 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 114 | 114 |
| 115 direct_dependent_configs = [ ":libaddressinput_config" ] | 115 public_configs = [ ":libaddressinput_config" ] |
| 116 | 116 |
| 117 include_dirs = [ "$root_gen_dir/third_party/libaddressinput" ] | 117 include_dirs = [ "$root_gen_dir/third_party/libaddressinput" ] |
| 118 | 118 |
| 119 deps = [ | 119 deps = [ |
| 120 ":strings", | 120 ":strings", |
| 121 "//base", | 121 "//base", |
| 122 "//base:i18n", | 122 "//base:i18n", |
| 123 "//third_party/icu", | 123 "//third_party/icu", |
| 124 "//third_party/re2", | 124 "//third_party/re2", |
| 125 ] | 125 ] |
| (...skipping 24 matching lines...) Expand all Loading... |
| 150 "chromium/trie.cc", | 150 "chromium/trie.cc", |
| 151 ] | 151 ] |
| 152 sources -= libaddressinput_util_files | 152 sources -= libaddressinput_util_files |
| 153 sources -= [ | 153 sources -= [ |
| 154 "src/cpp/src/util/string_compare.cc", | 154 "src/cpp/src/util/string_compare.cc", |
| 155 ] | 155 ] |
| 156 | 156 |
| 157 configs -= [ "//build/config/compiler:chromium_code" ] | 157 configs -= [ "//build/config/compiler:chromium_code" ] |
| 158 configs += [ "//build/config/compiler:no_chromium_code" ] | 158 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 159 | 159 |
| 160 direct_dependent_configs = [ ":libaddressinput_config" ] | 160 public_configs = [ ":libaddressinput_config" ] |
| 161 | 161 |
| 162 deps = [ | 162 deps = [ |
| 163 ":strings", | 163 ":strings", |
| 164 ":util", | 164 ":util", |
| 165 "//base", | 165 "//base", |
| 166 "//base:i18n", | 166 "//base:i18n", |
| 167 "//third_party/icu", | 167 "//third_party/icu", |
| 168 "//third_party/re2", | 168 "//third_party/re2", |
| 169 ] | 169 ] |
| 170 } | 170 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 197 ":libaddressinput", | 197 ":libaddressinput", |
| 198 ":strings", | 198 ":strings", |
| 199 "//base:prefs", | 199 "//base:prefs", |
| 200 "//base/test:run_all_unittests", | 200 "//base/test:run_all_unittests", |
| 201 "//net:test_support", | 201 "//net:test_support", |
| 202 "//testing/gtest", | 202 "//testing/gtest", |
| 203 ] | 203 ] |
| 204 } | 204 } |
| 205 | 205 |
| 206 } # !is_android | 206 } # !is_android |
| OLD | NEW |