OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 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 'webkit_compositor_bindings_tests_sources': [ | |
9 'web_animation_unittest.cc', | |
10 'web_float_animation_curve_unittest.cc', | |
11 'web_layer_impl_fixed_bounds_unittest.cc', | |
12 ], | |
13 }, | |
14 'targets': [ | |
15 { | |
16 'target_name': 'webkit_compositor_bindings_unittests', | |
17 'type' : '<(gtest_target_type)', | |
18 'dependencies': [ | |
19 '<(DEPTH)/base/base.gyp:test_support_base', | |
20 '<(DEPTH)/cc/cc.gyp:cc', | |
21 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | |
22 '<(DEPTH)/skia/skia.gyp:skia', | |
23 '<(DEPTH)/testing/gmock.gyp:gmock', | |
24 '<(DEPTH)/testing/gtest.gyp:gtest', | |
25 'compositor_bindings.gyp:webkit_compositor_bindings', | |
26 ], | |
27 'sources': [ | |
28 '<@(webkit_compositor_bindings_tests_sources)', | |
29 'test/run_all_unittests.cc', | |
30 ], | |
31 'include_dirs': [ | |
32 '<(DEPTH)' | |
33 ], | |
34 'conditions': [ | |
35 ['OS == "android"', { | |
36 'dependencies': [ | |
37 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
38 ], | |
39 }], | |
40 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | |
41 'conditions': [ | |
42 [ 'use_allocator!="none"', { | |
43 'dependencies': [ | |
44 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
45 ], | |
46 }], | |
47 ], | |
48 }], | |
49 ], | |
50 }, | |
51 ], | |
52 'conditions': [ | |
53 ['OS == "android"', { | |
54 'targets': [ | |
55 { | |
56 'target_name': 'webkit_compositor_bindings_unittests_apk', | |
57 'type': 'none', | |
58 'dependencies': [ | |
59 'webkit_compositor_bindings_unittests', | |
60 ], | |
61 'variables': { | |
62 'test_suite_name': 'webkit_compositor_bindings_unittests', | |
63 }, | |
64 'includes': [ '../../../build/apk_test.gypi' ], | |
65 }, | |
66 ], | |
67 }], | |
68 ], | |
69 } | |
OLD | NEW |