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