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

Side by Side Diff: chrome/browser/devtools/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 | « cc/BUILD.gn ('k') | chrome/common/net/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 if (!is_android) { 5 if (!is_android) {
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 } 7 }
8 8
9 action("devtools_protocol_constants") { 9 action("devtools_protocol_constants") {
10 script = "devtools_protocol_constants_generator.py" 10 script = "devtools_protocol_constants_generator.py"
(...skipping 29 matching lines...) Expand all
40 "devtools_network_protocol_handler.h", 40 "devtools_network_protocol_handler.h",
41 "devtools_network_transaction.cc", 41 "devtools_network_transaction.cc",
42 "devtools_network_transaction.h", 42 "devtools_network_transaction.h",
43 "devtools_network_transaction_factory.cc", 43 "devtools_network_transaction_factory.cc",
44 "devtools_network_transaction_factory.h", 44 "devtools_network_transaction_factory.h",
45 "devtools_protocol.cc", 45 "devtools_protocol.cc",
46 "devtools_protocol.h", 46 "devtools_protocol.h",
47 ] 47 ]
48 sources += get_target_outputs(":devtools_protocol_constants") 48 sources += get_target_outputs(":devtools_protocol_constants")
49 49
50 if (is_win) {
51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
52 cflags = [ "/wd4267" ]
53 }
54 configs += [ 50 configs += [
51 "//build/config/compiler:no_size_t_to_int_warning",
55 "//build/config/compiler:wexit_time_destructors", 52 "//build/config/compiler:wexit_time_destructors",
56 "//third_party/WebKit/public:debug_devtools", 53 "//third_party/WebKit/public:debug_devtools",
57 ] 54 ]
58 55
59 deps = [ 56 deps = [
60 ":devtools_protocol_constants", 57 ":devtools_protocol_constants",
61 "//base", 58 "//base",
62 "//content/public/browser", 59 "//content/public/browser",
63 "//net", 60 "//net",
64 ] 61 ]
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 source = "device/webrtc/resources.grd" 140 source = "device/webrtc/resources.grd"
144 output_dir = "$root_gen_dir/chrome" 141 output_dir = "$root_gen_dir/chrome"
145 outputs = [ 142 outputs = [
146 "grit/webrtc_device_provider_resources.h", 143 "grit/webrtc_device_provider_resources.h",
147 "grit/webrtc_device_provider_resources_map.cc", 144 "grit/webrtc_device_provider_resources_map.cc",
148 "grit/webrtc_device_provider_resources_map.h", 145 "grit/webrtc_device_provider_resources_map.h",
149 "webrtc_device_provider_resources.pak", 146 "webrtc_device_provider_resources.pak",
150 ] 147 ]
151 } 148 }
152 } 149 }
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | chrome/common/net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698