mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update references to Mojo core and bindings
Build fix after recent Dart bindings refactoring. Now that these libraries are not included in the snapshot, we need to load them from the mojo package. R=zra@google.com TBR=zra@chromium.org Review URL: https://codereview.chromium.org/1029683002
This commit is contained in:
parent
27359c558f
commit
cc12331d63
@ -4,7 +4,7 @@
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:core';
|
||||
import 'dart:mojo.core';
|
||||
import 'package:mojo/public/dart/core.dart' as core;
|
||||
import 'package:mojo/services/files/public/interfaces/file.mojom.dart' as files;
|
||||
import 'package:mojo/services/files/public/interfaces/types.mojom.dart' as files;
|
||||
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
|
||||
import '../shell.dart' as shell;
|
||||
import 'dart:async';
|
||||
import 'dart:mojo.core' as core;
|
||||
import 'dart:sky' as sky;
|
||||
import 'dart:typed_data';
|
||||
import 'package:mojo/public/dart/core.dart' as core;
|
||||
import 'package:mojo/services/network/public/interfaces/network_service.mojom.dart';
|
||||
import 'package:mojo/services/network/public/interfaces/url_loader.mojom.dart';
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import "package:mojo/public/dart/application.dart";
|
||||
import "dart:sky.internals" as internals;
|
||||
import "dart:mojo.core" as core;
|
||||
import "package:mojo/public/dart/application.dart";
|
||||
import "package:mojo/public/interfaces/application/service_provider.mojom.dart";
|
||||
import 'package:mojo/public/dart/core.dart' as core;
|
||||
|
||||
ApplicationConnection _initConnection() {
|
||||
int rawHandle = internals.takeServicesProvidedByEmbedder();
|
||||
|
||||
@ -218,14 +218,9 @@ class Analyze(object):
|
||||
sky_builtin_path = \
|
||||
os.path.join(SRC_ROOT, 'sky/engine/bindings/builtin.dart')
|
||||
dart_sky_path = os.path.join(bindings_path, 'dart_sky.dart')
|
||||
mojo_bindings_path = \
|
||||
os.path.join(SRC_ROOT, 'mojo/public/dart/bindings.dart')
|
||||
mojo_core_path = os.path.join(SRC_ROOT, 'mojo/public/dart/core.dart')
|
||||
analyzer_args = [ANALYZER_PATH,
|
||||
"--url-mapping=dart:sky,%s" % dart_sky_path,
|
||||
"--url-mapping=dart:sky_builtin,%s" % sky_builtin_path,
|
||||
"--url-mapping=dart:mojo.bindings,%s" % mojo_bindings_path,
|
||||
"--url-mapping=dart:mojo.core,%s" % mojo_core_path,
|
||||
args.app_path
|
||||
]
|
||||
subprocess.call(analyzer_args)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user