Index: gyp/canvas_state_lib.gyp |
diff --git a/gyp/canvas_state_lib.gyp b/gyp/canvas_state_lib.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..612f9f85db718445e9138143f87ff5b346275a22 |
--- /dev/null |
+++ b/gyp/canvas_state_lib.gyp |
@@ -0,0 +1,26 @@ |
+# Building test for running CanvasState |
+ |
+{ |
+ 'targets' : [ |
+ { |
+ 'target_name' : 'canvas_state_lib', |
+ 'type' : 'shared_library', |
+ # FIXME: Is there a way to ensure that -fPIC was used for skia_lib? |
+ 'dependencies' : [ 'skia_lib.gyp:skia_lib'], |
+ 'sources' : [ |
+ '../tests/CanvasStateHelpers.cpp', |
+ ], |
+ 'cflags' : [ |
+ '-fPIC', |
+ ], |
+ }, |
+ { |
+ # Dummy 'most' target, since gyp_skia sets 'most' to be the default. |
djsollen
2014/07/22 15:06:34
Can you remove this as well?
How does canvas_stat
scroggo
2014/07/22 17:10:10
Currently, it does not. In order to build it, you
scroggo
2014/07/22 18:12:01
Done.
|
+ 'target_name' : 'most', |
+ 'type' : 'none', |
+ 'dependencies' : [ |
+ 'canvas_state_lib', |
+ ], |
+ } |
+ ], |
+} |