mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL introduces a new pattern for making services' public interfaces flexible wrt location in the repo. A mojom target can now add import_dirs. Each service target adds an import dir of the parent directory of "<service>/public" and specifies its imports relative to that directory. This CL covers the interfaces for geometry, gpu, input_events, and native_viewport. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/839903002
18 lines
421 B
Plaintext
18 lines
421 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/tools/bindings/mojom.gni")
|
|
|
|
mojom("bindings") {
|
|
sources = [
|
|
"test_harness.mojom",
|
|
]
|
|
|
|
import_dirs = [ get_path_info("../../../mojo/services", "abspath") ]
|
|
|
|
deps = [
|
|
"//mojo/services/input_events/public/interfaces",
|
|
]
|
|
}
|