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 'dependencies': [ | 18 'dependencies': [ |
18 '<(DEPTH)/base/base.gyp:base', | 19 '<(DEPTH)/base/base.gyp:base', |
19 '<(DEPTH)/base/base.gyp:test_support_base', | 20 '<(DEPTH)/base/base.gyp:test_support_base', |
21 '<(DEPTH)/testing/gmock.gyp:gmock', | |
20 '<(DEPTH)/testing/gtest.gyp:gtest', | 22 '<(DEPTH)/testing/gtest.gyp:gtest', |
21 'gl.gyp:gl', | 23 '<(DEPTH)/ui/gl/gl.gyp:gl', |
24 '<(DEPTH)/ui/gl/gl.gyp:gl_unittest_utils', | |
22 ], | 25 ], |
23 'conditions': [ | 26 'conditions': [ |
24 ['OS == "android"', { | 27 ['OS == "android"', { |
25 'dependencies': [ | 28 'dependencies': [ |
26 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 29 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
27 ], | 30 ], |
28 }], | 31 }], |
29 ['OS in ("win", "android", "linux")', { | 32 ['OS in ("win", "android", "linux")', { |
30 'sources': [ | 33 'sources': [ |
31 'test/egl_initialization_displays_unittest.cc', | 34 'test/egl_initialization_displays_unittest.cc', |
32 ], | 35 ], |
33 'dependencies': [ | |
34 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
35 ], | |
36 'include_dirs': [ | 36 'include_dirs': [ |
37 '<(DEPTH)/third_party/khronos', | 37 '<(DEPTH)/third_party/khronos', |
no sievers
2015/06/09 22:56:41
nit: I thought you had already moved this out of t
David Yen
2015/06/09 23:04:24
Yes, that CL is still in the commit queue. I will
| |
38 ], | 38 ], |
39 }], | 39 }], |
40 ], | 40 ], |
41 } | 41 } |
42 ], | 42 ], |
43 'conditions': [ | 43 'conditions': [ |
44 ['OS == "android"', { | 44 ['OS == "android"', { |
45 'targets': [ | 45 'targets': [ |
46 { | 46 { |
47 'target_name': 'gl_unittests_apk', | 47 'target_name': 'gl_unittests_apk', |
(...skipping 27 matching lines...) Expand all Loading... | |
75 'dependencies': [ | 75 'dependencies': [ |
76 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 76 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
77 ], | 77 ], |
78 }], | 78 }], |
79 ], | 79 ], |
80 }, | 80 }, |
81 ], | 81 ], |
82 }], | 82 }], |
83 ], | 83 ], |
84 } | 84 } |
OLD | NEW |