OLD | NEW |
1 # GYP file to build unit tests. | 1 # GYP file to build unit tests. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'tests', | 8 'target_name': 'tests', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'includes': [ | 10 'includes': [ |
11 'pathops_unittest.gypi', | 11 'pathops_unittest.gypi', |
12 'tests.gypi', | 12 'tests.gypi', |
13 ], | 13 ], |
14 'dependencies': [ 'crash_handler.gyp:CrashHandler' ], | 14 'dependencies': [ 'tools.gyp:crash_handler' ], |
15 'sources': [ | 15 'sources': [ |
16 '../tests/skia_test.cpp', | 16 '../tests/skia_test.cpp', |
17 ], | 17 ], |
18 'conditions': [ | 18 'conditions': [ |
19 [ 'skia_android_framework == 1', { | 19 [ 'skia_android_framework == 1', { |
20 'libraries': [ | 20 'libraries': [ |
21 '-lskia', | 21 '-lskia', |
22 ], | 22 ], |
23 'libraries!': [ | 23 'libraries!': [ |
24 '-lz', | 24 '-lz', |
25 '-llog', | 25 '-llog', |
26 ], | 26 ], |
27 }], | 27 }], |
28 [ 'skia_gpu == 1', { | 28 [ 'skia_gpu == 1', { |
29 'include_dirs': [ | 29 'include_dirs': [ |
30 '../src/gpu', | 30 '../src/gpu', |
31 ], | 31 ], |
32 }], | 32 }], |
33 ], | 33 ], |
34 }, | 34 }, |
35 ], | 35 ], |
36 } | 36 } |
OLD | NEW |