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

Unified Diff: ui/views/examples/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 side-by-side diff with in-line comments
Download patch
Index: ui/views/examples/BUILD.gn
diff --git a/ui/views/examples/BUILD.gn b/ui/views/examples/BUILD.gn
index 8c7902225e2aece6c135450f71676e53755eab07..75d59260ea4277b0e1ee1128bc95dea0dbe7799d 100644
--- a/ui/views/examples/BUILD.gn
+++ b/ui/views/examples/BUILD.gn
@@ -61,6 +61,9 @@ component("views_examples_lib") {
"widget_example.h",
]
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
defines = [ "VIEWS_EXAMPLES_IMPLEMENTATION" ]
deps = [
@@ -78,9 +81,6 @@ component("views_examples_lib") {
if (is_win) {
deps += [ "//third_party/wtl" ]
-
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- cflags = [ "/wd4267" ]
}
if (use_aura) {
« third_party/cld_2/BUILD.gn ('K') | « ui/views/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698