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 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_nati
ve |
| 6 source_set("native") { |
| 7 output_name = "egl_main_native" |
| 8 sources = [ |
| 9 "egl_native.cc", |
| 10 "main.cc", |
| 11 ] |
| 12 defines = [ |
| 13 "GLES2_CONFORM_SUPPORT_ONLY", |
| 14 "GTF_GLES20", |
| 15 "EGLAPI=", |
| 16 "EGLAPIENTRY=", |
| 17 ] |
| 18 deps = [ |
| 19 "//base", |
| 20 "//gpu/gles2_conform_support/egl", |
| 21 "//ui/gl", |
| 22 ] |
| 23 if (is_linux) { |
| 24 sources += [ |
| 25 "egl_native_aura.cc", |
| 26 "egl_native_x11.cc", |
| 27 ] |
| 28 } |
| 29 if (is_win) { |
| 30 sources += [ "egl_native_win.cc" ] |
| 31 } |
| 32 } |
| 33 |
| 34 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_wind
owless |
| 35 source_set("windowless") { |
| 36 output_name = "egl_main_windowless" |
| 37 sources = [ |
| 38 "egl_native.cc", |
| 39 "egl_native_windowless.cc", |
| 40 "main.cc", |
| 41 ] |
| 42 defines = [ |
| 43 "GLES2_CONFORM_SUPPORT_ONLY", |
| 44 "GTF_GLES20", |
| 45 "EGLAPI=", |
| 46 "EGLAPIENTRY=", |
| 47 ] |
| 48 deps = [ |
| 49 "//base", |
| 50 "//gpu/gles2_conform_support/egl", |
| 51 "//ui/gl", |
| 52 ] |
| 53 if (is_linux) { |
| 54 sources += [ |
| 55 "egl_native_aura.cc", |
| 56 "egl_native_x11.cc", |
| 57 ] |
| 58 } |
| 59 if (is_win) { |
| 60 sources += [ "egl_native_win.cc" ] |
| 61 } |
| 62 } |
OLD | NEW |