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

Side by Side Diff: gyp/gpu.gyp

Issue 1036283002: Remove all code related to NaCl (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 5 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/freetype.gyp ('k') | gyp/gpu.gypi » ('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 # GYP for building gpu 5 # GYP for building gpu
6 { 6 {
7 'target_defaults': { 7 'target_defaults': {
8 'conditions': [ 8 'conditions': [
9 ['skia_os != "win"', { 9 ['skia_os != "win"', {
10 'sources/': [ ['exclude', '_win.(h|cpp)$'], 10 'sources/': [ ['exclude', '_win.(h|cpp)$'],
11 ], 11 ],
12 }], 12 }],
13 ['skia_os != "mac"', { 13 ['skia_os != "mac"', {
14 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], 14 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'],
15 ], 15 ],
16 }], 16 }],
17 ['skia_os != "linux" and skia_os != "chromeos"', { 17 ['skia_os != "linux" and skia_os != "chromeos"', {
18 'sources/': [ ['exclude', '_glx.(h|cpp)$'], 18 'sources/': [ ['exclude', '_glx.(h|cpp)$'],
19 ], 19 ],
20 }], 20 }],
21 ['skia_os != "ios"', { 21 ['skia_os != "ios"', {
22 'sources/': [ ['exclude', '_iOS.(h|cpp|m|mm)$'], 22 'sources/': [ ['exclude', '_iOS.(h|cpp|m|mm)$'],
23 ], 23 ],
24 }], 24 }],
25 ['skia_os != "android"', { 25 ['skia_os != "android"', {
26 'sources/': [ ['exclude', '_android.(h|cpp)$'], 26 'sources/': [ ['exclude', '_android.(h|cpp)$'],
27 ], 27 ],
28 }], 28 }],
29 ['skia_os != "nacl"', { 29 ['skia_egl == 0', {
30 'sources/': [ ['exclude', '_nacl.(h|cpp)$'],
31 ],
32 }],
33 ['skia_os == "nacl" or skia_egl == 0', {
34 'sources/': [ ['exclude', '_egl.(h|cpp)$'], 30 'sources/': [ ['exclude', '_egl.(h|cpp)$'],
35 ], 31 ],
36 }], 32 }],
37 ['skia_os == "android"', { 33 ['skia_os == "android"', {
38 'sources/': [ ['exclude', 'GrGLCreateNativeInterface_egl.cpp'], 34 'sources/': [ ['exclude', 'GrGLCreateNativeInterface_egl.cpp'],
39 ], 35 ],
40 }], 36 }],
41 ['skia_egl == 1', { 37 ['skia_egl == 1', {
42 'sources/': [ ['exclude', '_glx.(h|cpp)$'], 38 'sources/': [ ['exclude', '_glx.(h|cpp)$'],
43 ], 39 ],
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 }], 159 }],
164 [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', { 160 [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', {
165 'link_settings': { 161 'link_settings': {
166 'libraries': [ 162 'libraries': [
167 '-lGL', 163 '-lGL',
168 '-lGLU', 164 '-lGLU',
169 '-lX11', 165 '-lX11',
170 ], 166 ],
171 }, 167 },
172 }], 168 }],
173 [ 'skia_os == "nacl"', {
174 'link_settings': {
175 'libraries': [
176 '-lppapi_gles2',
177 ],
178 },
179 }],
180 [ 'skia_egl == 1', { 169 [ 'skia_egl == 1', {
181 'defines': [ 170 'defines': [
182 'SK_EGL=1', 171 'SK_EGL=1',
183 ], 172 ],
184 }], 173 }],
185 [ 'skia_egl == 0', { 174 [ 'skia_egl == 0', {
186 'defines': [ 175 'defines': [
187 'SK_EGL=0', 176 'SK_EGL=0',
188 ], 177 ],
189 }], 178 }],
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 'libraries': [ 240 'libraries': [
252 '-lGLESv2', 241 '-lGLESv2',
253 '-lEGL', 242 '-lEGL',
254 ], 243 ],
255 }, 244 },
256 }], 245 }],
257 ], 246 ],
258 }, 247 },
259 ], 248 ],
260 } 249 }
OLDNEW
« no previous file with comments | « gyp/freetype.gyp ('k') | gyp/gpu.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698