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 'gl_api_unittest.cc', | 15 'gl_api_unittest.cc', |
16 ], | 16 ], |
| 17 'include_dirs': [ |
| 18 '<(DEPTH)/third_party/khronos', |
| 19 ], |
17 'dependencies': [ | 20 'dependencies': [ |
18 '<(DEPTH)/base/base.gyp:base', | 21 '<(DEPTH)/base/base.gyp:base', |
19 '<(DEPTH)/base/base.gyp:test_support_base', | 22 '<(DEPTH)/base/base.gyp:test_support_base', |
20 '<(DEPTH)/testing/gtest.gyp:gtest', | 23 '<(DEPTH)/testing/gtest.gyp:gtest', |
21 'gl.gyp:gl', | 24 'gl.gyp:gl', |
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': [ |
| 34 'egl_api_unittest.cc', |
31 'test/egl_initialization_displays_unittest.cc', | 35 'test/egl_initialization_displays_unittest.cc', |
32 ], | 36 ], |
33 'dependencies': [ | |
34 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
35 ], | |
36 'include_dirs': [ | |
37 '<(DEPTH)/third_party/khronos', | |
38 ], | |
39 }], | 37 }], |
40 ], | 38 ], |
41 } | 39 } |
42 ], | 40 ], |
43 'conditions': [ | 41 'conditions': [ |
44 ['OS == "android"', { | 42 ['OS == "android"', { |
45 'targets': [ | 43 'targets': [ |
46 { | 44 { |
47 'target_name': 'gl_unittests_apk', | 45 'target_name': 'gl_unittests_apk', |
48 'type': 'none', | 46 'type': 'none', |
(...skipping 26 matching lines...) Expand all Loading... |
75 'dependencies': [ | 73 'dependencies': [ |
76 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 74 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
77 ], | 75 ], |
78 }], | 76 }], |
79 ], | 77 ], |
80 }, | 78 }, |
81 ], | 79 ], |
82 }], | 80 }], |
83 ], | 81 ], |
84 } | 82 } |
OLD | NEW |