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.
11 'target_name': 'gl_unittests',
12 'type': '<(gtest_target_type)',
14 'test/run_all_unittests.cc',
15 'gpu_timing_unittest.cc',
19 '<(DEPTH)/third_party/khronos',
22 '<(DEPTH)/base/base.gyp:base',
23 '<(DEPTH)/base/base.gyp:test_support_base',
24 '<(DEPTH)/testing/gmock.gyp:gmock',
25 '<(DEPTH)/testing/gtest.gyp:gtest',
26 '<(DEPTH)/ui/gl/gl.gyp:gl',
27 '<(DEPTH)/ui/gl/gl.gyp:gl_test_support',
28 '<(DEPTH)/ui/gl/gl.gyp:gl_unittest_utils',
33 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
36 ['OS in ("win", "android", "linux")', {
38 'egl_api_unittest.cc',
39 'test/egl_initialization_displays_unittest.cc',
42 ['OS == "linux" and use_x11 == 1', {
44 'glx_api_unittest.cc',
49 'wgl_api_unittest.cc',
59 'target_name': 'gl_unittests_apk',
65 'test_suite_name': 'gl_unittests',
67 'includes': [ '../../build/apk_test.gypi' ],
71 ['test_isolation_mode != "noop"', {
74 'target_name': 'gl_unittests_run',
80 '../../build/isolate.gypi',
83 'gl_unittests.isolate',
88 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',