Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed build files
  • Loading branch information
gaaclarke committed Sep 7, 2022
commit e14b1d1bb28334322944860ee31cc970c32b2c83
1 change: 1 addition & 0 deletions lib/ui/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ source_set("ui") {
"//flutter/impeller/runtime_stage",
"//flutter/runtime:dart_plugin_registrant",
"//flutter/runtime:test_font",
"//flutter/shell/common:platform_message_handler",
"//flutter/third_party/tonic",
"//third_party/dart/runtime/bin:dart_io_api",
"//third_party/rapidjson",
Expand Down
8 changes: 7 additions & 1 deletion shell/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ template("dart_embedder_resources") {
}
}

source_set("platform_message_handler") {
sources = [ "platform_message_handler.h" ]
public_configs = [ "//flutter:config" ]
deps = [ "//flutter/fml:fml" ]
}

source_set("common") {
sources = [
"animator.cc",
Expand All @@ -75,7 +81,6 @@ source_set("common") {
"engine.h",
"pipeline.cc",
"pipeline.h",
"platform_message_handler.h",
"platform_view.cc",
"platform_view.h",
"pointer_data_dispatcher.cc",
Expand Down Expand Up @@ -115,6 +120,7 @@ source_set("common") {
public_configs = [ "//flutter:config" ]

public_deps = [
":platform_message_handler",
"//flutter/shell/version",
"//flutter/third_party/tonic",
"//flutter/third_party/txt",
Expand Down
4 changes: 3 additions & 1 deletion shell/common/platform_message_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@

#include <memory>

#include "flutter/lib/ui/window/platform_message.h"
#include "flutter/fml/mapping.h"

namespace flutter {

class PlatformMessage;

/// An interface over the ability to handle PlatformMessages that are being sent
/// from Flutter to the host platform.
class PlatformMessageHandler {
Expand Down
1 change: 1 addition & 0 deletions shell/platform/darwin/ios/platform_message_handler_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#import "flutter/shell/platform/darwin/ios/platform_message_handler_ios.h"

#import "flutter/fml/trace_event.h"
#import "flutter/lib/ui/window/platform_message.h"
#import "flutter/shell/platform/darwin/common/buffer_conversions.h"
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h"

Expand Down