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

Side by Side Diff: gyp/gputest.gyp

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: fix windows and android? Created 4 years, 8 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
« no previous file with comments | « gyp/gpu.gypi ('k') | gyp/kilobench.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 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'skgputest', 8 'target_name': 'skgputest',
9 'product_name': 'skia_skgputest', 9 'product_name': 'skia_skgputest',
10 'type': 'static_library', 10 'type': 'static_library',
11 'standalone_static_library': 1, 11 'standalone_static_library': 1,
12 'dependencies': [
13 'skia_lib.gyp:skia_lib',
14 ],
15 'include_dirs': [ 12 'include_dirs': [
13 '../include/core',
14 '../include/config',
16 '../include/gpu', 15 '../include/gpu',
17 '../include/private', 16 '../include/private',
18 '../include/utils', 17 '../include/utils',
19 '../src/core', 18 '../src/core',
20 '../src/gpu', 19 '../src/gpu',
21 '../../src/gpu', 20 '../src/utils',
21 '../tools/gpu',
22 ], 22 ],
23 'direct_dependent_settings': { 23 'all_dependent_settings': {
24 'include_dirs': [ 24 'include_dirs': [
25 '../src/gpu', 25 '../tools/gpu',
26 '../../src/gpu',
27 ], 26 ],
28 }, 27 },
28 'dependencies': [
29 'skia_lib.gyp:skia_lib',
30 ],
29 'sources': [ 31 'sources': [
30 '<(skia_src_path)/gpu/GrContextFactory.cpp', 32 '<!@(python find.py ../tools/gpu "*")'
31 '<(skia_src_path)/gpu/GrContextFactory.h', 33 ],
32 '<(skia_src_path)/gpu/GrTest.cpp', 34 'conditions': [
33 '<(skia_src_path)/gpu/GrTest.h', 35 [ 'skia_mesa and skia_os == "linux"', {
36 'link_settings': {
37 'libraries': [
38 '-lOSMesa',
39 ],
40 },
41 }],
42 [ 'skia_mesa and skia_os == "mac"', {
43 'link_settings': {
44 'libraries': [
45 '/opt/X11/lib/libOSMesa.dylib',
46 ],
47 },
48 'include_dirs': [
49 '/opt/X11/include/',
50 ],
51 }],
52 [ 'skia_angle', {
53 'dependencies': [
54 'angle.gyp:*',
55 ],
56 'export_dependent_settings': [
57 'angle.gyp:*',
58 ],
59 }],
60 [ 'skia_os == "android"', {
61 'defines': [
62 'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1',
63 ],
64 'link_settings': {
65 'libraries': [
66 '-lGLESv2',
67 '-lEGL',
68 ],
69 },
70 }],
71 ['skia_os != "win"', {
72 'sources/': [ ['exclude', '_win\.(h|cpp)$'],],
73 }],
74 ['skia_os != "mac"', {
75 'sources/': [ ['exclude', '_mac\.(h|cpp|m|mm)$'],],
76 }],
77 ['skia_os != "linux" and skia_os != "chromeos"', {
78 'sources/': [ ['exclude', '_glx\.(h|cpp)$'],],
79 }],
80 ['skia_os != "ios"', {
81 'sources/': [ ['exclude', '_iOS\.(h|cpp|m|mm)$'],],
82 }],
83 ['skia_os != "android"', {
84 'sources/': [ ['exclude', '_android\.(h|cpp)$'],],
85 }],
86 ['skia_egl == 0', {
87 'sources/': [ ['exclude', '_egl\.(h|cpp)$'],],
88 }],
89 [ 'skia_mesa == 0', {
90 'sources/': [
91 ['exclude', '_mesa\.(h|cpp)$'],
92 ],
93 }],
94 [ 'skia_angle == 0', {
95 'sources/': [
96 ['exclude', '_angle\.(h|cpp)$'],
97 ],
98 }],
99 [ 'skia_command_buffer == 0', {
100 'sources/': [ ['exclude', '_command_buffer\.(h|cpp)$'], ],
101 }],
34 ], 102 ],
35 }, 103 },
36 ], 104 ],
37 } 105 }
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | gyp/kilobench.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698