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

Side by Side Diff: mojo/embedder/BUILD.gn

Issue 494523004: GN: Build rules and fixes for (almost) all mojo unittest targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/common/test/BUILD.gn ('k') | mojo/mojo.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 source_set("embedder") {
6 # This isn't really a standalone target, it must be linked into the
7 # mojo_system_impl component.
8 visibility = [ "//mojo/system" ]
9
10 deps = [ "//base", ]
11
12 defines = [
13 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
14 "MOJO_SYSTEM_IMPLEMENTATION",
15 ]
16
17 configs += [ "//mojo/system:system_config" ]
18
19 sources = [
20 "channel_init.cc",
21 "channel_init.h",
22 "embedder.cc",
23 "embedder.h",
24 "platform_channel_pair.cc",
25 "platform_channel_pair.h",
26 "platform_channel_pair_posix.cc",
27 "platform_channel_pair_win.cc",
28 "platform_channel_utils_posix.cc",
29 "platform_channel_utils_posix.h",
30 "platform_handle.cc",
31 "platform_handle.h",
32 "platform_handle_utils.h",
33 "platform_handle_utils_posix.cc",
34 "platform_handle_utils_win.cc",
35 "platform_handle_vector.h",
36 "platform_shared_buffer.h",
37 "platform_support.h",
38 "scoped_platform_handle.h",
39 "simple_platform_shared_buffer.cc",
40 "simple_platform_shared_buffer.h",
41 "simple_platform_shared_buffer_posix.cc",
42 "simple_platform_shared_buffer_win.cc",
43 "simple_platform_support.cc",
44 "simple_platform_support.h",
45 # Test-only code:
46 # TODO(vtl): It's a little unfortunate that these end up in the same
47 # component as non-test-only code. In the static build, this code should
48 # hopefully be dead-stripped.
49 "test_embedder.cc",
50 "test_embedder.h",
51 ]
52 }
53
54 source_set("embedder_unittests") {
55 visibility = [ "//mojo/system:mojo_system_unittests" ]
56
57 deps = [
58 "//base",
59 "//mojo/common/test:test_support",
60 "//mojo/system",
61 "//testing/gtest",
62 ]
63
64 sources = [
65 "embedder_unittest.cc",
66 "platform_channel_pair_posix_unittest.cc",
67 "simple_platform_shared_buffer_unittest.cc",
68 ]
69 }
OLDNEW
« no previous file with comments | « mojo/common/test/BUILD.gn ('k') | mojo/mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698