Index: gpu/khronos_glcts_support/khronos_glcts_defaults.gypi |
diff --git a/gpu/khronos_glcts_support/khronos_glcts_defaults.gypi b/gpu/khronos_glcts_support/khronos_glcts_defaults.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5634109a487221884f6432c4f211cbc5f1199a4b |
--- /dev/null |
+++ b/gpu/khronos_glcts_support/khronos_glcts_defaults.gypi |
@@ -0,0 +1,34 @@ |
+# Copyright 2015 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': { |
+ 'defines': [ |
+ 'DEQP_TARGET_NAME="chrome-gpu-command-buffer"', |
+ 'DEQP_SUPPORT_GLES2=1', |
+ 'DEQP_SUPPORT_EGL=1', |
+ 'GTF_API=GTF_GLES20', |
+ ], |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ 'defines': [ |
+ '_XOPEN_SOURCE=500', |
+ ], |
+ 'cflags!': [ |
+ '-fno-exceptions', |
+ ], |
+ 'cflags_cc!': [ |
+ '-fno-exceptions', |
+ ], |
+ 'target_conditions': [ |
+ ['_type=="static_library"', { |
+ 'cflags_cc!': [ |
+ '-fno-rtti', |
+ ], |
+ }], |
+ ], |
+ }], |
+ ], |
+ }, |
+} |