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

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: build fix Created 7 years, 2 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') | no next file with comments »
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': [
17 'mojo_public_test_support',
18 'mojo_public_unittests',
19 'mojo_public_perftests',
20 'mojo_system',
21 'mojo_system_unittests',
22 ],
23 },
24 {
25 'target_name': 'mojo_public_test_support',
26 'type': 'static_library',
27 'dependencies': [
28 '../base/base.gyp:base',
29 '../testing/gtest.gyp:gtest',
30 'mojo_system',
31 ],
32 'sources': [
33 'public/tests/test_support.cc',
34 'public/tests/test_support.h',
35 ],
36 },
37 {
38 'target_name': 'mojo_public_unittests',
39 'type': 'executable',
40 'dependencies': [
41 '../base/base.gyp:run_all_unittests',
42 '../testing/gtest.gyp:gtest',
43 'mojo_public_test_support',
44 'mojo_system',
45 ],
46 'sources': [
47 'public/tests/system_core_unittest.cc',
48 ],
49 },
50 {
51 'target_name': 'mojo_public_perftests',
52 'type': 'executable',
53 'dependencies': [
54 '../base/base.gyp:base',
55 '../base/base.gyp:test_support_perf',
56 '../testing/gtest.gyp:gtest',
57 'mojo_public_test_support',
58 'mojo_system',
59 ],
60 'sources': [
61 'public/tests/system_core_perftest.cc',
62 ],
63 },
64 {
65 'target_name': 'mojo_system',
66 # TODO(vtl): This should probably be '<(component)'; make it work.
tfarina 2013/10/01 02:21:13 shouldn't be hard. Add: defines: [ 'MOJO_IMPLEMEN
67 'type': 'static_library',
68 'dependencies': [
69 '../base/base.gyp:base',
70 ],
71 'sources': [
72 'public/system/core.h',
73 'system/core.cc',
74 'system/core_impl.cc',
75 'system/core_impl.h',
76 'system/dispatcher.cc',
77 'system/dispatcher.h',
78 'system/limits.h',
79 'system/memory.cc',
80 'system/memory.h',
81 'system/message_pipe.cc',
82 'system/message_pipe.h',
83 'system/message_pipe_dispatcher.cc',
84 'system/message_pipe_dispatcher.h',
85 'system/simple_dispatcher.cc',
86 'system/simple_dispatcher.h',
87 'system/waiter.cc',
88 'system/waiter.h',
89 'system/waiter_list.cc',
90 'system/waiter_list.h',
91 ],
92 'direct_dependent_settings': {
93 'include_dirs': [
94 '..',
95 ],
96 },
97 },
98 {
99 'target_name': 'mojo_system_unittests',
100 'type': 'executable',
101 'dependencies': [
102 '../base/base.gyp:run_all_unittests',
103 '../testing/gtest.gyp:gtest',
104 'mojo_system',
105 ],
106 'sources': [
107 'system/core_impl_unittest.cc',
108 'system/core_test_base.cc',
109 'system/core_test_base.h',
110 'system/dispatcher_unittest.cc',
111 'system/message_pipe_dispatcher_unittest.cc',
112 'system/message_pipe_unittest.cc',
113 'system/simple_dispatcher_unittest.cc',
114 'system/test_utils.h',
115 'system/waiter_list_unittest.cc',
116 'system/waiter_test_utils.cc',
117 'system/waiter_test_utils.h',
118 'system/waiter_unittest.cc',
119 ],
16 }, 120 },
17 ], 121 ],
18 } 122 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698