| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_nati
ve | |
| 6 source_set("native") { | 5 source_set("native") { |
| 7 output_name = "egl_main_native" | 6 output_name = "egl_main_native" |
| 8 sources = [ | 7 sources = [ |
| 9 "egl_native.cc", | 8 "egl_native.cc", |
| 10 "main.cc", | 9 "main.cc", |
| 11 ] | 10 ] |
| 12 defines = [ | 11 defines = [ |
| 13 "GLES2_CONFORM_SUPPORT_ONLY", | 12 "GLES2_CONFORM_SUPPORT_ONLY", |
| 14 "GTF_GLES20", | 13 "GTF_GLES20", |
| 15 "EGLAPI=", | 14 "EGLAPI=", |
| 16 "EGLAPIENTRY=", | 15 "EGLAPIENTRY=", |
| 17 ] | 16 ] |
| 18 deps = [ | 17 deps = [ |
| 19 ":windowless", | 18 ":windowless", |
| 20 "//base", | 19 "//base", |
| 21 "//gpu/gles2_conform_support/egl", | 20 "//gpu/gles2_conform_support/egl", |
| 22 "//ui/gl", | 21 "//ui/gl", |
| 23 ] | 22 ] |
| 24 if (is_linux) { | 23 if (is_linux) { |
| 25 sources += [ | 24 sources += [ |
| 26 "egl_native_aura.cc", | 25 "egl_native_aura.cc", |
| 27 "egl_native_x11.cc", | 26 "egl_native_x11.cc", |
| 28 ] | 27 ] |
| 29 } | 28 } |
| 30 if (is_win) { | 29 if (is_win) { |
| 31 sources += [ "egl_native_win.cc" ] | 30 sources += [ "egl_native_win.cc" ] |
| 32 } | 31 } |
| 33 } | 32 } |
| 34 | 33 |
| 35 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_wind
owless | |
| 36 source_set("windowless") { | 34 source_set("windowless") { |
| 37 output_name = "egl_main_windowless" | 35 output_name = "egl_main_windowless" |
| 38 sources = [ | 36 sources = [ |
| 39 "egl_native.cc", | 37 "egl_native.cc", |
| 40 "egl_native_windowless.cc", | 38 "egl_native_windowless.cc", |
| 41 "main.cc", | 39 "main.cc", |
| 42 ] | 40 ] |
| 43 defines = [ | 41 defines = [ |
| 44 "GLES2_CONFORM_SUPPORT_ONLY", | 42 "GLES2_CONFORM_SUPPORT_ONLY", |
| 45 "GTF_GLES20", | 43 "GTF_GLES20", |
| 46 "EGLAPI=", | 44 "EGLAPI=", |
| 47 "EGLAPIENTRY=", | 45 "EGLAPIENTRY=", |
| 48 ] | 46 ] |
| 49 deps = [ | 47 deps = [ |
| 50 "//base", | 48 "//base", |
| 51 "//gpu/gles2_conform_support/egl", | 49 "//gpu/gles2_conform_support/egl", |
| 52 "//ui/gl", | 50 "//ui/gl", |
| 53 ] | 51 ] |
| 54 } | 52 } |
| OLD | NEW |