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 ], | 15 ], |
16 'dependencies': [ | 16 'dependencies': [ |
17 '<(DEPTH)/base/base.gyp:base', | 17 '<(DEPTH)/base/base.gyp:base', |
18 '<(DEPTH)/base/base.gyp:test_support_base', | 18 '<(DEPTH)/base/base.gyp:test_support_base', |
19 '<(DEPTH)/testing/gtest.gyp:gtest', | 19 '<(DEPTH)/testing/gtest.gyp:gtest', |
20 ], | 20 ], |
21 'conditions': [ | 21 'conditions': [ |
22 ['OS == "android"', { | 22 ['OS == "android"', { |
23 'dependencies': [ | 23 'dependencies': [ |
24 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 24 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
25 ], | 25 ], |
26 }], | 26 }], |
| 27 ['OS in ("win", "android", "linux")', { |
| 28 'sources': [ |
| 29 'test/egl_initialization_displays_unittest.cc', |
| 30 ], |
| 31 'dependencies': [ |
| 32 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 33 ], |
| 34 'include_dirs': [ |
| 35 '<(DEPTH)/third_party/khronos', |
| 36 ], |
| 37 }], |
27 ], | 38 ], |
28 } | 39 } |
29 ], | 40 ], |
30 'conditions': [ | 41 'conditions': [ |
31 ['OS == "android"', { | 42 ['OS == "android"', { |
32 'targets': [ | 43 'targets': [ |
33 { | 44 { |
34 'target_name': 'gl_unittests_apk', | 45 'target_name': 'gl_unittests_apk', |
35 'type': 'none', | 46 'type': 'none', |
36 'dependencies': [ | 47 'dependencies': [ |
(...skipping 25 matching lines...) Expand all Loading... |
62 'dependencies': [ | 73 'dependencies': [ |
63 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 74 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
64 ], | 75 ], |
65 }], | 76 }], |
66 ], | 77 ], |
67 }, | 78 }, |
68 ], | 79 ], |
69 }], | 80 }], |
70 ], | 81 ], |
71 } | 82 } |
OLD | NEW |