Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / devtools_service / BUILD.gn
blob02c6a7a82caf1eaf231d94c2df884bad808ecd24
1 # Copyright 2015 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.
5 import("//mojo/public/mojo_application.gni")
7 # We don't support building mojo apps in the component build.
8 # Currently this app is used by Mandoline only.
9 assert(!is_component_build)
11 source_set("lib") {
12   sources = [
13     "devtools_agent_host.cc",
14     "devtools_agent_host.h",
15     "devtools_http_server.cc",
16     "devtools_http_server.h",
17     "devtools_registry_impl.cc",
18     "devtools_registry_impl.h",
19     "devtools_service.cc",
20     "devtools_service.h",
21     "devtools_service_delegate.cc",
22     "devtools_service_delegate.h",
23   ]
25   deps = [
26     "//base",
27     "//components/devtools_service/public/interfaces",
28     "//mojo/application/public/cpp",
29     "//mojo/common",
30     "//mojo/services/network/public/cpp",
31     "//mojo/services/network/public/interfaces",
32     "//third_party/mojo/src/mojo/public/cpp/bindings",
33     "//url",
34   ]
37 mojo_native_application("devtools_service") {
38   sources = [
39     "main.cc",
40   ]
42   deps = [
43     ":lib",
44     "//mojo/application/public/cpp",
45   ]