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

Unified Diff: gpu/blink/BUILD.gn

Issue 810273004: GPU/BLINK - WIP - TAKE 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android_webview fix Created 6 years 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
« no previous file with comments | « content/content_tests.gypi ('k') | gpu/blink/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
« no previous file with comments | « content/content_tests.gypi ('k') | gpu/blink/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698