Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / v8 / src / compiler / compiler.gyp
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         '../test/test.gyp:run-all-unittests',
16       ],
17       'include_dirs': [
18         '../..',
19       ],
20       'sources': [  ### gcmole(all) ###
21         'change-lowering-unittest.cc',
22         'common-operator-unittest.cc',
23         'compiler-test-utils.h',
24         'graph-reducer-unittest.cc',
25         'graph-unittest.cc',
26         'graph-unittest.h',
27         'instruction-selector-unittest.cc',
28         'instruction-selector-unittest.h',
29         'js-builtin-reducer-unittest.cc',
30         'machine-operator-reducer-unittest.cc',
31         'machine-operator-unittest.cc',
32         'simplified-operator-reducer-unittest.cc',
33         'simplified-operator-unittest.cc',
34         'value-numbering-reducer-unittest.cc',
35       ],
36       'conditions': [
37         ['v8_target_arch=="arm"', {
38           'sources': [  ### gcmole(arch:arm) ###
39             'arm/instruction-selector-arm-unittest.cc',
40           ],
41         }],
42         ['v8_target_arch=="arm64"', {
43           'sources': [  ### gcmole(arch:arm64) ###
44             'arm64/instruction-selector-arm64-unittest.cc',
45           ],
46         }],
47         ['v8_target_arch=="ia32"', {
48           'sources': [  ### gcmole(arch:ia32) ###
49             'ia32/instruction-selector-ia32-unittest.cc',
50           ],
51         }],
52         ['v8_target_arch=="x64"', {
53           'sources': [  ### gcmole(arch:x64) ###
54             'x64/instruction-selector-x64-unittest.cc',
55           ],
56         }],
57       ],
58     },
59   ],
60 }