blob: 0d6ed5a38068120fdc80d38853c593036d48eb30 [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 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000014 'sources': [
tfarina@chromium.orgceddfeb2014-01-30 22:51:42 +000015 '../tests/skia_test.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000016 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000017 'conditions': [
commit-bot@chromium.orgd6656852014-04-28 16:00:30 +000018 [ 'skia_android_framework == 1', {
19 'libraries': [
20 '-lskia',
21 '-lcutils',
22 ],
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}