Merge pull request #388 from johnmccutchan/sky_services

Add DartPackage annotation for all sky_services
This commit is contained in:
John McCutchan 2015-07-30 14:22:22 -07:00
commit 1542cf505c
18 changed files with 31 additions and 31 deletions

View File

@ -10,7 +10,4 @@
import 'dart:io';
main(List<String> arguments) {
ProcessResult result = Process.runSync(Platform.executable, ['-p', 'packages', 'packages/mojom/generate.dart']);
stdout.write(result.stdout);
stderr.write(result.stderr);
}

View File

@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:mojom/media/media.mojom.dart';
import 'package:mojom/mojo/url_response.mojom.dart';
import 'package:mojo/mojo/url_response.mojom.dart';
import 'package:sky/mojo/net/fetch.dart';
import 'package:sky/mojo/shell.dart' as shell;
import 'package:sky/rendering/box.dart';
import 'package:sky/rendering/flex.dart';
import 'package:sky/theme/colors.dart' as colors;
import 'package:sky/widgets/basic.dart';
import 'package:sky_services/media/media.mojom.dart';
// All of these sounds are marked as public domain at soundbible.
const String chimes = "http://soundbible.com/grab.php?id=2030&type=wav";

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:mojom/keyboard/keyboard.mojom.dart';
import 'package:mojo_services/keyboard/keyboard.mojom.dart';
typedef void StringUpdated();

View File

@ -4,10 +4,10 @@
import 'dart:sky';
import 'package:mojom/activity/activity.mojom.dart';
import 'package:sky/mojo/shell.dart' as shell;
import 'package:sky_services/activity/activity.mojom.dart';
export 'package:mojom/activity/activity.mojom.dart' show Intent, ComponentName, StringExtra;
export 'package:sky_services/activity/activity.mojom.dart' show Intent, ComponentName, StringExtra;
const int NEW_DOCUMENT = 0x00080000;
const int NEW_TASK = 0x10000000;

View File

@ -8,7 +8,7 @@ import 'dart:sky.internals' as internals;
import 'dart:typed_data';
import 'package:mojo/core.dart' as core;
import 'package:mojom/mojo/asset_bundle/asset_bundle.mojom.dart';
import 'package:mojo_services/mojo/asset_bundle/asset_bundle.mojom.dart';
import 'package:sky/mojo/net/fetch.dart';
import 'package:sky/mojo/net/image_cache.dart' as image_cache;
import 'package:sky/mojo/shell.dart' as shell;

View File

@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import "dart:sky.internals" as internals;
import 'dart:sky.internals' as internals;
import "package:mojo/application.dart";
import "package:mojo/bindings.dart" as bindings;
import "package:mojo/core.dart" as core;
import "package:mojom/mojo/service_provider.mojom.dart";
import "package:mojom/mojo/service_registry.mojom.dart";
import "package:mojom/mojo/shell.mojom.dart";
import 'package:mojo/application.dart';
import 'package:mojo/bindings.dart' as bindings;
import 'package:mojo/core.dart' as core;
import 'package:mojo/mojo/service_provider.mojom.dart';
import 'package:mojo/mojo/shell.mojom.dart';
import 'package:mojo_services/mojo/service_registry.mojom.dart';
final _EmbedderImpl embedder = new _EmbedderImpl();

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:mojom/keyboard/keyboard.mojom.dart';
import 'package:mojo_services/keyboard/keyboard.mojom.dart';
import 'package:sky/mojo/shell.dart' as shell;
class _KeyboardConnection {

View File

@ -6,10 +6,10 @@ import 'dart:async';
import 'dart:typed_data';
import 'package:mojo/core.dart' as core;
import 'package:mojom/mojo/network_service.mojom.dart';
import 'package:mojom/mojo/url_loader.mojom.dart';
import 'package:mojom/mojo/url_request.mojom.dart';
import 'package:mojom/mojo/url_response.mojom.dart';
import 'package:mojo/mojo/url_request.mojom.dart';
import 'package:mojo/mojo/url_response.mojom.dart';
import 'package:mojo_services/mojo/network_service.mojom.dart';
import 'package:mojo_services/mojo/url_loader.mojom.dart';
import 'package:sky/mojo/shell.dart' as shell;
NetworkServiceProxy _initNetworkService() {

View File

@ -6,7 +6,7 @@ import 'dart:async';
import 'dart:collection';
import 'dart:sky' as sky;
import 'package:mojom/mojo/url_response.mojom.dart';
import 'package:mojo/mojo/url_response.mojom.dart';
import 'package:sky/mojo/net/fetch.dart';
final HashMap<String, Future<sky.Image>> _cache =

View File

@ -6,7 +6,7 @@ import 'dart:sky.internals' as internals;
import 'package:mojo/application.dart';
import 'package:mojo/core.dart' as core;
import 'package:mojom/mojo/service_provider.mojom.dart';
import 'package:mojo/mojo/service_provider.mojom.dart';
import 'package:sky/mojo/embedder.dart';
ApplicationConnection _initConnection() {

View File

@ -6,12 +6,11 @@ homepage: https://github.com/domokit/sky_engine/tree/master/sky/packages/sky
dependencies:
cassowary: ^0.1.7
material_design_icons: ^0.0.2
mojo_services: 0.0.20
mojo: 0.0.20
mojom: 0.0.20
mojo_services: 0.0.21
mojo: 0.0.21
newton: ^0.1.2
sky_engine: ^0.0.2
sky_services: ^0.0.2
sky_services: ^0.0.3
sky_tools: ^0.0.4
vector_math: ^1.4.3
environment:

View File

@ -1,10 +1,9 @@
name: sky_services
version: 0.0.2
version: 0.0.3
author: Chromium Authors <sky-dev@googlegroups.com>
description: Mojom interfaces associated with Sky
homepage: https://github.com/domokit/sky_engine/tree/master/sky/packages/sky_services
dependencies:
mojo: 0.0.20
mojom: 0.0.20
mojo: ^0.0.21
environment:
sdk: '>=1.8.0 <2.0.0'

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[DartPackage="sky_services"]
module activity;
struct StringExtra {

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[DartPackage="sky_services"]
module sky;
enum EventType {

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[DartPackage="sky_services"]
module media;
interface MediaPlayer {

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[DartPackage="sky_services"]
module sky;
import "mojo/services/input_events/public/interfaces/input_events.mojom";

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[DartPackage="sky_services"]
module vsync;
interface VSyncProvider {

View File

@ -1,7 +1,7 @@
import "dart:sky.internals" as internals;
import 'package:sky/mojo/shell.dart' as shell;
import 'package:mojom/sky/test_harness.mojom.dart';
import 'package:sky_services/sky/test_harness.mojom.dart';
void notifyTestComplete(String result) {
TestHarnessProxy test_harness = new TestHarnessProxy.unbound();