| 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': [ 'tools.gyp:crash_handler' ], | 14 'dependencies': [ |
| 15 'tools.gyp:crash_handler', |
| 16 'tools.gyp:threadpool', |
| 17 ], |
| 15 'sources': [ | 18 'sources': [ |
| 16 '../tests/skia_test.cpp', | 19 '../tests/skia_test.cpp', |
| 17 ], | 20 ], |
| 18 'conditions': [ | 21 'conditions': [ |
| 19 [ 'skia_android_framework == 1', { | 22 [ 'skia_android_framework == 1', { |
| 20 'libraries': [ | 23 'libraries': [ |
| 21 '-lskia', | 24 '-lskia', |
| 22 ], | 25 ], |
| 23 'libraries!': [ | 26 'libraries!': [ |
| 24 '-lz', | 27 '-lz', |
| 25 '-llog', | 28 '-llog', |
| 26 ], | 29 ], |
| 27 }], | 30 }], |
| 28 [ 'skia_gpu == 1', { | 31 [ 'skia_gpu == 1', { |
| 29 'include_dirs': [ | 32 'include_dirs': [ |
| 30 '../src/gpu', | 33 '../src/gpu', |
| 31 ], | 34 ], |
| 32 }], | 35 }], |
| 33 ], | 36 ], |
| 34 }, | 37 }, |
| 35 ], | 38 ], |
| 36 } | 39 } |
| OLD | NEW |