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

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

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month 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
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/edk/embedder/channel_info_forward.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 2014 The Chromium Authors. All rights reserved. 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 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 source_set("embedder") { 5 source_set("embedder") {
6 # This isn't really a standalone target, it must be linked into the 6 # This isn't really a standalone target; it must be linked into the
7 # mojo_system_impl component. 7 # mojo_system_impl component.
8 visibility = [ "//mojo/edk/system" ] 8 visibility = [ "//mojo/edk/system" ]
9 9
10 deps = [ "//base", ] 10 sources = [
11 "channel_info_forward.h",
12 "channel_init.cc",
13 "channel_init.h",
14 "configuration.h",
15 "embedder.cc",
16 "embedder.h",
17 "embedder_internal.h",
18 "entrypoints.cc",
19 # Test-only code:
20 # TODO(vtl): It's a little unfortunate that these end up in the same
21 # component as non-test-only code. In the static build, this code should
22 # hopefully be dead-stripped.
23 "test_embedder.cc",
24 "test_embedder.h",
25 ]
11 26
12 defines = [ 27 defines = [
13 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", 28 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
14 "MOJO_SYSTEM_IMPLEMENTATION", 29 "MOJO_SYSTEM_IMPLEMENTATION",
15 ] 30 ]
16 31
17 configs += [ "//mojo/edk/system:system_config" ] 32 configs += [ "//mojo/edk/system:system_config" ]
18 33
34 public_deps = [
35 ":platform",
36 "//mojo/public/cpp/system",
37 ]
38
39 deps = [ "//base" ]
40 }
41
42 source_set("platform") {
43 # This isn't really a standalone target; it must be linked into the
44 # mojo_system_impl component.
45 visibility = [
46 ":embedder",
47 "//mojo/edk/system",
48 ]
49
19 sources = [ 50 sources = [
20 "channel_info_forward.h",
21 "channel_init.cc",
22 "channel_init.h",
23 "embedder.cc",
24 "embedder.h",
25 "platform_channel_pair.cc", 51 "platform_channel_pair.cc",
26 "platform_channel_pair.h", 52 "platform_channel_pair.h",
27 "platform_channel_pair_posix.cc", 53 "platform_channel_pair_posix.cc",
28 "platform_channel_pair_win.cc", 54 "platform_channel_pair_win.cc",
29 "platform_channel_utils_posix.cc", 55 "platform_channel_utils_posix.cc",
30 "platform_channel_utils_posix.h", 56 "platform_channel_utils_posix.h",
31 "platform_handle.cc", 57 "platform_handle.cc",
32 "platform_handle.h", 58 "platform_handle.h",
33 "platform_handle_utils.h", 59 "platform_handle_utils.h",
34 "platform_handle_utils_posix.cc", 60 "platform_handle_utils_posix.cc",
35 "platform_handle_utils_win.cc", 61 "platform_handle_utils_win.cc",
36 "platform_handle_vector.h", 62 "platform_handle_vector.h",
37 "platform_shared_buffer.h", 63 "platform_shared_buffer.h",
38 "platform_support.h", 64 "platform_support.h",
39 "scoped_platform_handle.h", 65 "scoped_platform_handle.h",
40 "simple_platform_shared_buffer.cc", 66 "simple_platform_shared_buffer.cc",
41 "simple_platform_shared_buffer.h", 67 "simple_platform_shared_buffer.h",
42 "simple_platform_shared_buffer_posix.cc", 68 "simple_platform_shared_buffer_posix.cc",
43 "simple_platform_shared_buffer_win.cc", 69 "simple_platform_shared_buffer_win.cc",
44 "simple_platform_support.cc", 70 "simple_platform_support.cc",
45 "simple_platform_support.h", 71 "simple_platform_support.h",
46 # Test-only code:
47 # TODO(vtl): It's a little unfortunate that these end up in the same
48 # component as non-test-only code. In the static build, this code should
49 # hopefully be dead-stripped.
50 "test_embedder.cc",
51 "test_embedder.h",
52 ] 72 ]
73
74 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ]
75
76 configs += [ "//mojo/edk/system:system_config" ]
77
78 deps = [ "//base" ]
53 } 79 }
54 80
55 source_set("embedder_unittests") { 81 source_set("embedder_unittests") {
56 testonly = true 82 testonly = true
57 visibility = [ "//mojo/edk/system:mojo_system_unittests" ] 83 visibility = [ "//mojo/edk/system:mojo_system_unittests" ]
58 testonly = true
59
60 deps = [
61 "//base",
62 "//mojo/edk/test:test_support",
63 "//mojo/edk/system",
64 "//testing/gtest",
65 ]
66 84
67 sources = [ 85 sources = [
68 "embedder_unittest.cc", 86 "embedder_unittest.cc",
69 "platform_channel_pair_posix_unittest.cc", 87 "platform_channel_pair_posix_unittest.cc",
70 "simple_platform_shared_buffer_unittest.cc", 88 "simple_platform_shared_buffer_unittest.cc",
71 ] 89 ]
90
91 deps = [
92 "//base",
93 "//base/test:test_support",
94 "//mojo/edk/test:test_support",
95 "//mojo/edk/system",
96 "//testing/gtest",
97 ]
72 } 98 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/edk/embedder/channel_info_forward.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698