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

Side by Side Diff: gyp/viewer.gyp

Issue 2210603003: Get Mac viewer working with SDL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix patch Created 4 years, 4 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 | « example/SkiaSDLExample.cpp ('k') | src/views/mac/skia_mac.mm » ('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 2016 Google Inc. 1 # Copyright 2016 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 file to build performance testbench. 5 # GYP file to build performance testbench.
6 # 6 #
7 { 7 {
8 'includes': [ 8 'includes': [
9 'apptype_console.gypi', 9 'apptype_console.gypi',
10 ], 10 ],
(...skipping 14 matching lines...) Expand all
25 '../src/gpu', 25 '../src/gpu',
26 '../src/image', 26 '../src/image',
27 '../src/images', 27 '../src/images',
28 '../src/pathops', 28 '../src/pathops',
29 '../src/views/unix', 29 '../src/views/unix',
30 '../tools/timer', 30 '../tools/timer',
31 ], 31 ],
32 'sources': [ 32 'sources': [
33 '../gm/gm.cpp', 33 '../gm/gm.cpp',
34 '<!@(python find.py "*.cpp" ../tools/viewer)', 34 '<!@(python find.py "*.cpp" ../tools/viewer)',
35 '<!@(python find.py "*.h" ../tools/viewer)',
35 36
36 # views (subset of files for the Android build) 37 # views (subset of files for the Android build)
37 '../src/views/SkEvent.cpp', 38 '../src/views/SkEvent.cpp',
38 '../src/views/SkEventSink.cpp', 39 '../src/views/SkEventSink.cpp',
39 '../src/views/SkOSMenu.cpp', 40 '../src/views/SkOSMenu.cpp',
40 '../src/views/SkTagList.cpp', 41 '../src/views/SkTagList.cpp',
41 '../src/views/SkTagList.h', 42 '../src/views/SkTagList.h',
42 '../src/views/SkTouchGesture.cpp', 43 '../src/views/SkTouchGesture.cpp',
43 '../src/views/SkView.cpp', 44 '../src/views/SkView.cpp',
44 '../src/views/SkViewPriv.cpp', 45 '../src/views/SkViewPriv.cpp',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ], 79 ],
79 }, 80 },
80 }], 81 }],
81 [ 'skia_os == "linux" and skia_vulkan == 1', { 82 [ 'skia_os == "linux" and skia_vulkan == 1', {
82 'link_settings': { 83 'link_settings': {
83 'libraries': [ 84 'libraries': [
84 '-lX11-xcb', 85 '-lX11-xcb',
85 ], 86 ],
86 }, 87 },
87 }], 88 }],
89 [ 'skia_os == "mac"', {
90 'dependencies': [
91 'sdl.gyp:sdl',
92 ],
93 }],
88 ['skia_os != "android"', { 94 ['skia_os != "android"', {
89 'sources/': [ 95 'sources/': [
90 ['exclude', '_android.(h|cpp)$'], 96 ['exclude', '_android.(h|cpp)$'],
91 ['exclude', 'src/views'], 97 ['exclude', 'src/views'],
92 ], 98 ],
93 }], 99 }],
94 ['skia_os != "linux"', { 100 ['skia_os != "linux"', {
95 'sources/': [ 101 'sources/': [
96 ['exclude', '_unix.(h|cpp)$'], 102 ['exclude', '_unix.(h|cpp)$'],
97 ['exclude', 'keysym2ucs.c'], 103 ['exclude', 'keysym2ucs.c'],
98 ], 104 ],
99 }], 105 }],
100 ['skia_os != "win"', { 106 ['skia_os != "win"', {
101 'sources/': [ ['exclude', '_win.(h|cpp)$'], 107 'sources/': [ ['exclude', '_win.(h|cpp)$'],
102 ], 108 ],
103 }], 109 }],
104 ['skia_os != "mac"', { 110 ['skia_os != "mac"', {
105 'sources/': [ ['exclude', '_mac.(h|cpp)$'], 111 'sources/': [ ['exclude', '_mac.(h|cpp)$'],
106 ], 112 ],
107 }], 113 }],
108 ['skia_vulkan == 0', { 114 ['skia_vulkan == 0', {
109 'sources/': [ ['exclude', 'Vulkan'] 115 'sources/': [ ['exclude', 'Vulkan']
110 ], 116 ],
111 }], 117 }],
112 ], 118 ],
113 }, 119 },
114 ], 120 ],
115 } 121 }
OLDNEW
« no previous file with comments | « example/SkiaSDLExample.cpp ('k') | src/views/mac/skia_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698