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

Side by Side Diff: third_party/khronos/khronos.gyp

Issue 11693007: Linux: use generated shim headers for system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for windows Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « build/shim_headers.gypi ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'use_system_khronos%': 0, 7 'use_system_khronos%': 0,
8 }, 8 },
9 'conditions': [ 9 'conditions': [
10 ['use_system_khronos==0', { 10 ['use_system_khronos==0', {
11 'targets': [ 11 'targets': [
12 { 12 {
13 'target_name': 'khronos_headers', 13 'target_name': 'khronos_headers',
14 'type': 'none', 14 'type': 'none',
15 'all_dependent_settings': { 15 'all_dependent_settings': {
16 'include_dirs': [ 16 'include_dirs': [
17 '.', 17 '.',
18 '../../gpu', # Contains GLES2/gl2chromium.h 18 '../../gpu', # Contains GLES2/gl2chromium.h
19 ], 19 ],
20 }, 20 },
21 }, 21 },
22 ], 22 ],
23 }, { # use_system_khronos==1 23 }, { # use_system_khronos==1
24 'targets': [ 24 'targets': [
25 { 25 {
26 'target_name': 'khronos_headers', 26 'target_name': 'khronos_headers',
27 'type': 'none', 27 'type': 'none',
28 'variables': {
29 'headers_root_path': '../..',
30 'header_filenames': [
31 'GLES2/gl2.h;<GLES2/gl2chromium.h>;',
32 'GLES2/gl2ext.h;<GLES2/gl2chromium.h>;<GLES2/gl2extchromium.h>',
33 ],
34 'shim_generator_additional_args': [
35 '--headers-root', '.',
36 '--use-include-next',
37 ],
38 },
39 'includes': [
40 '../../build/shim_headers.gypi',
41 ],
28 'all_dependent_settings': { 42 'all_dependent_settings': {
29 'include_dirs': [ 43 'include_dirs': [
30 '../../gpu', # Contains GLES2/gl2chromium.h 44 '../../gpu', # Contains GLES2/gl2chromium.h
31 ], 45 ],
32 }, 46 },
33 }, 47 },
34 ], 48 ],
35 }], 49 }],
36 ], 50 ],
37 } 51 }
OLDNEW
« no previous file with comments | « build/shim_headers.gypi ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698