OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 6 import("//testing/test.gni") |
| 7 |
| 8 source_set("application_manager") { |
| 9 output_name = "mojo_application_manager" |
| 10 sources = [ |
| 11 "application_loader.h", |
| 12 "application_manager.cc", |
| 13 "application_manager.h", |
| 14 "data_pipe_peek.cc", |
| 15 "data_pipe_peek.h", |
| 16 "fetcher.cc", |
| 17 "fetcher.h", |
| 18 "identity.cc", |
| 19 "identity.h", |
| 20 "local_fetcher.cc", |
| 21 "local_fetcher.h", |
| 22 "native_runner.h", |
| 23 "network_fetcher.cc", |
| 24 "network_fetcher.h", |
| 25 "query_util.cc", |
| 26 "query_util.h", |
| 27 "shell_impl.cc", |
| 28 "shell_impl.h", |
| 29 ] |
| 30 |
| 31 public_deps = [ |
| 32 "//base", |
| 33 "//mojo/common", |
| 34 "//third_party/mojo/src/mojo/public/interfaces/application:application", |
| 35 "//mojo/services/network/public/interfaces", |
| 36 "//url", |
| 37 ] |
| 38 deps = [ |
| 39 "//base/third_party/dynamic_annotations", |
| 40 "//crypto:crypto", |
| 41 "//url", |
| 42 "//third_party/mojo/src/mojo/edk/system", |
| 43 "//mojo/environment:chromium", |
| 44 "//third_party/mojo_services/src/content_handler/public/interfaces", |
| 45 "//mojo/shell:native_application_support", |
| 46 "//mojo/shell:switches", |
| 47 ] |
| 48 } |
| 49 |
| 50 test("mojo_application_manager_unittests") { |
| 51 sources = [ |
| 52 "application_manager_unittest.cc", |
| 53 "query_util_unittest.cc", |
| 54 ] |
| 55 |
| 56 deps = [ |
| 57 ":application_manager", |
| 58 ":test_bindings", |
| 59 "//base", |
| 60 "//mojo/application", |
| 61 "//mojo/common", |
| 62 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
| 63 "//mojo/environment:chromium", |
| 64 "//third_party/mojo/src/mojo/public/cpp/application", |
| 65 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 66 "//testing/gtest", |
| 67 "//url", |
| 68 ] |
| 69 } |
| 70 |
| 71 mojom("test_bindings") { |
| 72 sources = [ |
| 73 "test.mojom", |
| 74 ] |
| 75 } |
OLD | NEW |