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.
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',
16 'target_name': 'webkit_compositor_bindings_unittests',
17 'type' : '<(gtest_target_type)',
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',
28 '<@(webkit_compositor_bindings_tests_sources)',
29 'test/run_all_unittests.cc',
35 ['OS == "android" and gtest_target_type == "shared_library"', {
37 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
40 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
42 [ 'linux_use_tcmalloc==1', {
44 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
53 # Special target to wrap a gtest_target_type==shared_library
54 # package webkit_compositor_bindings_unittests into an android apk for execution.
55 ['OS == "android" and gtest_target_type == "shared_library"', {
58 'target_name': 'webkit_compositor_bindings_unittests_apk',
61 'webkit_compositor_bindings_unittests',
64 'test_suite_name': 'webkit_compositor_bindings_unittests',
65 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webkit_compositor_bindings_unittests<(SHARED_LIB_SUFFIX)',
67 'includes': [ '../../../build/apk_test.gypi' ],