| 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("no-newline-eof-warning") { | 9 config("no-newline-eof-warning") { |
| 10 if (is_clang) { | 10 if (is_clang) { |
| 11 cflags = [ "-Wno-newline-eof" ] | 11 cflags = [ "-Wno-newline-eof" ] |
| 12 } | 12 } |
| 13 } | 13 } |
| 14 | 14 |
| 15 grit("strings") { | 15 grit("strings") { |
| 16 source = "//chrome/app/address_input_strings.grd" | 16 source = "//chrome/app/address_input_strings.grd" |
| 17 |
| 18 # libaddressinput's tests just say `#include "messages.h"`. |
| 19 use_qualified_include = false |
| 20 |
| 17 outputs = [ | 21 outputs = [ |
| 18 "messages.h", | 22 "messages.h", |
| 19 "en_messages.cc", | 23 "en_messages.cc", |
| 20 ] | 24 ] |
| 21 foreach(locale, locales_with_fake_bidi) { | 25 foreach(locale, locales_with_fake_bidi) { |
| 22 outputs += [ "address_input_strings_$locale.pak" ] | 26 outputs += [ "address_input_strings_$locale.pak" ] |
| 23 } | 27 } |
| 24 | 28 |
| 25 configs = [ ":no-newline-eof-warning" ] | 29 configs = [ ":no-newline-eof-warning" ] |
| 26 } | 30 } |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 deps = [ | 211 deps = [ |
| 208 ":libaddressinput", | 212 ":libaddressinput", |
| 209 ":strings", | 213 ":strings", |
| 210 ":test_support", | 214 ":test_support", |
| 211 "//base/test:run_all_unittests", | 215 "//base/test:run_all_unittests", |
| 212 "//components/prefs", | 216 "//components/prefs", |
| 213 "//net:test_support", | 217 "//net:test_support", |
| 214 "//testing/gtest", | 218 "//testing/gtest", |
| 215 ] | 219 ] |
| 216 } | 220 } |
| OLD | NEW |