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