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

Side by Side Diff: extensions/browser/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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 | « extensions/BUILD.gn ('k') | extensions/common/BUILD.gn » ('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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//extensions/extensions.gni") 7 import("//extensions/extensions.gni")
8 8
9 # GYP version: extensions/extensions.gyp:extensions_browser 9 # GYP version: extensions/extensions.gyp:extensions_browser
10 source_set("browser") { 10 source_set("browser") {
(...skipping 12 matching lines...) Expand all
23 "//extensions/common", 23 "//extensions/common",
24 "//extensions/common/api", 24 "//extensions/common/api",
25 "//extensions/common/api:api_registration", 25 "//extensions/common/api:api_registration",
26 "//extensions/strings", 26 "//extensions/strings",
27 "//google_apis", 27 "//google_apis",
28 "//skia", 28 "//skia",
29 "//third_party/leveldatabase", 29 "//third_party/leveldatabase",
30 "//third_party/re2", 30 "//third_party/re2",
31 ] 31 ]
32 32
33 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
34 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
35
33 if (enable_extensions) { 36 if (enable_extensions) {
34 # Includes all API implementations and the ExtensionsApiClient 37 # Includes all API implementations and the ExtensionsApiClient
35 # interface. Moving an API from src/chrome to src/extensions implies 38 # interface. Moving an API from src/chrome to src/extensions implies
36 # it can be cleanly disabled with enable_extensions=false. 39 # it can be cleanly disabled with enable_extensions=false.
37 # TODO: Eventually the entire extensions module should not be built 40 # TODO: Eventually the entire extensions module should not be built
38 # when enable_extensions=false. 41 # when enable_extensions=false.
39 sources = rebase_path(extensions_gypi_values.extensions_browser_sources, 42 sources = rebase_path(extensions_gypi_values.extensions_browser_sources,
40 ".", 43 ".",
41 "//extensions") 44 "//extensions")
42 45
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 93
91 win_or_mac_sources = rebase_path( 94 win_or_mac_sources = rebase_path(
92 extensions_gypi_values.extensions_browser_sources_win_or_mac, 95 extensions_gypi_values.extensions_browser_sources_win_or_mac,
93 ".", 96 ".",
94 "//extensions") 97 "//extensions")
95 sources += win_or_mac_sources 98 sources += win_or_mac_sources
96 } 99 }
97 } 100 }
98 } 101 }
99 } 102 }
100
101 if (is_win) {
102 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
103 }
104 } 103 }
OLDNEW
« no previous file with comments | « extensions/BUILD.gn ('k') | extensions/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698