mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Since we don't support using the component build to produce mojo apps, we can simplify the build targets in a few ways: *) every mojo_native_application must depend on the c system thunks, so just make that part of the template instead of requiring the dep *) there's no such thing as depending on gles2 headers from a component, so delete the forwarding group. Most targets that want to use the gles2 headers in a mojo context want to depend on an implementation through the thunks, so //mojo/public/c/gles2 does just that. A smaller number of targets (such as the implementation of the thunks) want to just depend on the headers but not an impl, so they can depend on //mojo/public/c/gles2:headers. The //mojo/public/gles target isn't that useful since the only thing we expose is a set of C entry points. We can probably also simplify the c system targets, but that's trickier due to more extensive use from the chromium side. BUG=438701 R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/780733002
47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
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")
|
|
import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
|
group("debugger") {
|
|
testonly = true
|
|
|
|
deps = [
|
|
"//sky/tools/debugger/prompt",
|
|
":sky_debugger",
|
|
]
|
|
}
|
|
|
|
mojo_native_application("sky_debugger") {
|
|
sources = [
|
|
"debugger.cc",
|
|
"debugger.h",
|
|
"main.cc",
|
|
"navigator_host_impl.cc",
|
|
"navigator_host_impl.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//mojo/application",
|
|
"//mojo/converters/geometry",
|
|
"//mojo/converters/input_events",
|
|
"//mojo/public/cpp/bindings",
|
|
"//mojo/public/cpp/utility",
|
|
"//mojo/services/public/cpp/view_manager",
|
|
"//mojo/services/public/interfaces/input_events:input_events",
|
|
"//mojo/services/public/interfaces/navigation",
|
|
"//services/window_manager:lib",
|
|
"//sky/viewer:bindings",
|
|
":bindings",
|
|
]
|
|
}
|
|
|
|
mojom("bindings") {
|
|
sources = [
|
|
"debugger.mojom",
|
|
]
|
|
}
|