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

Side by Side Diff: gyp/canvas_state_lib.gyp

Issue 400043003: Run CanvasState test across a library boundary. (Closed) Base URL: https://skia.googlesource.com/skia.git@canvasState2
Patch Set: Rebase. Created 6 years, 5 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 | « no previous file | gyp/tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Building test for running CanvasState
2
3 # HOW TO USE:
4 # This target is not included in normal Skia builds. In order to build it,
5 # you need to run gyp_skia on this file. This target also requires the
6 # variable skia_pic to be used during building:
7 #
8 # GYP_DEFINES=skia_pic=1 ./gyp_skia gyp/canvas_state_lib.gyp
9 # ninja -C out/Debug canvas_state_lib
10 #
11 # This will create the shared library libcanvas_state_lib.so. That can
12 # be passed to tests to test passing an SkCanvas between versions of
13 # Skia. See tests/CanvasStateTest.cpp for more info.
14 {
15 'targets' : [
16 {
17 'target_name' : 'canvas_state_lib',
18 'type' : 'shared_library',
19 # FIXME: Is there a way to ensure that -fPIC was used for skia_lib?
20 'dependencies' : [ 'skia_lib.gyp:skia_lib'],
21 'sources' : [
22 '../tests/CanvasStateHelpers.cpp',
23 ],
24 'cflags' : [
25 '-fPIC',
26 ],
27 },
28 {
29 # Dummy 'most' target, since gyp_skia sets 'most' to be the default.
30 'target_name' : 'most',
31 'type' : 'none',
32 'dependencies' : [
33 'canvas_state_lib',
34 ],
35 }
36 ],
37 }
OLDNEW
« no previous file with comments | « no previous file | gyp/tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698