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