2014-08-06 09:35:21 +00:00
|
|
|
# Copyright 2014 the V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'variables': {
|
|
|
|
'v8_code': 1,
|
|
|
|
},
|
|
|
|
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'base-unittests',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
|
|
'../../testing/gtest.gyp:gtest',
|
2014-08-07 07:14:13 +00:00
|
|
|
'../../testing/gtest.gyp:gtest_main',
|
2014-08-06 09:35:21 +00:00
|
|
|
'../../tools/gyp/v8.gyp:v8_libbase',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [ ### gcmole(all) ###
|
2014-08-14 09:07:58 +00:00
|
|
|
'bits-unittest.cc',
|
2014-08-06 09:35:21 +00:00
|
|
|
'cpu-unittest.cc',
|
|
|
|
'platform/condition-variable-unittest.cc',
|
|
|
|
'platform/mutex-unittest.cc',
|
|
|
|
'platform/platform-unittest.cc',
|
2014-08-22 08:52:40 +00:00
|
|
|
'platform/semaphore-unittest.cc',
|
2014-08-06 09:35:21 +00:00
|
|
|
'platform/time-unittest.cc',
|
|
|
|
'utils/random-number-generator-unittest.cc',
|
|
|
|
],
|
2014-08-08 06:59:11 +00:00
|
|
|
'conditions': [
|
|
|
|
['os_posix == 1', {
|
|
|
|
# TODO(svenpanne): This is a temporary work-around to fix the warnings
|
|
|
|
# that show up because we use -std=gnu++0x instead of -std=c++11.
|
|
|
|
'cflags!': [
|
|
|
|
'-pedantic',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2014-08-06 09:35:21 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|