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

Side by Side Diff: gyp/views.gyp

Issue 1413593007: Create SDL backed SkOSWindow (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 1 month 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 | « no previous file | include/gpu/gl/SkGLContext.h » ('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 # Views is the Skia windowing toolkit. 5 # Views is the Skia windowing toolkit.
6 # It provides: 6 # It provides:
7 # * A portable means of creating native windows. 7 # * A portable means of creating native windows.
8 # * Events. 8 # * Events.
9 # * Basic widgets and controls. 9 # * Basic widgets and controls.
10 10
11 { 11 {
12 'variables': {
13 'skia_use_sdl%': 0,
14 },
12 'targets': [ 15 'targets': [
13 { 16 {
14 'target_name': 'views', 17 'target_name': 'views',
15 'product_name': 'skia_views', 18 'product_name': 'skia_views',
16 'type': 'static_library', 19 'type': 'static_library',
17 'standalone_static_library': 1, 20 'standalone_static_library': 1,
18 'dependencies': [ 21 'dependencies': [
19 'skia_lib.gyp:skia_lib', 22 'skia_lib.gyp:skia_lib',
20 'xml.gyp:xml', 23 'xml.gyp:xml',
21 ], 24 ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 '../src/views/SkStackViewLayout.cpp', 56 '../src/views/SkStackViewLayout.cpp',
54 '../src/views/SkTagList.cpp', 57 '../src/views/SkTagList.cpp',
55 '../src/views/SkTagList.h', 58 '../src/views/SkTagList.h',
56 '../src/views/SkTouchGesture.cpp', 59 '../src/views/SkTouchGesture.cpp',
57 '../src/views/SkView.cpp', 60 '../src/views/SkView.cpp',
58 '../src/views/SkViewInflate.cpp', 61 '../src/views/SkViewInflate.cpp',
59 '../src/views/SkViewPriv.cpp', 62 '../src/views/SkViewPriv.cpp',
60 '../src/views/SkViewPriv.h', 63 '../src/views/SkViewPriv.h',
61 '../src/views/SkWidgets.cpp', 64 '../src/views/SkWidgets.cpp',
62 '../src/views/SkWindow.cpp', 65 '../src/views/SkWindow.cpp',
66
67 # Unix
68 '../src/views/unix/SkOSWindow_Unix.cpp',
69 '../src/views/unix/keysym2ucs.c',
70 '../src/views/unix/skia_unix.cpp',
63 71
64 # Mac 72 # Mac
65 '../src/views/mac/SkEventNotifier.h', 73 '../src/views/mac/SkEventNotifier.h',
66 '../src/views/mac/SkEventNotifier.mm', 74 '../src/views/mac/SkEventNotifier.mm',
67 '../src/views/mac/SkTextFieldCell.h', 75 '../src/views/mac/SkTextFieldCell.h',
68 '../src/views/mac/SkTextFieldCell.m', 76 '../src/views/mac/SkTextFieldCell.m',
69 '../src/views/mac/SkNSView.h', 77 '../src/views/mac/SkNSView.h',
70 '../src/views/mac/SkNSView.mm', 78 '../src/views/mac/SkNSView.mm',
71 '../src/views/mac/SkOSWindow_Mac.mm', 79 '../src/views/mac/SkOSWindow_Mac.mm',
72 '../src/views/mac/skia_mac.mm', 80 '../src/views/mac/skia_mac.mm',
73 81
74 # SDL
75 '../src/views/sdl/SkOSWindow_SDL.cpp',
76
77 # *nix
78 '../src/views/unix/SkOSWindow_Unix.cpp',
79 '../src/views/unix/keysym2ucs.c',
80 '../src/views/unix/skia_unix.cpp',
81
82 # Windows 82 # Windows
83 '../src/views/win/SkOSWindow_win.cpp', 83 '../src/views/win/SkOSWindow_win.cpp',
84 '../src/views/win/skia_win.cpp', 84 '../src/views/win/skia_win.cpp',
85
86 ],
87 'sources!' : [
88 '../src/views/sdl/SkOSWindow_SDL.cpp',
89 ], 85 ],
90 'conditions': [ 86 'conditions': [
91 [ 'skia_gpu == 1', { 87 [ 'skia_gpu == 1', {
92 'include_dirs' : [ 88 'include_dirs' : [
93 '../src/gpu', 89 '../src/gpu',
94 ], 90 ],
95 }], 91 }],
96 [ 'skia_os == "mac"', { 92 [ 'skia_os == "mac"', {
97 'link_settings': { 93 'link_settings': {
98 'libraries': [ 94 'libraries': [
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 'sources!': [ 130 'sources!': [
135 '../src/views/win/SkOSWindow_win.cpp', 131 '../src/views/win/SkOSWindow_win.cpp',
136 '../src/views/win/skia_win.cpp', 132 '../src/views/win/skia_win.cpp',
137 ], 133 ],
138 }], 134 }],
139 [ 'skia_gpu == 1', { 135 [ 'skia_gpu == 1', {
140 'include_dirs': [ 136 'include_dirs': [
141 '../include/gpu', 137 '../include/gpu',
142 ], 138 ],
143 }], 139 }],
140 [ 'skia_use_sdl == 1', {
141 'defines': [
142 'SK_USE_SDL',
143 ],
144 'dependencies': [
145 'sdl.gyp:sdl',
146 ],
147 'sources!': [
148 '../src/views/unix/SkOSWindow_Unix.cpp',
149 '../src/views/unix/keysym2ucs.c',
150 '../src/views/unix/skia_unix.cpp',
151 ],
152 'sources': [
153 '../src/views/sdl/SkOSWindow_SDL.cpp',
154 ],
155 'export_dependent_settings': [
156 'sdl.gyp:sdl',
157 ],
158 }],
144 ], 159 ],
145 'direct_dependent_settings': { 160 'direct_dependent_settings': {
146 'include_dirs': [ 161 'include_dirs': [
147 '../include/views', 162 '../include/views',
148 ], 163 ],
149 }, 164 },
150 'export_dependent_settings': [ 165 'export_dependent_settings': [
151 'xml.gyp:xml', 166 'xml.gyp:xml',
152 ], 167 ],
153 }, 168 },
154 ], 169 ],
155 } 170 }
OLDNEW
« no previous file with comments | « no previous file | include/gpu/gl/SkGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698