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': [ |
(...skipping 10 matching lines...) Expand all Loading... |
21 ], | 21 ], |
22 'sources': [ ### gcmole(all) ### | 22 'sources': [ ### gcmole(all) ### |
23 'change-lowering-unittest.cc', | 23 'change-lowering-unittest.cc', |
24 'common-operator-unittest.cc', | 24 'common-operator-unittest.cc', |
25 'common-operator-unittest.h', | 25 'common-operator-unittest.h', |
26 'compiler-unittests.cc', | 26 'compiler-unittests.cc', |
27 'graph-unittest.cc', | 27 'graph-unittest.cc', |
28 'graph-unittest.h', | 28 'graph-unittest.h', |
29 'instruction-selector-unittest.cc', | 29 'instruction-selector-unittest.cc', |
30 'machine-operator-reducer-unittest.cc', | 30 'machine-operator-reducer-unittest.cc', |
| 31 'machine-operator-unittest.cc', |
31 ], | 32 ], |
32 'conditions': [ | 33 'conditions': [ |
33 ['v8_target_arch=="arm"', { | 34 ['v8_target_arch=="arm"', { |
34 'sources': [ ### gcmole(arch:arm) ### | 35 'sources': [ ### gcmole(arch:arm) ### |
35 'arm/instruction-selector-arm-unittest.cc', | 36 'arm/instruction-selector-arm-unittest.cc', |
36 ], | 37 ], |
37 }], | 38 }], |
38 ['v8_target_arch=="arm64"', { | 39 ['v8_target_arch=="arm64"', { |
39 'sources': [ ### gcmole(arch:arm64) ### | 40 'sources': [ ### gcmole(arch:arm64) ### |
40 'arm64/instruction-selector-arm64-unittest.cc', | 41 'arm64/instruction-selector-arm64-unittest.cc', |
41 ], | 42 ], |
42 }], | 43 }], |
43 ['v8_target_arch=="ia32"', { | 44 ['v8_target_arch=="ia32"', { |
44 'sources': [ ### gcmole(arch:ia32) ### | 45 'sources': [ ### gcmole(arch:ia32) ### |
45 'ia32/instruction-selector-ia32-unittest.cc', | 46 'ia32/instruction-selector-ia32-unittest.cc', |
46 ], | 47 ], |
47 }], | 48 }], |
| 49 ['v8_target_arch=="x64"', { |
| 50 'sources': [ ### gcmole(arch:x64) ### |
| 51 'x64/instruction-selector-x64-unittest.cc', |
| 52 ], |
| 53 }], |
48 ['component=="shared_library"', { | 54 ['component=="shared_library"', { |
49 # compiler-unittests can't be built against a shared library, so we | 55 # compiler-unittests can't be built against a shared library, so we |
50 # need to depend on the underlying static target in that case. | 56 # need to depend on the underlying static target in that case. |
51 'conditions': [ | 57 'conditions': [ |
52 ['v8_use_snapshot=="true"', { | 58 ['v8_use_snapshot=="true"', { |
53 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'], | 59 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'], |
54 }, | 60 }, |
55 { | 61 { |
56 'dependencies': [ | 62 'dependencies': [ |
57 '../../tools/gyp/v8.gyp:v8_nosnapshot', | 63 '../../tools/gyp/v8.gyp:v8_nosnapshot', |
58 ], | 64 ], |
59 }], | 65 }], |
60 ], | 66 ], |
61 }, { | 67 }, { |
62 'dependencies': ['../../tools/gyp/v8.gyp:v8'], | 68 'dependencies': ['../../tools/gyp/v8.gyp:v8'], |
63 }], | 69 }], |
64 ['os_posix == 1', { | 70 ['os_posix == 1', { |
65 # TODO(svenpanne): This is a temporary work-around to fix the warnings | 71 # TODO(svenpanne): This is a temporary work-around to fix the warnings |
66 # that show up because we use -std=gnu++0x instead of -std=c++11. | 72 # that show up because we use -std=gnu++0x instead of -std=c++11. |
67 'cflags!': [ | 73 'cflags!': [ |
68 '-pedantic', | 74 '-pedantic', |
69 ], | 75 ], |
70 }], | 76 }], |
71 ], | 77 ], |
72 }, | 78 }, |
73 ], | 79 ], |
74 } | 80 } |
OLD | NEW |