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
b8f3e80284
commit
a606ea0f9e
@ -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;
|
||||
|
||||
|
||||
@ -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