summaryrefslogtreecommitdiff
path: root/chromium/gpu/command_buffer/command_buffer.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/command_buffer.gypi')
-rw-r--r--chromium/gpu/command_buffer/command_buffer.gypi37
1 files changed, 37 insertions, 0 deletions
diff --git a/chromium/gpu/command_buffer/command_buffer.gypi b/chromium/gpu/command_buffer/command_buffer.gypi
new file mode 100644
index 00000000000..e63a1c1b7f1
--- /dev/null
+++ b/chromium/gpu/command_buffer/command_buffer.gypi
@@ -0,0 +1,37 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'target_defaults': {
+ 'variables': {
+ 'gles2_utils_target': 0,
+ },
+ 'target_conditions': [
+ # This part is shared between the targets defined below.
+ ['gles2_utils_target==1', {
+ 'defines': [
+ 'GLES2_UTILS_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'common/gles2_cmd_format.h',
+ 'common/gles2_cmd_utils.cc',
+ 'common/gles2_cmd_utils.h',
+ 'common/gles2_utils_export.h',
+ 'common/logging.cc',
+ 'common/logging.h',
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'sources!': [
+ 'common/logging.cc',
+ ],
+ 'sources': [
+ 'common/logging_android.cc',
+ ],
+ }],
+ ],
+ }],
+ ],
+ },
+}