| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//build/config/locales.gni") | 6 import("//build/config/locales.gni") |
| 7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
| 8 | 8 |
| 9 config("internal_config") { | 9 config("internal_config") { |
| 10 if (is_clang) { | 10 if (is_clang) { |
| 11 cflags = [ | 11 cflags = [ |
| 12 "-Wno-newline-eof", | 12 "-Wno-newline-eof", |
| 13 | 13 |
| 14 # md5.cc uses "register". TODO(thakis): Fix. | 14 # md5.cc uses "register". TODO(thakis): Fix. |
| 15 "-Wno-deprecated-register", | 15 "-Wno-deprecated-register", |
| 16 ] | 16 ] |
| 17 } | 17 } |
| 18 |
| 19 # libaddressinput just says `#include "messages.h"` for grit-generated |
| 20 # headers. |
| 21 include_dirs = [ target_gen_dir ] |
| 18 } | 22 } |
| 19 | 23 |
| 20 grit("strings") { | 24 grit("strings") { |
| 21 source = "//chrome/app/address_input_strings.grd" | 25 source = "//chrome/app/address_input_strings.grd" |
| 22 | 26 |
| 23 # libaddressinput's tests just say `#include "messages.h"`. | |
| 24 use_qualified_include = false | |
| 25 | |
| 26 outputs = [ | 27 outputs = [ |
| 27 "messages.h", | 28 "messages.h", |
| 28 "en_messages.cc", | 29 "en_messages.cc", |
| 29 ] | 30 ] |
| 30 foreach(locale, locales_with_fake_bidi) { | 31 foreach(locale, locales_with_fake_bidi) { |
| 31 outputs += [ "address_input_strings_$locale.pak" ] | 32 outputs += [ "address_input_strings_$locale.pak" ] |
| 32 } | 33 } |
| 33 | 34 |
| 34 configs = [ ":internal_config" ] | 35 configs = [ ":internal_config" ] |
| 35 } | 36 } |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 deps = [ | 233 deps = [ |
| 233 ":libaddressinput", | 234 ":libaddressinput", |
| 234 ":strings", | 235 ":strings", |
| 235 ":test_support", | 236 ":test_support", |
| 236 "//base/test:run_all_unittests", | 237 "//base/test:run_all_unittests", |
| 237 "//components/prefs", | 238 "//components/prefs", |
| 238 "//net:test_support", | 239 "//net:test_support", |
| 239 "//testing/gtest", | 240 "//testing/gtest", |
| 240 ] | 241 ] |
| 241 } | 242 } |
| OLD | NEW |