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

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

Issue 2725423002: gn: Make grit() default to requiring qualified #includes. (Closed)
Patch Set: Created 3 years, 9 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 | « chromecast/app/BUILD.gn ('k') | tools/grit/grit_rule.gni » ('j') | 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("//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
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 }
OLDNEW
« no previous file with comments | « chromecast/app/BUILD.gn ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698