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 | 18 |
19 # libaddressinput just says `#include "messages.h"` for grit-generated | 19 # libaddressinput just says `#include "messages.h"` for grit-generated |
20 # headers. | 20 # headers. |
21 include_dirs = [ target_gen_dir ] | 21 include_dirs = [ target_gen_dir ] |
22 } | 22 } |
23 | 23 |
24 grit("strings") { | 24 grit("strings") { |
25 source = "//chrome/app/address_input_strings.grd" | 25 source = "address_input_strings.grd" |
26 | 26 |
27 outputs = [ | 27 outputs = [ |
28 "messages.h", | 28 "messages.h", |
29 "en_messages.cc", | 29 "en_messages.cc", |
30 ] | 30 ] |
31 foreach(locale, locales_with_fake_bidi) { | 31 foreach(locale, locales_with_fake_bidi) { |
32 outputs += [ "address_input_strings_$locale.pak" ] | 32 outputs += [ "address_input_strings_$locale.pak" ] |
33 } | 33 } |
34 | 34 |
35 configs = [ ":internal_config" ] | 35 configs = [ ":internal_config" ] |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 deps = [ | 227 deps = [ |
228 ":libaddressinput", | 228 ":libaddressinput", |
229 ":strings", | 229 ":strings", |
230 ":test_support", | 230 ":test_support", |
231 "//base/test:run_all_unittests", | 231 "//base/test:run_all_unittests", |
232 "//components/prefs", | 232 "//components/prefs", |
233 "//net:test_support", | 233 "//net:test_support", |
234 "//testing/gtest", | 234 "//testing/gtest", |
235 ] | 235 ] |
236 } | 236 } |
OLD | NEW |