Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuqiang
skiko
Commits
9c835488
Unverified
Commit
9c835488
authored
Sep 16, 2021
by
Nikolay Igotti
Committed by
GitHub
Sep 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate to Skia m94-975fcdd755 (#199)
parent
b93b6f70
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
blank.yml
.github/workflows/blank.yml
+1
-1
build.gradle.kts
skiko/build.gradle.kts
+4
-2
gradle.properties
skiko/gradle.properties
+6
-6
Paint.cc
skiko/src/commonMain/cpp/generated/Paint.cc
+0
-1
Paint.cc
skiko/src/jvmMain/cpp/common/Paint.cc
+0
-1
No files found.
.github/workflows/blank.yml
View file @
9c835488
...
...
@@ -57,7 +57,7 @@ jobs:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
sudo update-alternatives --config gcc
sudo apt-get install ninja-build fontconfig libfontconfig1-dev libglu1-mesa-dev libxrandr-dev zip -y
./gradlew jvmTest
./gradlew
-i
jvmTest
./gradlew publishToMavenLocal
js
:
runs-on
:
ubuntu-20.04
...
...
skiko/build.gradle.kts
View file @
9c835488
...
...
@@ -530,6 +530,7 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach {
)
}
OS
.
Linux
->
{
val
skia
=
skiaDir
.
get
().
absolutePath
+
"/"
+
skiaBinSubdir
linkerArgs
.
addAll
(
listOf
(
"-static-libstdc++"
,
...
...
@@ -544,8 +545,9 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach {
// To fix it we enforce resolve of all GOT entries at library load time, and make it read-only afterwards.
"-Wl,-z,relro,-z,now"
,
// Hack to fix problem with linker not always finding certain declarations.
skiaDir
.
get
().
absolutePath
+
"/$skiaBinSubdir/libsksg.a"
,
skiaDir
.
get
().
absolutePath
+
"/$skiaBinSubdir/libskia.a"
"$skia/libsksg.a"
,
"$skia/libskia.a"
,
"$skia/libskunicode.a"
)
)
}
...
...
skiko/gradle.properties
View file @
9c835488
...
...
@@ -2,11 +2,11 @@ kotlin.code.style=official
deploy.version
=
0.0.0
kotlin.native.version
=
1.5.21-dev-329
dependencies.skia.windows-x64
=
m9
3-87e8842e8c
dependencies.skia.linux-x64
=
m9
3-87e8842e8c
dependencies.skia.macos-x64
=
m9
3-87e8842e8c
dependencies.skia.linux-arm64
=
m9
3-87e8842e8c
dependencies.skia.macos-arm64
=
m9
3-87e8842e8c
dependencies.skia.wasm-wasm
=
m9
3-87e8842e8c
dependencies.skia.windows-x64
=
m9
4-975fcdd755
dependencies.skia.linux-x64
=
m9
4-975fcdd755
dependencies.skia.macos-x64
=
m9
4-975fcdd755
dependencies.skia.linux-arm64
=
m9
4-975fcdd755
dependencies.skia.macos-arm64
=
m9
4-975fcdd755
dependencies.skia.wasm-wasm
=
m9
4-975fcdd755
org.gradle.jvmargs
=
-Xmx4G
skiko/src/commonMain/cpp/generated/Paint.cc
View file @
9c835488
...
...
@@ -8,7 +8,6 @@
#include "SkPaint.h"
#include "SkPathEffect.h"
#include "SkShader.h"
#include "SkFilterQuality.h"
#include "common.h"
void
deletePaint
(
SkPaint
*
paint
)
{
...
...
skiko/src/jvmMain/cpp/common/Paint.cc
View file @
9c835488
...
...
@@ -6,7 +6,6 @@
#include "SkPaint.h"
#include "SkPathEffect.h"
#include "SkShader.h"
#include "SkFilterQuality.h"
#include "interop.hh"
static
void
deletePaint
(
SkPaint
*
paint
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment