Skip to content

Commit

Permalink
Update paths to Fuchsia libraries (flutter#4147)
Browse files Browse the repository at this point in the history
These libraries are in Topaz now.
  • Loading branch information
abarth authored Sep 27, 2017
1 parent 45b11f7 commit 160a98c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions build/flutter_app.gni
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ assert(is_fuchsia)

import("//build/dart/dart_package.gni")
import("//flutter/lib/ui/dart_ui.gni")
import("//garnet/public/lib/ui/flutter/sdk_ext/sdk_ext.gni")
import("//garnet/public/dart-pkg/fuchsia/sdk_ext.gni")
import("//garnet/public/dart-pkg/zircon/sdk_ext.gni")
import("//topaz/public/dart-pkg/fuchsia/sdk_ext.gni")
import("//topaz/public/dart-pkg/zircon/sdk_ext.gni")
import("//topaz/public/lib/ui/flutter/sdk_ext/sdk_ext.gni")

declare_args() {
flutter_app_default_is_jit = true
Expand Down
22 changes: 11 additions & 11 deletions content_handler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ template("flutter_content_handler") {
]

deps = [
"//garnet/public/lib/app/cpp",
"//garnet/public/lib/svc/cpp",
"//garnet/public/lib/ui/flutter/sdk_ext",
"//garnet/public/lib/ui/scenic:client",
"//garnet/public/lib/ui/input/fidl",
"//garnet/public/lib/ui/views/fidl",
"//peridot/public/lib/context/fidl",
"//dart/runtime/bin:libdart_builtin",
"//dart/runtime/platform:libdart_platform",
"//flutter/assets",
Expand All @@ -61,16 +54,23 @@ template("flutter_content_handler") {
"//flutter/runtime",
"//flutter/sky/engine/platform",
"//flutter/vulkan",
"//garnet/public/lib/vulkan",
"//garnet/public/dart-pkg/fuchsia",
"//garnet/public/lib/app/cpp",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//garnet/public/lib/icu_data/cpp",
"//garnet/public/lib/fsl",
"//garnet/public/lib/svc/cpp",
"//garnet/public/lib/ui/input/fidl",
"//garnet/public/lib/ui/scenic:client",
"//garnet/public/lib/ui/views/fidl",
"//garnet/public/lib/vulkan",
"//garnet/public/lib/zip",
"//zircon/system/ulib/trace-provider",
"//peridot/public/lib/context/fidl",
"//third_party/rapidjson",
"//third_party/skia",
"//topaz/lib/tonic",
"//topaz/public/dart-pkg/fuchsia",
"//topaz/public/lib/ui/flutter/sdk_ext",
"//zircon/system/ulib/trace-provider",
] + extra_deps

# The flags below are needed so that Dart's CPU profiler can walk the
Expand Down
2 changes: 1 addition & 1 deletion flow/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ source_set("flow") {
]

deps += [
"//garnet/public/dart-pkg/zircon",
"//garnet/public/lib/ui/scenic:client",
"//garnet/public/lib/ui/scenic/fidl",
"//topaz/public/dart-pkg/zircon",
]

public_deps += [ "//zircon/system/ulib/zx" ]
Expand Down
10 changes: 5 additions & 5 deletions lib/snapshot/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import("//dart/runtime/lib/typed_data_sources.gni")
import("//dart/utils/generate_patch_sdk.gni")

if (is_fuchsia) {
import("//garnet/public/lib/ui/flutter/sdk_ext/sdk_ext.gni")
import("//garnet/public/dart-pkg/fuchsia/sdk_ext.gni")
import("//garnet/public/dart-pkg/zircon/sdk_ext.gni")
import("//topaz/public/lib/ui/flutter/sdk_ext/sdk_ext.gni")
import("//topaz/public/dart-pkg/fuchsia/sdk_ext.gni")
import("//topaz/public/dart-pkg/zircon/sdk_ext.gni")
}

bindings_output_dir = "$root_gen_dir/sky/bindings"
Expand All @@ -37,8 +37,8 @@ copy("generate_dart_ui") {
if (is_fuchsia) {
action("generate_package_map") {
dart_deps = [
"//garnet/public/lib/app/dart:dart",
"//garnet/public/lib/fidl/dart",
"//topaz/public/lib/app/dart:dart",
"//topaz/public/lib/fidl/dart",
"//lib/flutter/packages/flutter:flutter",
]

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ source_set("ui") {
"//topaz/lib/tonic",
]
if (is_fuchsia) {
deps += [ "//garnet/public/dart-pkg/zircon" ]
deps += [ "//topaz/public/dart-pkg/zircon" ]
}
}
2 changes: 1 addition & 1 deletion lib/ui/compositing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class SceneHost extends NativeFieldWrapperClass2 {
///
/// The export token is a dart:zircon Handle, but that type isn't
/// available here. This is called by ChildViewConnection in
/// //garnet/public/lib/ui/flutter/.
/// //topaz/public/lib/ui/flutter/.
///
/// The scene host takes ownership of the provided export token handle.
SceneHost(dynamic export_token_handle) {
Expand Down

0 comments on commit 160a98c

Please sign in to comment.