Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: gpu/gles2_conform_support/gles2_conform_support.gyp

Issue 992463002: gpu: Convert egl_main_native target to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # These are defined here because we want to be able to compile them on 8 # These are defined here because we want to be able to compile them on
9 # the buildbots without needed the OpenGL ES 2.0 conformance tests 9 # the buildbots without needed the OpenGL ES 2.0 conformance tests
10 # which are not open source. 10 # which are not open source.
11 'bootstrap_sources_native': [ 11 'bootstrap_sources_native': [
12 'native/main.cc', 12 'native/main.cc',
tfarina 2015/03/08 15:07:32 I don't understand exactly why we are putting main
Dirk Pranke 2015/03/08 21:02:29 I'm not sure I understand your confusion. It's not
tfarina 2015/03/09 21:53:23 I put it back. Done.
13 ], 13 ],
14 'conditions': [ 14 'conditions': [
15 ['OS=="linux"', { 15 ['OS=="linux"', {
16 'bootstrap_sources_native': [ 16 'bootstrap_sources_native': [
17 'native/egl_native.cc', 17 'native/egl_native.cc',
18 'native/egl_native_aura.cc', 18 'native/egl_native_aura.cc',
19 'native/egl_native_x11.cc', 19 'native/egl_native_x11.cc',
20 ], 20 ],
21 }], 21 }],
22 ['OS=="win"', { 22 ['OS=="win"', {
(...skipping 30 matching lines...) Expand all
53 'egl/surface.cc', 53 'egl/surface.cc',
54 'egl/surface.h', 54 'egl/surface.h',
55 ], 55 ],
56 'defines': [ 56 'defines': [
57 'EGLAPI=', 57 'EGLAPI=',
58 'EGLAPIENTRY=', 58 'EGLAPIENTRY=',
59 ], 59 ],
60 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 60 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
61 'msvs_disabled_warnings': [ 4267, ], 61 'msvs_disabled_warnings': [ 4267, ],
62 }, 62 },
63 # GN version: //gpu/gles2_conform_support/native
Dirk Pranke 2015/03/08 21:02:29 Generally we try to put the comment right above th
tfarina 2015/03/09 21:53:23 Done.
63 { 64 {
64 'target_name': 'egl_main_native', 65 'target_name': 'egl_main_native',
65 'type': 'static_library', 66 'type': 'static_library',
66 'dependencies': [ 67 'dependencies': [
67 'egl_native', 68 'egl_native',
68 '../../third_party/khronos/khronos.gyp:khronos_headers', 69 '../../third_party/khronos/khronos.gyp:khronos_headers',
69 ], 70 ],
70 'sources': [ 71 'sources': [
71 '<@(bootstrap_sources_native)', 72 '<@(bootstrap_sources_native)',
72 ], 73 ],
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 'EGLAPI=', 121 'EGLAPI=',
121 'EGLAPIENTRY=', 122 'EGLAPIENTRY=',
122 ], 123 ],
123 'sources': [ 124 'sources': [
124 '<@(bootstrap_sources_native)', 125 '<@(bootstrap_sources_native)',
125 'gles2_conform_support.c' 126 'gles2_conform_support.c'
126 ], 127 ],
127 }, 128 },
128 ], 129 ],
129 } 130 }
OLDNEW
« BUILD.gn ('K') | « BUILD.gn ('k') | gpu/gles2_conform_support/native/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698