| Index: gpu/gles2_conform_support/BUILD.gn
|
| diff --git a/gpu/gles2_conform_support/BUILD.gn b/gpu/gles2_conform_support/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..853beea4bfd38ba7241a5ffe8b976e128b4597d2
|
| --- /dev/null
|
| +++ b/gpu/gles2_conform_support/BUILD.gn
|
| @@ -0,0 +1,38 @@
|
| +# 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.
|
| +
|
| +import("//build/config/allocator.gni")
|
| +
|
| +# GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support
|
| +executable("gles2_conform_support") {
|
| + sources = [
|
| + "gles2_conform_support.c",
|
| + "native/egl_native.cc",
|
| + "native/egl_native_win.cc",
|
| + "native/main.cc",
|
| + ]
|
| + defines = [
|
| + "GLES2_CONFORM_SUPPORT_ONLY",
|
| + "GTF_GLES20",
|
| + "EGLAPI=",
|
| + "EGLAPIENTRY=",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//gpu/gles2_conform_support/egl",
|
| + "//base/third_party/dynamic_annotations",
|
| + "//ui/gl",
|
| + "//gpu/command_buffer/client:gles2_c_lib_nocheck",
|
| + ]
|
| + if (is_linux) {
|
| + sources += [
|
| + "native/egl_native_aura.cc",
|
| + "native/egl_native_x11.cc",
|
| + ]
|
| + }
|
| + if (use_allocator != "none") {
|
| + # See http://crbug.com/162998#c4 for why this is needed.
|
| + deps += [ "//base/allocator" ]
|
| + }
|
| +}
|
|
|