text input focus: Updates WebView::GetTextInputClient when the underlying RenderView...
[chromium-blink-merge.git] / skia / skia_tests.gyp
blobfcc73476402f24e26b30d27306bf6d6b6bbeca8a
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         '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         ['OS == "android"', {
46           'dependencies': [
47             '../testing/android/native_test.gyp:native_test_native_code',
48           ],
49         }],
50       ],
51     },
52   ],
53   'conditions': [
54     ['OS == "android"', {
55       'targets': [
56         {
57           'target_name': 'skia_unittests_apk',
58           'type': 'none',
59           'dependencies': [
60             'skia_unittests',
61           ],
62           'variables': {
63             'test_suite_name': 'skia_unittests',
64           },
65           'includes': [ '../build/apk_test.gypi' ],
66         },
67       ],
68     }],
69   ],