Skip to content

Commit 8d73881

Browse files
committed
Enable arm64 build
1 parent 57547bb commit 8d73881

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

BUILD.gn

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ group("flutter") {
4848

4949
# Flutter SDK artifacts should only be built when either doing host builds, or
5050
# for cross-compiled desktop targets.
51-
build_engine_artifacts =
52-
current_toolchain == host_toolchain || (is_linux && !is_chromeos && current_cpu == "arm64")
51+
build_engine_artifacts = current_toolchain == host_toolchain
5352

5453
# If enbaled, compile the SDK / snapshot.
5554
if (!is_fuchsia) {

shell/platform/tizen/channels/text_input_channel.cc

+3-1
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,10 @@ TextInputChannel::TextInputChannel(flutter::BinaryMessenger* messenger,
277277
imf_context_ = ecore_imf_context_add(GetImfMethod());
278278
}
279279
if (imf_context_) {
280+
// TODO(swift-kim): Incorrect cast from int to void*.
280281
ecore_imf_context_client_window_set(
281-
imf_context_, (void*)engine_->tizen_renderer->GetEcoreWindowId());
282+
imf_context_,
283+
(void*)(size_t)(engine_->tizen_renderer->GetEcoreWindowId()));
282284
RegisterIMFCallback();
283285
} else {
284286
FT_LOGE("Failed to create imfContext");

shell/platform/tizen/flutter_tizen.cc

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
#include "public/flutter_tizen.h"
77

8+
#include <inttypes.h>
9+
810
#include "flutter/shell/platform/common/cpp/client_wrapper/include/flutter/plugin_registrar.h"
911
#include "flutter/shell/platform/common/cpp/client_wrapper/include/flutter/standard_message_codec.h"
1012
#include "flutter/shell/platform/common/cpp/incoming_message_dispatcher.h"
@@ -191,12 +193,12 @@ bool FlutterMarkExternalTextureFrameAvailable(
191193
void* tbm_surface) {
192194
auto it = texture_registrar->textures.find(texture_id);
193195
if (it == texture_registrar->textures.end()) {
194-
FT_LOGE("can't find texture texture_id = %lld", texture_id);
196+
FT_LOGE("can't find texture texture_id = %" PRId64, texture_id);
195197
return false;
196198
}
197199
if (!texture_registrar->textures[texture_id]->OnFrameAvailable(
198200
(tbm_surface_h)tbm_surface)) {
199-
FT_LOGE("OnFrameAvailable fail texture_id = %lld", texture_id);
201+
FT_LOGE("OnFrameAvailable fail texture_id = %" PRId64, texture_id);
200202
return false;
201203
}
202204
return (FlutterEngineMarkExternalTextureFrameAvailable(

0 commit comments

Comments
 (0)