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/pixel_ref_utils_unittest.cc', | |
27 'ext/platform_canvas_unittest.cc', | |
28 'ext/recursive_gaussian_convolution_unittest.cc', | |
29 'ext/refptr_unittest.cc', | |
30 'ext/skia_utils_ios_unittest.mm', | |
31 'ext/skia_utils_mac_unittest.mm', | |
32 ], | |
33 'conditions': [ | |
34 ['OS != "win" and OS != "mac"', { | |
35 'sources!': [ | |
36 'ext/platform_canvas_unittest.cc', | |
37 ], | |
38 }], | |
39 ['OS == "android"', { | |
40 'dependencies': [ | |
41 '../testing/android/native_test.gyp:native_test_native_code', | |
42 ], | |
43 }], | |
44 ], | |
45 }, | |
46 ], | |
47 'conditions': [ | |
48 ['OS == "android"', { | |
49 'targets': [ | |
50 { | |
51 'target_name': 'skia_unittests_apk', | |
52 'type': 'none', | |
53 'dependencies': [ | |
54 'skia_unittests', | |
55 ], | |
56 'variables': { | |
57 'test_suite_name': 'skia_unittests', | |
58 }, | |
59 'includes': [ '../build/apk_test.gypi' ], | |
60 }, | |
61 ], | |
62 }], | |
63 ], | |
64 } | |
OLD | NEW |