| OLD | NEW |
| (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 } | |
| OLD | NEW |