Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / gyp / pathops_unittest.gyp
index 35eeabd..d3152d2 100644 (file)
@@ -1,4 +1,4 @@
-# GYP file to build unit tests.
+# GYP file to build pathops unit tests.
 {
   'includes': [
     'apptype_console.gypi',
@@ -7,35 +7,30 @@
     {
       'target_name': 'pathops_unittest',
       'type': 'executable',
-      'suppress_wildcard': '1',
-      'include_dirs' : [
-        '../src/core',
-        '../src/effects',
-        '../src/lazy',
-        '../src/pathops',
-        '../src/pdf',
-        '../src/pipe/utils',
-        '../src/utils',
-        '../tools/',
-      ],
       'includes': [
         'pathops_unittest.gypi',
       ],
+      'dependencies': [
+        'flags.gyp:flags_common',
+        'tools.gyp:crash_handler',
+      ],
       'sources': [
         '../tests/PathOpsAngleIdeas.cpp',
         '../tests/PathOpsCubicLineIntersectionIdeas.cpp',
         '../tests/PathOpsDebug.cpp',
         '../tests/PathOpsOpLoopThreadedTest.cpp',
-        '../tests/PathOpsSkpClipTest.cpp',
-        '../tests/Test.cpp',
         '../tests/skia_test.cpp',
-        '../tests/Test.h',
-      ],
-      'dependencies': [
-        'skia_lib.gyp:skia_lib',
-        'flags.gyp:flags',
       ],
       'conditions': [
+        [ 'skia_android_framework == 1', {
+          'libraries': [
+            '-lskia',
+          ],
+          'libraries!': [
+            '-lz',
+            '-llog',
+          ],
+        }],
         [ 'skia_gpu == 1', {
           'include_dirs': [
             '../src/gpu',