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

Unified Diff: mojo/mojo.gyp

Issue 23621056: Initial in-process implementation of some Mojo primitives. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wip18.1 Created 7 years, 3 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 | « no previous file | mojo/public/system/core.h » ('j') | mojo/public/system/core.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo.gyp
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index e323d28810962ef494114626d4fe279bd768f9d4..dd14016e2ff887f188ce246769ea931c6b323cc3 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -4,7 +4,7 @@
{
'variables': {
- 'chromium_code': 1, # Use higher warning level.
+ 'chromium_code': 1,
},
'target_defaults': {
'defines': ['MOJO_IMPLEMENTATION'],
@@ -14,7 +14,66 @@
'target_name': 'mojo',
'type': 'none',
'dependencies': [
+ 'mojo_core',
+ 'mojo_core_unittests',
darin (slow to review) 2013/09/24 22:48:19 It might be nice to only have mojo_unittests inste
viettrungluu 2013/09/26 17:59:15 Pros of having more unit test binaries: - smaller,
'mojo_message',
+ 'mojo_unittests',
+ ],
+ },
+ {
+ 'target_name': 'mojo_core',
darin (slow to review) 2013/09/24 22:48:19 should this be mojo_system instead to match the mo
viettrungluu 2013/09/26 17:59:15 Done.
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ 'sources': [
+ 'public/system/core.h',
+ 'system/core.cc',
+ 'system/core_impl.cc',
+ 'system/core_impl.h',
+ 'system/dispatcher.cc',
+ 'system/dispatcher.h',
+ 'system/limits.h',
+ 'system/memory.cc',
+ 'system/memory.h',
+ 'system/message_pipe.cc',
+ 'system/message_pipe.h',
+ 'system/message_pipe_dispatcher.cc',
+ 'system/message_pipe_dispatcher.h',
+ 'system/simple_dispatcher.cc',
+ 'system/simple_dispatcher.h',
+ 'system/waiter.cc',
+ 'system/waiter.h',
+ 'system/waiter_list.cc',
+ 'system/waiter_list.h',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '..',
+ ],
+ },
+ },
+ {
+ 'target_name': 'mojo_core_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:run_all_unittests',
+ '../testing/gtest.gyp:gtest',
+ 'mojo_core',
+ ],
+ 'sources': [
+ 'system/core_impl_unittest.cc',
+ 'system/core_test_base.cc',
+ 'system/core_test_base.h',
+ 'system/dispatcher_unittest.cc',
+ 'system/message_pipe_dispatcher_unittest.cc',
+ 'system/message_pipe_unittest.cc',
+ 'system/simple_dispatcher_unittest.cc',
+ 'system/test_utils.h',
+ 'system/waiter_list_unittest.cc',
+ 'system/waiter_test_utils.cc',
+ 'system/waiter_test_utils.h',
+ 'system/waiter_unittest.cc',
],
},
{
« no previous file with comments | « no previous file | mojo/public/system/core.h » ('j') | mojo/public/system/core.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698