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

Side by Side Diff: mojo/shell/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, 2 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 source_set("shell") { 8 source_set("shell") {
9 output_name = "mojo_shell" 9 output_name = "mojo_shell"
10 sources = [ 10 sources = [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "//third_party/mojo/src/mojo/public/cpp/bindings", 42 "//third_party/mojo/src/mojo/public/cpp/bindings",
43 "//mojo/services/network/public/interfaces", 43 "//mojo/services/network/public/interfaces",
44 "//mojo/services/updater", 44 "//mojo/services/updater",
45 "//url", 45 "//url",
46 ] 46 ]
47 deps = [ 47 deps = [
48 "//base/third_party/dynamic_annotations", 48 "//base/third_party/dynamic_annotations",
49 "//crypto:crypto", 49 "//crypto:crypto",
50 "//mojo/application/public/cpp:sources", 50 "//mojo/application/public/cpp:sources",
51 "//url", 51 "//url",
52 "//third_party/mojo/src/mojo/edk/system",
53 "//mojo/environment:chromium", 52 "//mojo/environment:chromium",
54 "//mojo/util:filename_util", 53 "//mojo/util:filename_util",
55 ] 54 ]
55
56 if (use_chrome_edk) {
57 deps += [ "//mojo/edk/system" ]
58 } else {
59 deps += [ "//third_party/mojo/src/mojo/edk/system" ]
60 }
56 } 61 }
57 62
58 test("mojo_shell_unittests") { 63 test("mojo_shell_unittests") {
59 sources = [ 64 sources = [
60 "application_manager_unittest.cc", 65 "application_manager_unittest.cc",
61 "capability_filter_unittest.cc", 66 "capability_filter_unittest.cc",
62 "query_util_unittest.cc", 67 "query_util_unittest.cc",
63 "test_package_manager.cc", 68 "test_package_manager.cc",
64 "test_package_manager.h", 69 "test_package_manager.h",
65 ] 70 ]
66 71
67 deps = [ 72 deps = [
68 ":shell", 73 ":shell",
69 ":test_bindings", 74 ":test_bindings",
70 "//base", 75 "//base",
71 "//mojo/application/public/cpp", 76 "//mojo/application/public/cpp",
72 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
73 "//testing/gtest", 77 "//testing/gtest",
74 "//url", 78 "//url",
75 ] 79 ]
80
81 if (use_chrome_edk) {
82 deps += [ "//mojo/edk/test:run_all_unittests" ]
83 } else {
84 deps += [ "//third_party/mojo/src/mojo/edk/test:run_all_unittests" ]
85 }
76 } 86 }
77 87
78 mojom("test_bindings") { 88 mojom("test_bindings") {
79 sources = [ 89 sources = [
80 "capability_filter_unittest.mojom", 90 "capability_filter_unittest.mojom",
81 "test.mojom", 91 "test.mojom",
82 ] 92 ]
83 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698