OLD | NEW |
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': 'compiler-unittests', | 12 'target_name': 'compiler-unittests', |
13 'type': 'executable', | 13 'type': 'executable', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../testing/gmock.gyp:gmock', | 15 '../../testing/gmock.gyp:gmock', |
16 '../../testing/gtest.gyp:gtest', | 16 '../../testing/gtest.gyp:gtest', |
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 'change-lowering-unittest.cc', |
23 'compiler-unittests.cc', | 24 'compiler-unittests.cc', |
24 'instruction-selector-unittest.cc', | 25 'instruction-selector-unittest.cc', |
| 26 'node-matchers.cc', |
| 27 'node-matchers.h', |
25 ], | 28 ], |
26 'conditions': [ | 29 'conditions': [ |
27 ['v8_target_arch=="arm"', { | 30 ['v8_target_arch=="arm"', { |
28 'sources': [ ### gcmole(arch:arm) ### | 31 'sources': [ ### gcmole(arch:arm) ### |
29 'arm/instruction-selector-arm-unittest.cc', | 32 'arm/instruction-selector-arm-unittest.cc', |
30 ], | 33 ], |
31 }], | 34 }], |
32 ['component=="shared_library"', { | 35 ['component=="shared_library"', { |
33 # compiler-unittests can't be built against a shared library, so we | 36 # compiler-unittests can't be built against a shared library, so we |
34 # need to depend on the underlying static target in that case. | 37 # need to depend on the underlying static target in that case. |
(...skipping 14 matching lines...) Expand all Loading... |
49 # TODO(svenpanne): This is a temporary work-around to fix the warnings | 52 # TODO(svenpanne): This is a temporary work-around to fix the warnings |
50 # that show up because we use -std=gnu++0x instead of -std=c++11. | 53 # that show up because we use -std=gnu++0x instead of -std=c++11. |
51 'cflags!': [ | 54 'cflags!': [ |
52 '-pedantic', | 55 '-pedantic', |
53 ], | 56 ], |
54 }], | 57 }], |
55 ], | 58 ], |
56 }, | 59 }, |
57 ], | 60 ], |
58 } | 61 } |
OLD | NEW |