Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
41 changes: 27 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
api-version: ["6.0", "6.5", "8.0"]
api-version: ["6.0", "6.5", "8.0", "11.0"]
arch: [arm, arm64, x86, x64]
include:
- arch: arm
Expand All @@ -19,6 +19,9 @@ jobs:
triple: i686-linux-gnu
- arch: x64
triple: x86-64-linux-gnu
- api-version: "11.0"
use_tcore: true
suffix: _tcore
exclude:
- api-version: "6.0"
arch: x64
Expand All @@ -30,6 +33,8 @@ jobs:
arch: arm64
- api-version: "8.0"
arch: x86
- api-version: "11.0"
arch: x86

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -66,46 +71,54 @@ jobs:
--target-toolchain /usr/lib/llvm-17 \
--target-sysroot src/sysroot-${{ matrix.api-version }}/${{ matrix.arch }} \
--api-version ${{ matrix.api-version }} \
${{ matrix.use_tcore && '--use-tcore' || '' }} \
--target-dir build
ninja -C src/out/build

- name: Rename tcore artifacts
if: ${{ matrix.use_tcore }}
run: |
for library in src/out/build/libflutter_tizen*.so src/out/build/so.unstripped/libflutter_tizen*.so; do
mv "$library" "${library%.so}_tcore.so"
Comment thread
JSUYA marked this conversation as resolved.
done

- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}${{ matrix.suffix }}
path: |
src/out/build/libflutter_tizen_common.so
src/out/build/libflutter_tizen_mobile.so
src/out/build/libflutter_tizen_tv.so
src/out/build/libflutter_tizen_common${{ matrix.suffix }}.so
src/out/build/libflutter_tizen_mobile${{ matrix.suffix }}.so
src/out/build/libflutter_tizen_tv${{ matrix.suffix }}.so
if-no-files-found: error

- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}_experimental
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}_experimental${{ matrix.suffix }}
path: |
src/out/build/libflutter_tizen*_experimental.so
src/out/build/libflutter_tizen*_experimental${{ matrix.suffix }}.so
if-no-files-found: error

- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}_unittests
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}${{ matrix.suffix }}_unittests
path: src/out/build/flutter_tizen_unittests
if-no-files-found: error

- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' }}
with:
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}_symbols
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}${{ matrix.suffix }}_symbols
path: |
src/out/build/so.unstripped/libflutter_tizen_common.so
src/out/build/so.unstripped/libflutter_tizen_mobile.so
src/out/build/so.unstripped/libflutter_tizen_tv.so
src/out/build/so.unstripped/libflutter_tizen_common${{ matrix.suffix }}.so
src/out/build/so.unstripped/libflutter_tizen_mobile${{ matrix.suffix }}.so
src/out/build/so.unstripped/libflutter_tizen_tv${{ matrix.suffix }}.so
if-no-files-found: error

- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' }}
with:
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}_experimental_symbols
path: src/out/build/so.unstripped/libflutter_tizen*_experimental.so
name: tizen-${{ matrix.api-version }}-${{ matrix.arch }}_experimental${{ matrix.suffix }}_symbols
path: src/out/build/so.unstripped/libflutter_tizen*_experimental${{ matrix.suffix }}.so
if-no-files-found: error

- uses: actions/upload-artifact@v4
Expand Down
10 changes: 5 additions & 5 deletions flutter/shell/platform/tizen/tizen_input_method_context_tcore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -449,16 +449,16 @@ void TizenInputMethodContext::UnregisterEventCallbacks() {
}
tizen_core_imf_context_del_event_callback(
imf_context_, TIZEN_CORE_IMF_CALLBACK_COMMIT,
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_COMMIT]);
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_COMMIT], this);
tizen_core_imf_context_del_event_callback(
imf_context_, TIZEN_CORE_IMF_CALLBACK_PREEDIT_CHANGED,
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_PREEDIT_CHANGED]);
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_PREEDIT_CHANGED], this);
tizen_core_imf_context_del_event_callback(
imf_context_, TIZEN_CORE_IMF_CALLBACK_PREEDIT_START,
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_PREEDIT_START]);
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_PREEDIT_START], this);
tizen_core_imf_context_del_event_callback(
imf_context_, TIZEN_CORE_IMF_CALLBACK_PREEDIT_END,
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_PREEDIT_END]);
event_callbacks_[TIZEN_CORE_IMF_CALLBACK_PREEDIT_END], this);
}

void TizenInputMethodContext::SetContextOptions() {
Expand Down Expand Up @@ -525,7 +525,7 @@ void TizenInputMethodContext::UnregisterInputPanelEventCallback() {

tizen_core_imf_context_del_input_panel_event_callback(
imf_context_, TIZEN_CORE_IMF_INPUT_PANEL_EVENT_STATE,
InputPanelStateChangedCallback);
InputPanelStateChangedCallback, this);
}

} // namespace flutter
2 changes: 2 additions & 0 deletions flutter/shell/platform/tizen/tizen_window_tcore_wl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "tizen_window_tcore_wl.h"

#include <tizen_core_wl_notification.h>

#ifdef TV_PROFILE
#include <app.h>
#include <app_preference.h>
Expand Down
Loading