OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'gl_unittests', | 11 'target_name': 'gl_unittests', |
12 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
13 'sources': [ | 13 'sources': [ |
14 'test/run_all_unittests.cc', | 14 'test/run_all_unittests.cc', |
| 15 'gpu_timing_unittest.cc', |
15 'gl_api_unittest.cc', | 16 'gl_api_unittest.cc', |
16 ], | 17 ], |
17 'include_dirs': [ | 18 'include_dirs': [ |
18 '<(DEPTH)/third_party/khronos', | 19 '<(DEPTH)/third_party/khronos', |
19 ], | 20 ], |
20 'dependencies': [ | 21 'dependencies': [ |
21 '<(DEPTH)/base/base.gyp:base', | 22 '<(DEPTH)/base/base.gyp:base', |
22 '<(DEPTH)/base/base.gyp:test_support_base', | 23 '<(DEPTH)/base/base.gyp:test_support_base', |
| 24 '<(DEPTH)/testing/gmock.gyp:gmock', |
23 '<(DEPTH)/testing/gtest.gyp:gtest', | 25 '<(DEPTH)/testing/gtest.gyp:gtest', |
24 'gl.gyp:gl', | 26 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 27 '<(DEPTH)/ui/gl/gl.gyp:gl_unittest_utils', |
25 ], | 28 ], |
26 'conditions': [ | 29 'conditions': [ |
27 ['OS == "android"', { | 30 ['OS == "android"', { |
28 'dependencies': [ | 31 'dependencies': [ |
29 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 32 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
30 ], | 33 ], |
31 }], | 34 }], |
32 ['OS in ("win", "android", "linux")', { | 35 ['OS in ("win", "android", "linux")', { |
33 'sources': [ | 36 'sources': [ |
34 'egl_api_unittest.cc', | 37 'egl_api_unittest.cc', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 'dependencies': [ | 76 'dependencies': [ |
74 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 77 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
75 ], | 78 ], |
76 }], | 79 }], |
77 ], | 80 ], |
78 }, | 81 }, |
79 ], | 82 ], |
80 }], | 83 }], |
81 ], | 84 ], |
82 } | 85 } |
OLD | NEW |