summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common
diff options
context:
space:
mode:
authorcjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-12 04:59:22 +0000
committercjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-12 04:59:22 +0000
commita5d20a27ea5dc48d3e80726b596c248be8970251 (patch)
treee543350e12a73f1759d27c7a6fa38333f10a977a /gpu/command_buffer/common
parentdbd38e814d2a0168eb218942313ded234c1e76df (diff)
downloadchromium_src-a5d20a27ea5dc48d3e80726b596c248be8970251.zip
chromium_src-a5d20a27ea5dc48d3e80726b596c248be8970251.tar.gz
chromium_src-a5d20a27ea5dc48d3e80726b596c248be8970251.tar.bz2
Add missing files/deps/defines
TBR=darin@chromium.org Review URL: https://codereview.chromium.org/371903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common')
-rw-r--r--gpu/command_buffer/common/BUILD.gn22
1 files changed, 18 insertions, 4 deletions
diff --git a/gpu/command_buffer/common/BUILD.gn b/gpu/command_buffer/common/BUILD.gn
index 43b1940..a60626e 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" ]
}