blob: 155207ed6f38703360ecf7c448f9ce9022b32e77 [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# GYP file to build unit tests.
epoger@google.comccdbd2c2011-06-02 14:38:23 +00002{
3 'includes': [
4 'apptype_console.gypi',
epoger@google.comccdbd2c2011-06-02 14:38:23 +00005 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +00006 'targets': [
7 {
8 'target_name': 'tests',
9 'type': 'executable',
caryclark@google.comf685a222013-04-19 11:45:56 +000010 'includes': [
caryclark@google.comf685a222013-04-19 11:45:56 +000011 'pathops_unittest.gypi',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000012 'tests.gypi',
caryclark@google.comf685a222013-04-19 11:45:56 +000013 ],
mtklein9ac68ee2014-06-20 11:29:20 -070014 'dependencies': [ 'tools.gyp:crash_handler' ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000015 'sources': [
tfarina@chromium.orgceddfeb2014-01-30 22:51:42 +000016 '../tests/skia_test.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000017 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000018 'conditions': [
commit-bot@chromium.orgd6656852014-04-28 16:00:30 +000019 [ 'skia_android_framework == 1', {
20 'libraries': [
21 '-lskia',
commit-bot@chromium.orgd6656852014-04-28 16:00:30 +000022 ],
23 'libraries!': [
24 '-lz',
25 '-llog',
26 ],
27 }],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000028 [ 'skia_gpu == 1', {
29 'include_dirs': [
30 '../src/gpu',
31 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000032 }],
33 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000034 },
35 ],
36}