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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | mojo/public/system/core.h » ('j') | mojo/public/system/core.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, # Use higher warning level. 7 'chromium_code': 1,
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'defines': ['MOJO_IMPLEMENTATION'], 10 'defines': ['MOJO_IMPLEMENTATION'],
11 }, 11 },
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'mojo', 14 'target_name': 'mojo',
15 'type': 'none', 15 'type': 'none',
16 'dependencies': [ 16 'dependencies': [
17 'mojo_core',
18 '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,
17 'mojo_message', 19 'mojo_message',
20 'mojo_unittests',
18 ], 21 ],
19 }, 22 },
20 { 23 {
24 '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.
25 'type': '<(component)',
26 'dependencies': [
27 '../base/base.gyp:base',
28 ],
29 'sources': [
30 'public/system/core.h',
31 'system/core.cc',
32 'system/core_impl.cc',
33 'system/core_impl.h',
34 'system/dispatcher.cc',
35 'system/dispatcher.h',
36 'system/limits.h',
37 'system/memory.cc',
38 'system/memory.h',
39 'system/message_pipe.cc',
40 'system/message_pipe.h',
41 'system/message_pipe_dispatcher.cc',
42 'system/message_pipe_dispatcher.h',
43 'system/simple_dispatcher.cc',
44 'system/simple_dispatcher.h',
45 'system/waiter.cc',
46 'system/waiter.h',
47 'system/waiter_list.cc',
48 'system/waiter_list.h',
49 ],
50 'direct_dependent_settings': {
51 'include_dirs': [
52 '..',
53 ],
54 },
55 },
56 {
57 'target_name': 'mojo_core_unittests',
58 'type': 'executable',
59 'dependencies': [
60 '../base/base.gyp:run_all_unittests',
61 '../testing/gtest.gyp:gtest',
62 'mojo_core',
63 ],
64 'sources': [
65 'system/core_impl_unittest.cc',
66 'system/core_test_base.cc',
67 'system/core_test_base.h',
68 'system/dispatcher_unittest.cc',
69 'system/message_pipe_dispatcher_unittest.cc',
70 'system/message_pipe_unittest.cc',
71 'system/simple_dispatcher_unittest.cc',
72 'system/test_utils.h',
73 'system/waiter_list_unittest.cc',
74 'system/waiter_test_utils.cc',
75 'system/waiter_test_utils.h',
76 'system/waiter_unittest.cc',
77 ],
78 },
79 {
21 'target_name': 'mojo_message', 80 'target_name': 'mojo_message',
22 'type': 'static_library', 81 'type': 'static_library',
23 'include_dirs': [ 82 'include_dirs': [
24 '..', 83 '..',
25 ], 84 ],
26 'sources': [ 85 'sources': [
27 'public/libs/message/message.cc', 86 'public/libs/message/message.cc',
28 'public/libs/message/message.h', 87 'public/libs/message/message.h',
29 'public/libs/message/message_builder.cc', 88 'public/libs/message/message_builder.cc',
30 'public/libs/message/message_builder.h', 89 'public/libs/message/message_builder.h',
31 ], 90 ],
32 }, 91 },
33 { 92 {
34 'target_name': 'mojo_unittests', 93 'target_name': 'mojo_unittests',
35 'type': 'executable', 94 'type': 'executable',
36 'dependencies': [ 95 'dependencies': [
37 'mojo_message', 96 'mojo_message',
38 '../base/base.gyp:run_all_unittests', 97 '../base/base.gyp:run_all_unittests',
39 '../testing/gtest.gyp:gtest', 98 '../testing/gtest.gyp:gtest',
40 ], 99 ],
41 'include_dirs': [ 100 'include_dirs': [
42 '..' 101 '..'
43 ], 102 ],
44 'sources': [ 103 'sources': [
45 'public/libs/message/message_unittest.cc', 104 'public/libs/message/message_unittest.cc',
46 ], 105 ],
47 }, 106 },
48 ], 107 ],
49 } 108 }
OLDNEW
« 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