OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/allocator.gni") |
| 6 |
| 7 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support |
| 8 executable("gles2_conform_support") { |
| 9 sources = [ |
| 10 "gles2_conform_support.c", |
| 11 "native/egl_native.cc", |
| 12 "native/egl_native_win.cc", |
| 13 "native/main.cc", |
| 14 ] |
| 15 defines = [ |
| 16 "GLES2_CONFORM_SUPPORT_ONLY", |
| 17 "GTF_GLES20", |
| 18 "EGLAPI=", |
| 19 "EGLAPIENTRY=", |
| 20 ] |
| 21 deps = [ |
| 22 "//base", |
| 23 "//gpu/gles2_conform_support/egl", |
| 24 "//base/third_party/dynamic_annotations", |
| 25 "//ui/gl", |
| 26 "//gpu/command_buffer/client:gles2_c_lib_nocheck", |
| 27 ] |
| 28 if (is_linux) { |
| 29 sources += [ |
| 30 "native/egl_native_aura.cc", |
| 31 "native/egl_native_x11.cc", |
| 32 ] |
| 33 } |
| 34 if (use_allocator != "none") { |
| 35 # See http://crbug.com/162998#c4 for why this is needed. |
| 36 deps += [ "//base/allocator" ] |
| 37 } |
| 38 } |
OLD | NEW |