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

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

Issue 1358533004: Move more of ContentHandler handling into PackageManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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("//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 = [
11 "application_instance.cc", 11 "application_instance.cc",
12 "application_instance.h", 12 "application_instance.h",
13 "application_loader.h", 13 "application_loader.h",
14 "application_manager.cc", 14 "application_manager.cc",
15 "application_manager.h", 15 "application_manager.h",
16 "capability_filter.cc", 16 "capability_filter.cc",
17 "capability_filter.h", 17 "capability_filter.h",
18 "connect_to_application_params.cc", 18 "connect_to_application_params.cc",
19 "connect_to_application_params.h", 19 "connect_to_application_params.h",
20 "connect_util.cc", 20 "connect_util.cc",
21 "connect_util.h", 21 "connect_util.h",
22 "content_handler_connection.cc",
23 "content_handler_connection.h",
24 "data_pipe_peek.cc", 22 "data_pipe_peek.cc",
25 "data_pipe_peek.h", 23 "data_pipe_peek.h",
26 "fetcher.cc", 24 "fetcher.cc",
27 "fetcher.h", 25 "fetcher.h",
28 "identity.cc", 26 "identity.cc",
29 "identity.h", 27 "identity.h",
30 "native_runner.h", 28 "native_runner.h",
31 "package_manager.h", 29 "package_manager.h",
32 "query_util.cc", 30 "query_util.cc",
33 "query_util.h", 31 "query_util.h",
(...skipping 16 matching lines...) Expand all
50 "//base/third_party/dynamic_annotations", 48 "//base/third_party/dynamic_annotations",
51 "//crypto:crypto", 49 "//crypto:crypto",
52 "//mojo/application/public/cpp:sources", 50 "//mojo/application/public/cpp:sources",
53 "//url", 51 "//url",
54 "//third_party/mojo/src/mojo/edk/system", 52 "//third_party/mojo/src/mojo/edk/system",
55 "//mojo/environment:chromium", 53 "//mojo/environment:chromium",
56 "//mojo/util:filename_util", 54 "//mojo/util:filename_util",
57 ] 55 ]
58 } 56 }
59 57
60 test("mojo_shell_unittests") { 58 source_set("test_support") {
59 testonly = true
61 sources = [ 60 sources = [
62 "application_manager_unittest.cc", 61 "capability_filter_test.cc",
63 "capability_filter_unittest.cc", 62 "capability_filter_test.h",
64 "query_util_unittest.cc",
65 "test_package_manager.cc", 63 "test_package_manager.cc",
66 "test_package_manager.h", 64 "test_package_manager.h",
67 ] 65 ]
68 66
69 deps = [ 67 deps = [
70 ":shell", 68 ":shell",
71 ":test_bindings", 69 ":test_bindings",
70 "//mojo/application/public/cpp",
71 "//mojo/application/public/interfaces",
72 "//testing/gtest",
73 ]
74 }
75
76 test("unittests") {
77 output_name = "mojo_shell_unittests"
78 sources = [
79 "application_manager_unittest.cc",
80 "capability_filter_unittest.cc",
81 "query_util_unittest.cc",
82 ]
83
84 deps = [
85 ":shell",
86 ":test_bindings",
87 ":test_support",
72 "//base", 88 "//base",
73 "//mojo/application/public/cpp", 89 "//mojo/application/public/cpp",
74 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", 90 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
75 "//testing/gtest", 91 "//testing/gtest",
76 "//url", 92 "//url",
77 ] 93 ]
78 } 94 }
79 95
80 mojom("test_bindings") { 96 mojom("test_bindings") {
81 sources = [ 97 sources = [
82 "capability_filter_unittest.mojom", 98 "capability_filter_unittest.mojom",
83 "test.mojom", 99 "test.mojom",
84 ] 100 ]
85 } 101 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698