Przemyslaw Pietrzkiewicz 693418e3eb http_server: accept full NetAddress in CreateHttpServer.
This patch allows to specify a full NetAddress on which the server is to
be set up.

This is needed to decide between running the server on externally
visible address (like http_handler would like) and localhost (like skydb
would like).

No change in behavior of existing clients in the Mojo repo should occur.
A follow-up patch will switch some of the clients from 0.0.0.0 to
localhost.

BUG=460908
R=qsr@chromium.org

Review URL: https://codereview.chromium.org/953513002
2015-02-24 17:33:42 +01:00

40 lines
899 B
Plaintext

# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
group("debugger") {
testonly = true
deps = [
":sky_debugger",
]
}
mojo_native_application("sky_debugger") {
output_name = "sky_debugger"
sources = [
"debugger.cc",
"trace_collector.cc",
"trace_collector.h",
]
deps = [
"//base",
"//base/allocator",
"//mojo/application",
"//mojo/common",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/system",
"//mojo/public/cpp/utility",
"//mojo/services/network/public/interfaces",
"//mojo/services/window_manager/public/interfaces",
"//services/http_server/public",
"//services/http_server/public:util",
"//services/tracing:bindings",
"//sky/viewer:bindings",
]
}