blob: a95d54cc0e0d26216ee79d5a7918844972c32993 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
caryclarka8d2ffb2014-06-24 07:55:11 -07005# GYP file to build pathops unit tests.
caryclark@google.com818b0cc2013-04-08 11:50:46 +00006{
7 'includes': [
8 'apptype_console.gypi',
9 ],
10 'targets': [
11 {
12 'target_name': 'pathops_unittest',
13 'type': 'executable',
caryclark@google.com7abfa492013-04-12 11:59:41 +000014 'includes': [
caryclark@google.com7abfa492013-04-12 11:59:41 +000015 'pathops_unittest.gypi',
16 ],
caryclark17f0b6d2014-07-22 10:15:34 -070017 'dependencies': [
18 'flags.gyp:flags_common',
19 'tools.gyp:crash_handler',
20 ],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000021 'sources': [
commit-bot@chromium.org4431e772014-04-14 17:08:59 +000022 '../tests/PathOpsAngleIdeas.cpp',
caryclark65b427c2014-09-18 10:32:57 -070023 '../tests/PathOpsBattles.cpp',
commit-bot@chromium.org2db7fe72014-05-07 15:31:40 +000024 '../tests/PathOpsCubicLineIntersectionIdeas.cpp',
commit-bot@chromium.org4431e772014-04-14 17:08:59 +000025 '../tests/PathOpsDebug.cpp',
commit-bot@chromium.org8cb1daa2014-04-25 12:59:11 +000026 '../tests/PathOpsOpLoopThreadedTest.cpp',
caryclark54359292015-03-26 07:52:43 -070027 '../tests/PathOpsTSectDebug.h',
tfarina1c4d5782014-06-22 16:13:00 -070028 '../tests/skia_test.cpp',
caryclark@google.com818b0cc2013-04-08 11:50:46 +000029 ],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000030 'conditions': [
caryclarka8d2ffb2014-06-24 07:55:11 -070031 [ 'skia_android_framework == 1', {
32 'libraries': [
33 '-lskia',
34 ],
35 'libraries!': [
36 '-lz',
37 '-llog',
38 ],
39 }],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000040 ],
41 },
42 ],
43}