Skip to content

Commit c7293b2

Browse files
committed
[[ Prebuilt ]] Build libcairo thirdparty prebuilt library for Android
This patch adds libcairo to the list of thirdparty liraries compiled as prebuilt libraries for Android
1 parent 65ed717 commit c7293b2

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

livecode.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@
301301
'<@(thirdparty_libs_native)',
302302
'<@(thirdparty_libs_fonts)',
303303
'thirdparty/libexpat/libexpat.gyp:libexpat',
304+
'thirdparty/libcairo/libcairo.gyp:libcairo',
304305
],
305306
},
306307
],

prebuilt/scripts/lib_versions.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Thirdparty_LIBS_linux="$Thirdparty_LIBS_CORE $Thirdparty_LIBS_NATIVE $Thirdparty
4343
Thirdparty_LIBS_win32="$Thirdparty_LIBS_CORE $Thirdparty_LIBS_NATIVE $Thirdparty_LIBS_DESKTOP"
4444
Thirdparty_LIBS_ios="$Thirdparty_LIBS_CORE $Thirdparty_LIBS_NATIVE libcairo"
4545
Thirdparty_LIBS_emscripten="$Thirdparty_LIBS_CORE $Thirdparty_LIBS_FONTS"
46-
Thirdparty_LIBS_android="$Thirdparty_LIBS_CORE $Thirdparty_LIBS_NATIVE $Thirdparty_LIBS_FONTS libexpat"
46+
Thirdparty_LIBS_android="$Thirdparty_LIBS_CORE $Thirdparty_LIBS_NATIVE $Thirdparty_LIBS_FONTS libexpat libcairo"

prebuilt/thirdparty.gyp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,23 @@
961961
],
962962
},
963963
],
964+
[
965+
'toolset_os == "android"',
966+
{
967+
'conditions':
968+
[
969+
[
970+
'OS == "android"',
971+
{
972+
'libraries':
973+
[
974+
'-lcairo',
975+
],
976+
},
977+
],
978+
],
979+
},
980+
],
964981
[
965982
'toolset_os == "linux"',
966983
{

0 commit comments

Comments
 (0)