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

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

Issue 371903003: Add missing files/deps/defines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/BUILD.gn
diff --git a/gpu/command_buffer/common/BUILD.gn b/gpu/command_buffer/common/BUILD.gn
index 43b19402bcaf2ebe77e464d9041b8af6d353ac0d..a60626e12accccdc4f40bd532e8267975ef4e835 100644
--- a/gpu/command_buffer/common/BUILD.gn
+++ b/gpu/command_buffer/common/BUILD.gn
@@ -21,9 +21,6 @@ source_set("common") {
"gles2_cmd_format_autogen.h",
"gles2_cmd_ids.h",
"gles2_cmd_ids_autogen.h",
- "gles2_cmd_utils.cc",
- "gles2_cmd_utils.h",
- "gles2_utils_export.h",
"id_allocator.cc",
"id_allocator.h",
"mailbox.cc",
@@ -34,9 +31,26 @@ source_set("common") {
"time.h",
]
- all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
+ defines = [ "GPU_IMPLEMENTATION" ]
+
+ deps = [
+ ":gles2_utils",
+ "//base",
+ ]
+}
+
+component("gles2_utils") {
+ sources = [
+ "gles2_cmd_utils.cc",
+ "gles2_cmd_utils.h",
+ "gles2_utils_export.h",
+ ]
+
+ defines = [ "GLES2_UTILS_IMPLEMENTATION" ]
deps = [
"//base",
]
+
+ all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
}
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698