Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1718)

Unified Diff: src/libplatform/libplatform.gyp

Issue 526043002: Refactor libplatform unit tests to use GTest/GMock. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Integrate into test driver. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/libplatform/default-platform-unittest.cc ('k') | src/libplatform/task-queue-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/libplatform/libplatform.gyp
diff --git a/src/base/base.gyp b/src/libplatform/libplatform.gyp
similarity index 61%
copy from src/base/base.gyp
copy to src/libplatform/libplatform.gyp
index 6b1b8f2ab4e11e1299d328cb5dd2157984da62c3..4321da723a8790dd292d7de2af118089921ac36c 100644
--- a/src/base/base.gyp
+++ b/src/libplatform/libplatform.gyp
@@ -9,27 +9,21 @@
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
'targets': [
{
- 'target_name': 'base-unittests',
+ 'target_name': 'libplatform-unittests',
'type': 'executable',
'dependencies': [
'../../testing/gtest.gyp:gtest',
- '../../testing/gtest.gyp:gtest_main',
- '../../tools/gyp/v8.gyp:v8_libbase',
+ '../../testing/gmock.gyp:gmock',
+ '../../testing/gmock.gyp:gmock_main',
+ '../../tools/gyp/v8.gyp:v8_libplatform',
],
'include_dirs': [
'../..',
],
'sources': [ ### gcmole(all) ###
- 'bits-unittest.cc',
- 'cpu-unittest.cc',
- 'flags-unittest.cc',
- 'platform/condition-variable-unittest.cc',
- 'platform/mutex-unittest.cc',
- 'platform/platform-unittest.cc',
- 'platform/semaphore-unittest.cc',
- 'platform/time-unittest.cc',
- 'sys-info-unittest.cc',
- 'utils/random-number-generator-unittest.cc',
+ 'default-platform-unittest.cc',
+ 'task-queue-unittest.cc',
+ 'worker-thread-unittest.cc',
],
'conditions': [
['os_posix == 1', {
« no previous file with comments | « src/libplatform/default-platform-unittest.cc ('k') | src/libplatform/task-queue-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698