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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojo::edk namespace in preparation for runtim flag Created 5 years, 3 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
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 group("common") { 7 group("common") {
8 deps = [ 8 deps = [
9 ":common_base", 9 ":common_base",
10 ":url_type_converters", 10 ":url_type_converters",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 70 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
71 test("mojo_common_unittests") { 71 test("mojo_common_unittests") {
72 deps = [ 72 deps = [
73 ":common", 73 ":common",
74 "//base", 74 "//base",
75 "//base:message_loop_tests", 75 "//base:message_loop_tests",
76 "//base/test:test_support", 76 "//base/test:test_support",
77 "//mojo/environment:chromium", 77 "//mojo/environment:chromium",
78 "//mojo/message_pump", 78 "//mojo/message_pump",
79 "//testing/gtest", 79 "//testing/gtest",
80 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
81 "//third_party/mojo/src/mojo/edk/test:test_support",
82 "//third_party/mojo/src/mojo/public/cpp/bindings", 80 "//third_party/mojo/src/mojo/public/cpp/bindings",
83 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils", 81 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
84 "//url", 82 "//url",
85 ] 83 ]
86 84
85 if (use_chrome_edk) {
86 deps += [
87 "//mojo/edk/test:run_all_unittests",
88 "//mojo/edk/test:test_support",
89 ]
90 } else {
91 deps += [
92 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
93 "//third_party/mojo/src/mojo/edk/test:test_support",
94 ]
95 }
96
87 sources = [ 97 sources = [
88 # The message_pump tests are so small and some what related to this code 98 # The message_pump tests are so small and some what related to this code
89 # that we put them here. 99 # that we put them here.
90 "../message_pump/handle_watcher_unittest.cc", 100 "../message_pump/handle_watcher_unittest.cc",
91 "../message_pump/message_pump_mojo_unittest.cc", 101 "../message_pump/message_pump_mojo_unittest.cc",
92 "common_type_converters_unittest.cc", 102 "common_type_converters_unittest.cc",
93 ] 103 ]
94 } 104 }
95 105
96 if (!is_component_build) { 106 if (!is_component_build) {
97 source_set("tracing_impl") { 107 source_set("tracing_impl") {
98 sources = [ 108 sources = [
99 "trace_controller_impl.cc", 109 "trace_controller_impl.cc",
100 "trace_controller_impl.h", 110 "trace_controller_impl.h",
101 "tracing_impl.cc", 111 "tracing_impl.cc",
102 "tracing_impl.h", 112 "tracing_impl.h",
103 ] 113 ]
104 114
105 deps = [ 115 deps = [
106 "//base", 116 "//base",
107 "//mojo/application/public/cpp", 117 "//mojo/application/public/cpp",
108 "//mojo/services/tracing/public/interfaces", 118 "//mojo/services/tracing/public/interfaces",
109 "//third_party/mojo/src/mojo/public/cpp/bindings", 119 "//third_party/mojo/src/mojo/public/cpp/bindings",
110 ] 120 ]
111 } 121 }
112 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698