OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 'target_name': 'gl_unittests', | |
12 'type': '<(gtest_target_type)', | |
13 'sources': [ | |
14 'test/run_all_unittests.cc', | |
15 ], | |
16 'dependencies': [ | |
17 '../../base/base.gyp:base', | |
no sievers
2015/05/05 19:14:10
nit: Can you use <(DEPTH)/base etc. here and every
David Yen
2015/05/05 19:20:17
Done.
| |
18 '../../base/base.gyp:test_support_base', | |
19 '../../testing/gtest.gyp:gtest', | |
20 ], | |
21 'conditions': [ | |
22 ['OS == "android"', { | |
23 'dependencies': [ | |
24 '../../testing/android/native_test.gyp:native_test_native_code', | |
25 ], | |
26 }], | |
27 ], | |
28 } | |
29 ], | |
30 'conditions': [ | |
31 ['OS == "android"', { | |
32 'targets': [ | |
33 { | |
34 'target_name': 'gl_unittests_apk', | |
35 'type': 'none', | |
36 'dependencies': [ | |
37 'gl_unittests', | |
38 ], | |
39 'variables': { | |
40 'test_suite_name': 'gl_unittests', | |
41 }, | |
42 'includes': [ '../../build/apk_test.gypi' ], | |
43 }, | |
44 ], | |
45 }], | |
46 ['test_isolation_mode != "noop"', { | |
47 'targets': [ | |
48 { | |
49 'target_name': 'gl_unittests_run', | |
50 'type': 'none', | |
51 'dependencies': [ | |
52 'gl_unittests', | |
53 ], | |
54 'includes': [ | |
55 '../../build/isolate.gypi', | |
56 ], | |
57 'sources': [ | |
58 'gl_unittests.isolate', | |
59 ], | |
60 'conditions': [ | |
61 ['use_x11 == 1', { | |
62 'dependencies': [ | |
63 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
64 ], | |
65 }], | |
66 ], | |
67 }, | |
68 ], | |
69 }], | |
70 ], | |
71 } | |
OLD | NEW |