Index: gpu/command_buffer/client/BUILD.gn |
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn |
index 535bb4913327ae689f43e88f1e06e3dd70cc3f4a..2f7f05f07e64c59371b3745eabb0d9ce9cb7102e 100644 |
--- a/gpu/command_buffer/client/BUILD.gn |
+++ b/gpu/command_buffer/client/BUILD.gn |
@@ -148,12 +148,8 @@ component("gl_in_process_context") { |
component("gles2_c_lib") { |
sources = gles2_c_lib_source_files |
- defines = [ "GLES2_C_LIB_IMPLEMENTATION" ] |
- if (is_win) { |
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
- cflags = [ "/wd4267" ] # size_t to int truncation. |
- } |
+ defines = [ "GLES2_C_LIB_IMPLEMENTATION" ] |
deps = [ |
":client", |
@@ -162,5 +158,10 @@ component("gles2_c_lib") { |
"//base/third_party/dynamic_annotations", |
"//gpu/command_buffer/common", |
] |
+ |
+ if (is_win) { |
piman
2014/06/16 19:18:32
nit: indent?
|
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ cflags = [ "/wd4267" ] # size_t to int truncation. |
+ } |
} |