Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: src/heap/heap.gyp

Issue 525193004: Merge heap unit tests into src. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap/gc-idle-time-handler-unittest.cc ('k') | test/heap-unittests/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 the V8 project authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'v8_code': 1, 7 'v8_code': 1,
8 }, 8 },
9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'heap-unittests', 12 'target_name': 'heap-unittests',
13 'type': 'executable', 13 'type': 'executable',
14 'dependencies': [ 14 'dependencies': [
15 '../../testing/gmock.gyp:gmock',
16 '../../testing/gtest.gyp:gtest', 15 '../../testing/gtest.gyp:gtest',
16 '../../testing/gtest.gyp:gtest_main',
17 '../../tools/gyp/v8.gyp:v8_libplatform', 17 '../../tools/gyp/v8.gyp:v8_libplatform',
18 ], 18 ],
19 'include_dirs': [ 19 'include_dirs': [
20 '../..', 20 '../..',
21 ], 21 ],
22 'sources': [ ### gcmole(all) ### 22 'sources': [ ### gcmole(all) ###
23 'heap-unittest.cc', 23 'gc-idle-time-handler-unittest.cc',
24 'heap-unittests.cc',
25 ], 24 ],
26 'conditions': [ 25 'conditions': [
27 ['component=="shared_library"', { 26 ['component=="shared_library"', {
28 # heap-unittests can't be built against a shared library, so we 27 # heap-unittests can't be built against a shared library, so we
29 # need to depend on the underlying static target in that case. 28 # need to depend on the underlying static target in that case.
30 'conditions': [ 29 'conditions': [
31 ['v8_use_snapshot=="true"', { 30 ['v8_use_snapshot=="true"', {
32 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'], 31 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
33 }, 32 },
34 { 33 {
35 'dependencies': [ 34 'dependencies': [
36 '../../tools/gyp/v8.gyp:v8_nosnapshot', 35 '../../tools/gyp/v8.gyp:v8_nosnapshot',
37 ], 36 ],
38 }], 37 }],
39 ], 38 ],
40 }, { 39 }, {
41 'dependencies': ['../../tools/gyp/v8.gyp:v8'], 40 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
42 }], 41 }],
43 ['os_posix == 1', { 42 ['os_posix == 1', {
44 # TODO(svenpanne): This is a temporary work-around to fix the warnings 43 # TODO(svenpanne): This is a temporary work-around to fix the warnings
45 # that show up because we use -std=gnu++0x instead of -std=c++11. 44 # that show up because we use -std=gnu++0x instead of -std=c++11.
46 'cflags!': [ 45 'cflags!': [
47 '-pedantic', 46 '-pedantic',
48 ], 47 ],
49 }], 48 }],
50 ], 49 ],
51 }, 50 },
52 ], 51 ],
53 } 52 }
OLDNEW
« no previous file with comments | « src/heap/gc-idle-time-handler-unittest.cc ('k') | test/heap-unittests/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698