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

Unified 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: New class to open the library and close it. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | tests/CanvasStateTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
+ 'target_name' : 'most',
+ 'type' : 'none',
+ 'dependencies' : [
+ 'canvas_state_lib',
+ ],
+ }
+ ],
+}
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | tests/CanvasStateTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698