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': 'base-unittests', | 12 'target_name': 'base-unittests', |
13 'type': 'executable', | 13 'type': 'executable', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../testing/gtest.gyp:gtest', | 15 '../../testing/gtest.gyp:gtest', |
16 '../../testing/gtest.gyp:gtest_main', | 16 '../../testing/gtest.gyp:gtest_main', |
17 '../../tools/gyp/v8.gyp:v8_libbase', | 17 '../../tools/gyp/v8.gyp:v8_libbase', |
18 ], | 18 ], |
19 'include_dirs': [ | 19 'include_dirs': [ |
20 '../..', | 20 '../..', |
21 ], | 21 ], |
22 'sources': [ ### gcmole(all) ### | 22 'sources': [ ### gcmole(all) ### |
23 'bits-unittest.cc', | 23 'bits-unittest.cc', |
24 'cpu-unittest.cc', | 24 'cpu-unittest.cc', |
25 'platform/condition-variable-unittest.cc', | 25 'platform/condition-variable-unittest.cc', |
26 'platform/mutex-unittest.cc', | 26 'platform/mutex-unittest.cc', |
27 'platform/platform-unittest.cc', | 27 'platform/platform-unittest.cc', |
| 28 'platform/semaphore-unittest.cc', |
28 'platform/time-unittest.cc', | 29 'platform/time-unittest.cc', |
29 'utils/random-number-generator-unittest.cc', | 30 'utils/random-number-generator-unittest.cc', |
30 ], | 31 ], |
31 'conditions': [ | 32 'conditions': [ |
32 ['os_posix == 1', { | 33 ['os_posix == 1', { |
33 # TODO(svenpanne): This is a temporary work-around to fix the warnings | 34 # TODO(svenpanne): This is a temporary work-around to fix the warnings |
34 # that show up because we use -std=gnu++0x instead of -std=c++11. | 35 # that show up because we use -std=gnu++0x instead of -std=c++11. |
35 'cflags!': [ | 36 'cflags!': [ |
36 '-pedantic', | 37 '-pedantic', |
37 ], | 38 ], |
38 }], | 39 }], |
39 ], | 40 ], |
40 }, | 41 }, |
41 ], | 42 ], |
42 } | 43 } |
OLD | NEW |