mac: Disable Address Book integration.
[chromium-blink-merge.git] / ui / gl / gl_tests.gyp
blobbd92444561c0d995d5065ae834d7522cdc9b286b
1 # Copyright 2015 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': 'gl_unittests',
12       'type': '<(gtest_target_type)',
13       'sources': [
14         'test/run_all_unittests.cc',
15         'gl_api_unittest.cc',
16       ],
17       'dependencies': [
18         '<(DEPTH)/base/base.gyp:base',
19         '<(DEPTH)/base/base.gyp:test_support_base',
20         '<(DEPTH)/testing/gtest.gyp:gtest',
21         'gl.gyp:gl',
22       ],
23       'conditions': [
24         ['OS == "android"', {
25           'dependencies': [
26             '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
27           ],
28         }],
29         ['OS in ("win", "android", "linux")', {
30           'sources': [
31             'test/egl_initialization_displays_unittest.cc',
32           ],
33           'dependencies': [
34             '<(DEPTH)/ui/gl/gl.gyp:gl',
35           ],
36           'include_dirs': [
37             '<(DEPTH)/third_party/khronos',
38           ],
39         }],
40       ],
41     }
42   ],
43   'conditions': [
44     ['OS == "android"', {
45       'targets': [
46         {
47           'target_name': 'gl_unittests_apk',
48           'type': 'none',
49           'dependencies': [
50             'gl_unittests',
51           ],
52           'variables': {
53             'test_suite_name': 'gl_unittests',
54           },
55           'includes': [ '../../build/apk_test.gypi' ],
56         },
57       ],
58     }],
59     ['test_isolation_mode != "noop"', {
60       'targets': [
61         {
62           'target_name': 'gl_unittests_run',
63           'type': 'none',
64           'dependencies': [
65             'gl_unittests',
66           ],
67           'includes': [
68             '../../build/isolate.gypi',
69           ],
70           'sources': [
71             'gl_unittests.isolate',
72           ],
73           'conditions': [
74             ['use_x11 == 1', {
75               'dependencies': [
76                 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
77               ],
78             }],
79           ],
80         },
81       ],
82     }],
83   ],