1efe3de965
TEST=base-unittests BUG=v8:3489 LOG=n R=machenbach@chromium.org Review URL: https://codereview.chromium.org/494343002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
# 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',
|
|
'../../testing/gtest.gyp:gtest_main',
|
|
'../../tools/gyp/v8.gyp:v8_libbase',
|
|
],
|
|
'include_dirs': [
|
|
'../..',
|
|
],
|
|
'sources': [ ### gcmole(all) ###
|
|
'bits-unittest.cc',
|
|
'cpu-unittest.cc',
|
|
'platform/condition-variable-unittest.cc',
|
|
'platform/mutex-unittest.cc',
|
|
'platform/platform-unittest.cc',
|
|
'platform/semaphore-unittest.cc',
|
|
'platform/time-unittest.cc',
|
|
'utils/random-number-generator-unittest.cc',
|
|
],
|
|
'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',
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
],
|
|
}
|