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': 'heap-unittests',
15 '../../testing/gtest.gyp:gtest',
16 '../../testing/gtest.gyp:gtest_main',
17 '../../tools/gyp/v8.gyp:v8_libplatform',
22 'sources': [ ### gcmole(all) ###
23 'gc-idle-time-handler-unittest.cc',
26 ['component=="shared_library"', {
27 # heap-unittests can't be built against a shared library, so we
28 # need to depend on the underlying static target in that case.
30 ['v8_use_snapshot=="true"', {
31 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
35 '../../tools/gyp/v8.gyp:v8_nosnapshot',
40 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
43 # TODO(svenpanne): This is a temporary work-around to fix the warnings
44 # that show up because we use -std=gnu++0x instead of -std=c++11.