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

Side by Side Diff: test/unittests/unittests.gyp

Issue 615393002: Move unit tests to test/unittests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 2 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 | « test/unittests/test-utils.cc ('k') | test/unittests/unittests.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'variables': {
7 'v8_code': 1,
8 },
9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
10 'targets': [
11 {
12 'target_name': 'unittests',
13 'type': 'executable',
14 'variables': {
15 'optimize': 'max',
16 },
17 'dependencies': [
18 '../../testing/gmock.gyp:gmock',
19 '../../testing/gtest.gyp:gtest',
20 '../../tools/gyp/v8.gyp:v8_libplatform',
21 ],
22 'include_dirs': [
23 '../..',
24 ],
25 'sources': [ ### gcmole(all) ###
26 'base/bits-unittest.cc',
27 'base/cpu-unittest.cc',
28 'base/division-by-constant-unittest.cc',
29 'base/flags-unittest.cc',
30 'base/platform/condition-variable-unittest.cc',
31 'base/platform/mutex-unittest.cc',
32 'base/platform/platform-unittest.cc',
33 'base/platform/semaphore-unittest.cc',
34 'base/platform/time-unittest.cc',
35 'base/sys-info-unittest.cc',
36 'base/utils/random-number-generator-unittest.cc',
37 'compiler/change-lowering-unittest.cc',
38 'compiler/common-operator-unittest.cc',
39 'compiler/compiler-test-utils.h',
40 'compiler/graph-reducer-unittest.cc',
41 'compiler/graph-unittest.cc',
42 'compiler/graph-unittest.h',
43 'compiler/instruction-selector-unittest.cc',
44 'compiler/instruction-selector-unittest.h',
45 'compiler/js-builtin-reducer-unittest.cc',
46 'compiler/js-operator-unittest.cc',
47 'compiler/machine-operator-reducer-unittest.cc',
48 'compiler/machine-operator-unittest.cc',
49 'compiler/simplified-operator-reducer-unittest.cc',
50 'compiler/simplified-operator-unittest.cc',
51 'compiler/value-numbering-reducer-unittest.cc',
52 'libplatform/default-platform-unittest.cc',
53 'libplatform/task-queue-unittest.cc',
54 'libplatform/worker-thread-unittest.cc',
55 'heap/gc-idle-time-handler-unittest.cc',
56 'run-all-unittests.cc',
57 'test-utils.h',
58 'test-utils.cc',
59 ],
60 'conditions': [
61 ['v8_target_arch=="arm"', {
62 'sources': [ ### gcmole(arch:arm) ###
63 'compiler/arm/instruction-selector-arm-unittest.cc',
64 ],
65 }],
66 ['v8_target_arch=="arm64"', {
67 'sources': [ ### gcmole(arch:arm64) ###
68 'compiler/arm64/instruction-selector-arm64-unittest.cc',
69 ],
70 }],
71 ['v8_target_arch=="ia32"', {
72 'sources': [ ### gcmole(arch:ia32) ###
73 'compiler/ia32/instruction-selector-ia32-unittest.cc',
74 ],
75 }],
76 ['v8_target_arch=="x64"', {
77 'sources': [ ### gcmole(arch:x64) ###
78 'compiler/x64/instruction-selector-x64-unittest.cc',
79 ],
80 }],
81 ['component=="shared_library"', {
82 # compiler-unittests can't be built against a shared library, so we
83 # need to depend on the underlying static target in that case.
84 'conditions': [
85 ['v8_use_snapshot=="true"', {
86 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
87 },
88 {
89 'dependencies': [
90 '../../tools/gyp/v8.gyp:v8_nosnapshot',
91 ],
92 }],
93 ],
94 }, {
95 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
96 }],
97 ['os_posix == 1', {
98 # TODO(svenpanne): This is a temporary work-around to fix the warnings
99 # that show up because we use -std=gnu++0x instead of -std=c++11.
100 'cflags!': [
101 '-pedantic',
102 ],
103 'direct_dependent_settings': {
104 'cflags!': [
105 '-pedantic',
106 ],
107 },
108 }],
109 ['want_separate_host_toolset==1', {
110 'toolsets': ['host', 'target'],
111 }, {
112 'toolsets': ['target'],
113 }],
114 ],
115 },
116 ],
117 }
OLDNEW
« no previous file with comments | « test/unittests/test-utils.cc ('k') | test/unittests/unittests.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698