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

Unified Diff: gpu/command_buffer/client/BUILD.gn

Issue 464153002: GN: Create a :gles2_interface target to resolve some check errors in //cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: :gles2_interface only Created 6 years, 4 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
« no previous file with comments | « gpu/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/BUILD.gn
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn
index d3e9b425900a57f97f795450bb99764a6ddd9e61..9972068c61d2e4439c37aca25e37ff63bd8c2f30 100644
--- a/gpu/command_buffer/client/BUILD.gn
+++ b/gpu/command_buffer/client/BUILD.gn
@@ -77,7 +77,6 @@ gles2_implementation_source_files = [
"gles2_implementation.cc",
"gles2_implementation.h",
"gles2_implementation_impl_autogen.h",
- "gles2_interface.h",
"gles2_trace_implementation_autogen.h",
"gles2_trace_implementation.cc",
"gles2_trace_implementation.h",
@@ -95,6 +94,14 @@ gles2_implementation_source_files = [
"vertex_array_object_manager.h",
]
+source_set("gles2_interface") {
+ sources = [ "gles2_interface.h" ]
+ all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
jamesr 2014/08/13 17:55:01 can you make this direct_dependent_configs? not ev
jbroman 2014/08/13 19:27:15 There are a lot of other places that put this in a
+ deps = [
+ "//base",
+ ]
+}
+
# Library emulates GLES2 using command_buffers.
component("gles2_implementation") {
sources = gles2_implementation_source_files
@@ -109,6 +116,7 @@ component("gles2_implementation") {
deps = [
":gles2_cmd_helper",
+ ":gles2_interface",
"//base",
"//gpu/command_buffer/common",
"//ui/gfx/geometry",
@@ -133,6 +141,7 @@ component("gles2_implementation_client_side_arrays") {
deps = [
":gles2_cmd_helper",
+ ":gles2_interface",
"//base",
"//gpu/command_buffer/common",
"//ui/gfx/geometry",
@@ -171,6 +180,7 @@ component("gles2_c_lib") {
deps = [
":client",
+ ":gles2_interface",
"//base",
"//base/third_party/dynamic_annotations",
"//gpu/command_buffer/common",
« no previous file with comments | « gpu/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698