Add some UMAs for offline pages
[chromium-blink-merge.git] / skia / skia_tests.gyp
blob32afbdba1431e23befccfb8933fbec71453e7e5e
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.
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/discardable_image_utils_unittest.cc',
26         'ext/image_operations_unittest.cc',
27         'ext/pixel_ref_utils_unittest.cc',
28         'ext/platform_canvas_unittest.cc',
29         'ext/recursive_gaussian_convolution_unittest.cc',
30         'ext/refptr_unittest.cc',
31         'ext/skia_memory_dump_provider_unittest.cc',
32         'ext/skia_utils_ios_unittest.mm',
33         'ext/skia_utils_mac_unittest.mm',
34       ],
35       'conditions': [
36         ['OS != "win" and OS != "mac"', {
37           'sources!': [
38             'ext/platform_canvas_unittest.cc',
39           ],
40         }],
41         ['OS == "android"', {
42           'dependencies': [
43             '../testing/android/native_test.gyp:native_test_native_code',
44           ],
45         }],
46       ],
47     },
48   ],
49   'conditions': [
50     ['OS == "android"', {
51       'targets': [
52         {
53           'target_name': 'skia_unittests_apk',
54           'type': 'none',
55           'dependencies': [
56             'skia_unittests',
57           ],
58           'variables': {
59             'test_suite_name': 'skia_unittests',
60           },
61           'includes': [ '../build/apk_test.gypi' ],
62         },
63       ],
64     }],
65     ['test_isolation_mode != "noop"', {
66       'targets': [
67         {
68           'target_name': 'skia_unittests_run',
69           'type': 'none',
70           'dependencies': [
71             'skia_unittests',
72           ],
73           'includes': [
74             '../build/isolate.gypi',
75           ],
76           'sources': [
77             'skia_unittests.isolate',
78           ],
79         },
80       ],
81     }],
82   ],