| # Copyright 2015 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_sdk.gni") |
| import("rules.gni") |
| |
| dart_mojo_sdk_entrypoints = [ |
| "lib/application.dart", |
| "lib/bindings.dart", |
| "lib/core.dart", |
| ] |
| |
| dart_mojo_sdk_sources = [ |
| "lib/src/application_connection.dart", |
| "lib/src/application.dart", |
| "lib/src/buffer.dart", |
| "lib/src/codec.dart", |
| "lib/src/control_message.dart", |
| "lib/src/data_pipe.dart", |
| "lib/src/drain_data.dart", |
| "lib/src/event_stream.dart", |
| "lib/src/handle.dart", |
| "lib/src/message.dart", |
| "lib/src/message_pipe.dart", |
| "lib/src/proxy.dart", |
| "lib/src/struct.dart", |
| "lib/src/stub.dart", |
| "lib/src/types.dart", |
| "lib/src/union.dart", |
| "lib/src/utils.dart", |
| ] |
| |
| dart_pkg("dart") { |
| libs = dart_mojo_sdk_entrypoints |
| sources = dart_mojo_sdk_sources + [ |
| "lib/_sdkext", |
| "pubspec.yaml", |
| "CHANGELOG.md", |
| "README.md", |
| ] |
| |
| sdk_ext_directory = "sdk_ext" |
| |
| # List of mojom targets that the mojo pkg exports |
| deps = [ |
| "../interfaces", |
| ] |
| } |