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

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

Issue 1462083003: Add //mojo/edk/platform and move platform_task_runners.h there. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: update readme Created 5 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
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 import("../mojo_edk.gni") 5 import("../mojo_edk.gni")
6 6
7 mojo_edk_source_set("embedder") { 7 mojo_edk_source_set("embedder") {
8 # This isn't really a standalone target; it must be linked into the 8 # This isn't really a standalone target; it must be linked into the
9 # mojo_system_impl component. 9 # mojo_system_impl component.
10 mojo_edk_visibility = [ "mojo/edk/system" ] 10 mojo_edk_visibility = [ "mojo/edk/system" ]
(...skipping 13 matching lines...) Expand all
24 # hopefully be dead-stripped. 24 # hopefully be dead-stripped.
25 "test_embedder.cc", 25 "test_embedder.cc",
26 "test_embedder.h", 26 "test_embedder.h",
27 ] 27 ]
28 28
29 public_deps = [ 29 public_deps = [
30 ":delegates", 30 ":delegates",
31 ":platform", 31 ":platform",
32 ] 32 ]
33 33
34 mojo_sdk_deps = [ "mojo/public/platform/native:system_impl_private_api" ] 34 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
35 35
36 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] 36 mojo_edk_public_deps = [ "mojo/edk/platform" ]
37 37
38 deps = [ 38 deps = [
39 "//base", 39 "//base",
40 ] 40 ]
41 41
42 mojo_sdk_deps = [ "mojo/public/platform/native:system_impl_private_api" ]
43
42 mojo_edk_deps = [ "mojo/edk/util" ] 44 mojo_edk_deps = [ "mojo/edk/util" ]
43 } 45 }
44 46
45 mojo_edk_source_set("platform") { 47 mojo_edk_source_set("platform") {
46 # This isn't really a standalone target; it must be linked into the 48 # This isn't really a standalone target; it must be linked into the
47 # mojo_system_impl component. 49 # mojo_system_impl component.
48 visibility = [ ":embedder" ] 50 visibility = [ ":embedder" ]
49 51
50 mojo_edk_visibility = [ "mojo/edk/system/*" ] 52 mojo_edk_visibility = [ "mojo/edk/system/*" ]
51 53
52 sources = [ 54 sources = [
53 "platform_channel_pair.cc", 55 "platform_channel_pair.cc",
54 "platform_channel_pair.h", 56 "platform_channel_pair.h",
55 "platform_channel_utils.cc", 57 "platform_channel_utils.cc",
56 "platform_channel_utils.h", 58 "platform_channel_utils.h",
57 "platform_handle.cc", 59 "platform_handle.cc",
58 "platform_handle.h", 60 "platform_handle.h",
59 "platform_handle_utils.h", 61 "platform_handle_utils.h",
60 "platform_handle_utils_posix.cc", 62 "platform_handle_utils_posix.cc",
61 "platform_handle_vector.h", 63 "platform_handle_vector.h",
62 "platform_shared_buffer.h", 64 "platform_shared_buffer.h",
63 "platform_support.h", 65 "platform_support.h",
64 "platform_task_runner.h",
65 "scoped_platform_handle.h", 66 "scoped_platform_handle.h",
66 "simple_platform_shared_buffer.cc", 67 "simple_platform_shared_buffer.cc",
67 "simple_platform_shared_buffer.h", 68 "simple_platform_shared_buffer.h",
68 "simple_platform_support.cc", 69 "simple_platform_support.cc",
69 "simple_platform_support.h", 70 "simple_platform_support.h",
70 ] 71 ]
71 72
72 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] 73 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
73 74
74 deps = [ 75 deps = [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 ] 114 ]
114 115
115 mojo_edk_deps = [ 116 mojo_edk_deps = [
116 "mojo/edk/base_edk", 117 "mojo/edk/base_edk",
117 "mojo/edk/test:test_support", 118 "mojo/edk/test:test_support",
118 "mojo/edk/system", 119 "mojo/edk/system",
119 "mojo/edk/system/test", 120 "mojo/edk/system/test",
120 "mojo/edk/util", 121 "mojo/edk/util",
121 ] 122 ]
122 } 123 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698