diff options
Diffstat (limited to 'deps/v8/src/libplatform/libplatform.gyp')
-rw-r--r-- | deps/v8/src/libplatform/libplatform.gyp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/deps/v8/src/libplatform/libplatform.gyp b/deps/v8/src/libplatform/libplatform.gyp new file mode 100644 index 0000000000..4321da723a --- /dev/null +++ b/deps/v8/src/libplatform/libplatform.gyp @@ -0,0 +1,39 @@ +# 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': 'libplatform-unittests', + 'type': 'executable', + 'dependencies': [ + '../../testing/gtest.gyp:gtest', + '../../testing/gmock.gyp:gmock', + '../../testing/gmock.gyp:gmock_main', + '../../tools/gyp/v8.gyp:v8_libplatform', + ], + 'include_dirs': [ + '../..', + ], + 'sources': [ ### gcmole(all) ### + 'default-platform-unittest.cc', + 'task-queue-unittest.cc', + 'worker-thread-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', + ], + }], + ], + }, + ], +} |