Replace base::str[n]casecmp with helper functions.
[chromium-blink-merge.git] / skia / skia_tests.gyp
blob015065c8080e5f1f0a9175c983e2d49f8571c0a7
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/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     ['test_isolation_mode != "noop"', {
64       'targets': [
65         {
66           'target_name': 'skia_unittests_run',
67           'type': 'none',
68           'dependencies': [
69             'skia_unittests',
70           ],
71           'includes': [
72             '../build/isolate.gypi',
73           ],
74           'sources': [
75             'skia_unittests.isolate',
76           ],
77         },
78       ],
79     }],
80   ],