1 # Copyright 2014 the V8 project 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.
9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
12 'target_name': 'run-all-unittests',
13 'type': 'static_library',
18 '../../testing/gmock.gyp:gmock',
19 '../../testing/gtest.gyp:gtest',
20 '../../tools/gyp/v8.gyp:v8_libplatform',
25 'sources': [ ### gcmole(all) ###
26 'run-all-unittests.cc',
30 'export_dependent_settings': [
31 '../../testing/gmock.gyp:gmock',
32 '../../testing/gtest.gyp:gtest',
35 ['component=="shared_library"', {
36 # compiler-unittests can't be built against a shared library, so we
37 # need to depend on the underlying static target in that case.
39 ['v8_use_snapshot=="true"', {
40 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
44 '../../tools/gyp/v8.gyp:v8_nosnapshot',
49 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
52 # TODO(svenpanne): This is a temporary work-around to fix the warnings
53 # that show up because we use -std=gnu++0x instead of -std=c++11.
57 'direct_dependent_settings': {
63 ['want_separate_host_toolset==1', {
64 'toolsets': ['host', 'target'],
66 'toolsets': ['target'],