| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'targets': [ | |
| 10 { | |
| 11 'target_name': 'skia_unittests', | |
| 12 'type': '<(gtest_target_type)', | |
| 13 'dependencies': [ | |
| 14 '../base/base.gyp:base', | |
| 15 '../base/base.gyp:run_all_unittests', | |
| 16 '../testing/gtest.gyp:gtest', | |
| 17 '../skia/skia.gyp:skia', | |
| 18 '../ui/gfx/gfx.gyp:gfx', | |
| 19 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 20 ], | |
| 21 'sources': [ | |
| 22 'ext/analysis_canvas_unittest.cc', | |
| 23 'ext/bitmap_platform_device_mac_unittest.cc', | |
| 24 'ext/convolver_unittest.cc', | |
| 25 'ext/image_operations_unittest.cc', | |
| 26 'ext/platform_canvas_unittest.cc', | |
| 27 'ext/recursive_gaussian_convolution_unittest.cc', | |
| 28 'ext/skia_memory_dump_provider_unittest.cc', | |
| 29 'ext/skia_utils_ios_unittest.mm', | |
| 30 'ext/skia_utils_mac_unittest.mm', | |
| 31 ], | |
| 32 'conditions': [ | |
| 33 ['OS != "win" and OS != "mac"', { | |
| 34 'sources!': [ | |
| 35 'ext/platform_canvas_unittest.cc', | |
| 36 ], | |
| 37 }], | |
| 38 ['OS == "android"', { | |
| 39 'dependencies': [ | |
| 40 '../testing/android/native_test.gyp:native_test_native_code', | |
| 41 ], | |
| 42 }], | |
| 43 ], | |
| 44 }, | |
| 45 ], | |
| 46 'conditions': [ | |
| 47 ['OS == "android"', { | |
| 48 'targets': [ | |
| 49 { | |
| 50 'target_name': 'skia_unittests_apk', | |
| 51 'type': 'none', | |
| 52 'dependencies': [ | |
| 53 'skia_unittests', | |
| 54 ], | |
| 55 'variables': { | |
| 56 'test_suite_name': 'skia_unittests', | |
| 57 }, | |
| 58 'includes': [ '../build/apk_test.gypi' ], | |
| 59 }, | |
| 60 ], | |
| 61 }], | |
| 62 ['test_isolation_mode != "noop"', { | |
| 63 'targets': [ | |
| 64 { | |
| 65 'target_name': 'skia_unittests_run', | |
| 66 'type': 'none', | |
| 67 'dependencies': [ | |
| 68 'skia_unittests', | |
| 69 ], | |
| 70 'includes': [ | |
| 71 '../build/isolate.gypi', | |
| 72 ], | |
| 73 'sources': [ | |
| 74 'skia_unittests.isolate', | |
| 75 ], | |
| 76 }, | |
| 77 ], | |
| 78 }], | |
| 79 ], | |
| 80 } | |
| OLD | NEW |