Index: gpu/blink/BUILD.gn |
diff --git a/webkit/common/gpu/BUILD.gn b/gpu/blink/BUILD.gn |
similarity index 61% |
copy from webkit/common/gpu/BUILD.gn |
copy to gpu/blink/BUILD.gn |
index cecbd9df259cdf5d54cd36601f73dd21af36f292..3d0e77aa05722e855cd063516e3784b86492c471 100644 |
--- a/webkit/common/gpu/BUILD.gn |
+++ b/gpu/blink/BUILD.gn |
@@ -2,28 +2,17 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# GYP version: webkit/common/gpu/webkit_gpu.gyp:webkit_gpu |
-component("gpu") { |
- output_name = "webkit_gpu" |
+# GYP version: gpu/blink/gpu_blink.gyp:gpu_blink |
+component("blink") { |
+ output_name = "gpu_blink" |
sources = [ |
- "context_provider_in_process.cc", |
- "context_provider_in_process.h", |
- "context_provider_web_context.h", |
- "grcontext_for_webgraphicscontext3d.cc", |
- "grcontext_for_webgraphicscontext3d.h", |
+ "gpu_blink_export.h", |
"webgraphicscontext3d_impl.cc", |
"webgraphicscontext3d_impl.h", |
- "webgraphicscontext3d_in_process_command_buffer_impl.cc", |
- "webgraphicscontext3d_in_process_command_buffer_impl.h", |
] |
- defines = [ "WEBKIT_GPU_IMPLEMENTATION" ] |
- configs += [ "//build/config/compiler:wexit_time_destructors" ] |
- if (is_win) { |
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
- cflags = [ "/wd4267" ] |
- } |
+ defines = [ "GPU_BLINK_IMPLEMENTATION" ] |
deps = [ |
"//base", |
@@ -42,4 +31,9 @@ component("gpu") { |
"//ui/gfx", |
"//ui/gfx/geometry", |
] |
+ |
+ if (is_win) { |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ cflags = [ "/wd4267" ] |
+ } |
} |