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 # This is a dummy target so as to not to break the build while moving tests from 6 # webkit_compositor_bindings_unittests to content_unittests. 7 { 8 'variables': { 9 'chromium_code': 1, 10 }, 11 'targets': [ 12 { 13 'target_name': 'webkit_compositor_bindings_unittests', 14 'type' : '<(gtest_target_type)', 15 'dependencies': [ 16 '<(DEPTH)/testing/gmock.gyp:gmock', 17 '<(DEPTH)/testing/gtest.gyp:gtest', 18 '<(DEPTH)/base/base.gyp:test_support_base', 19 ], 20 'sources': [ 21 'compositor_bindings_dummy_unittest.cc', 22 'test/run_all_unittests.cc', 23 ], 24 'conditions': [ 25 ['OS == "android"', { 26 'dependencies': [ 27 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', 28 ], 29 }], 30 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { 31 'conditions': [ 32 [ 'use_allocator!="none"', { 33 'dependencies': [ 34 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 35 ], 36 }], 37 ], 38 }], 39 ], 40 }, 41 ], 42 'conditions': [ 43 ['OS == "android"', { 44 'targets': [ 45 { 46 'target_name': 'webkit_compositor_bindings_unittests_apk', 47 'type': 'none', 48 'dependencies': [ 49 'webkit_compositor_bindings_unittests', 50 ], 51 'variables': { 52 'test_suite_name': 'webkit_compositor_bindings_unittests', 53 }, 54 'includes': [ '../../../build/apk_test.gypi' ], 55 }, 56 ], 57 }], 58 ], 59 }