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

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

Issue 439863004: Initial import of unittests using GTest/GMock. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 6 years, 4 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/unittests.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 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
7 'targets': [
8 {
9 'target_name': 'unittests',
10 'type': 'executable',
11 'dependencies': [
12 '../../testing/gmock.gyp:gmock',
13 '../../testing/gtest.gyp:gtest',
14 '../../tools/gyp/v8.gyp:v8_libplatform',
15 ],
16 'include_dirs': [
17 '../..',
18 ],
19 'sources': [ ### gcmole(all) ###
20 'compiler/test-instruction-selector.cc',
21 'compiler/test-instruction-selector.h',
22 'test-isolate.cc',
23 'test-isolate.h',
24 'test-zone.cc',
25 'test-zone.h',
26 'unittests.cc',
27 'unittests.h',
28 ],
29 'conditions': [
30 ['v8_target_arch=="arm"', {
31 'sources': [ ### gcmole(arch:arm) ###
32 'compiler/arm/test-instruction-selector-arm.cc',
33 ]
34 }],
35 ['component=="shared_library"', {
36 # unittests can't be built against a shared library, so we need to
37 # depend on the underlying static target in that case.
38 'conditions': [
39 ['v8_use_snapshot=="true"', {
40 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
41 },
42 {
43 'dependencies': [
44 '../../tools/gyp/v8.gyp:v8_nosnapshot',
45 ],
46 }],
47 ],
48 }, {
49 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
50 }],
51 ],
52 },
53 ],
54 }
OLDNEW
« no previous file with comments | « test/unittests/unittests.cc ('k') | test/unittests/unittests.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698