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

Unified Diff: mojo/edk/system/BUILD.gn

Issue 728043002: Revert of Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/mojo_edk_tests.gyp ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/BUILD.gn
diff --git a/mojo/edk/system/BUILD.gn b/mojo/edk/system/BUILD.gn
index d0bfda78875e957f52691f703b87addde39269f7..791a192c48780008a0bed913b7eadddae705a3c0 100644
--- a/mojo/edk/system/BUILD.gn
+++ b/mojo/edk/system/BUILD.gn
@@ -12,6 +12,19 @@
component("system") {
output_name = "mojo_system_impl"
+ deps = [
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//mojo/edk/embedder",
+ ]
+
+ defines = [
+ "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
+ "MOJO_SYSTEM_IMPLEMENTATION",
+ ]
+
+ all_dependent_configs = [ ":system_config" ]
+
sources = [
"channel.cc",
"channel.h",
@@ -21,10 +34,7 @@
"channel_endpoint_id.h",
"channel_info.cc",
"channel_info.h",
- "channel_manager.cc",
- "channel_manager.h",
- "configuration.cc",
- "configuration.h",
+ "constants.h",
"core.cc",
"core.h",
"data_pipe.cc",
@@ -35,6 +45,7 @@
"data_pipe_producer_dispatcher.h",
"dispatcher.cc",
"dispatcher.h",
+ "entrypoints.cc",
"handle_signals_state.h",
"handle_table.cc",
"handle_table.h",
@@ -76,30 +87,18 @@
"waiter_list.cc",
"waiter_list.h",
]
-
- defines = [
- "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
- "MOJO_SYSTEM_IMPLEMENTATION",
- ]
-
- all_dependent_configs = [ ":system_config" ]
-
- public_deps = [
- "//mojo/edk/embedder",
- "//mojo/edk/embedder:platform",
- "//mojo/public/c/system",
- ]
-
- deps = [
- "//base",
- "//base/third_party/dynamic_annotations",
- ]
-
- allow_circular_includes_from = [ "//mojo/edk/embedder" ]
}
# GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests
test("mojo_system_unittests") {
+ deps = [
+ ":system",
+ "//base",
+ "//mojo/edk/embedder:embedder_unittests",
+ "//mojo/edk/test:test_support",
+ "//testing/gtest",
+ ]
+
sources = [
"../test/multiprocess_test_helper_unittest.cc",
"channel_endpoint_id_unittest.cc",
@@ -123,7 +122,6 @@
"run_all_unittests.cc",
"shared_buffer_dispatcher_unittest.cc",
"simple_dispatcher_unittest.cc",
- # TODO(vtl): Factor test_utils.* into their own source set.
"test_utils.cc",
"test_utils.h",
"waiter_list_unittest.cc",
@@ -131,29 +129,10 @@
"waiter_test_utils.h",
"waiter_unittest.cc",
]
-
- deps = [
- ":system",
- "//base",
- "//base/test:test_support",
- "//mojo/edk/embedder:embedder_unittests",
- "//mojo/edk/test:test_support",
- "//testing/gtest",
- ]
-
- allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ]
}
# GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests
test("mojo_message_pipe_perftests") {
- sources = [
- "message_pipe_perftest.cc",
- "message_pipe_test_utils.h",
- "message_pipe_test_utils.cc",
- "test_utils.cc",
- "test_utils.h",
- ]
-
deps = [
":system",
"//base",
@@ -162,4 +141,12 @@
"//mojo/edk/test:test_support",
"//testing/gtest",
]
+
+ sources = [
+ "message_pipe_perftest.cc",
+ "message_pipe_test_utils.h",
+ "message_pipe_test_utils.cc",
+ "test_utils.cc",
+ "test_utils.h",
+ ]
}
« no previous file with comments | « mojo/edk/mojo_edk_tests.gyp ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698