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

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

Issue 447563003: Add initial support for compiler unit tests using GTest/GMock. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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': 'compiler-unittests',
13 'type': 'executable',
14 'dependencies': [
15 '../../testing/gmock.gyp:gmock',
16 '../../testing/gtest.gyp:gtest',
17 '../../tools/gyp/v8.gyp:v8_libplatform',
18 ],
19 'include_dirs': [
20 '../..',
21 ],
22 'sources': [ ### gcmole(all) ###
23 'compiler-unittests.cc',
24 'instruction-selector-unittest.cc',
25 ],
26 'conditions': [
27 ['v8_target_arch=="arm"', {
28 'sources': [ ### gcmole(arch:arm) ###
29 'arm/instruction-selector-arm-unittest.cc',
30 ],
31 }],
32 ['component=="shared_library"', {
33 # compiler-unittests can't be built against a shared library, so we
34 # need to depend on the underlying static target in that case.
35 'conditions': [
36 ['v8_use_snapshot=="true"', {
37 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
38 },
39 {
40 'dependencies': [
41 '../../tools/gyp/v8.gyp:v8_nosnapshot',
42 ],
43 }],
44 ],
45 }, {
46 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
47 }],
48 ],
49 },
50 ],
51 }
OLDNEW
« no previous file with comments | « test/compiler-unittests/compiler-unittests.cc ('k') | test/compiler-unittests/compiler-unittests.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698