Adding Peter Thatcher to the owners file.
[chromium-blink-merge.git] / gpu / gles2_conform_support / native / BUILD.gn
blob0d1c0ee04d7bddb61b9312715f73422960edea94
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.
5 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_native
6 source_set("native") {
7   output_name = "egl_main_native"
8   sources = [
9     "egl_native.cc",
10     "egl_native_win.cc",
11     "main.cc",
12   ]
13   defines = [
14     "GLES2_CONFORM_SUPPORT_ONLY",
15     "GTF_GLES20",
16     "EGLAPI=",
17     "EGLAPIENTRY=",
18   ]
19   deps = [
20     "//base",
21     "//gpu/gles2_conform_support/egl",
22     "//ui/gl",
23   ]
24   if (is_linux) {
25     sources += [
26       "egl_native_aura.cc",
27       "egl_native_x11.cc",
28     ]
29   }
32 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_windowless
33 source_set("windowless") {
34   output_name = "egl_main_windowless"
35   sources = [
36     "egl_native.cc",
37     "egl_native_win.cc",
38     "egl_native_windowless.cc",
39     "main.cc",
40   ]
41   defines = [
42     "GLES2_CONFORM_SUPPORT_ONLY",
43     "GTF_GLES20",
44     "EGLAPI=",
45     "EGLAPIENTRY=",
46   ]
47   deps = [
48     "//base",
49     "//gpu/gles2_conform_support/egl",
50     "//ui/gl",
51   ]
52   if (is_linux) {
53     sources += [
54       "egl_native_aura.cc",
55       "egl_native_x11.cc",
56     ]
57   }