Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IMGRender
Project
Project
Details
Activity
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
Linshizhi
IMGRender
Commits
817dd25e
Commit
817dd25e
authored
Jul 28, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Treat skia as an non-bazel project.
parent
8615b562
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
prepare.sh
prepare.sh
+11
-4
No files found.
prepare.sh
View file @
817dd25e
...
...
@@ -17,13 +17,20 @@ fi
cd
$SKIA_PATH
builds
=
$(
find
.
|
grep
-e
"[^.]*
\.
bazel$"
)
if
[
!
-z
"
$builds
"
]
;
then
# There is no deps resolve rules provide by skia
# so unable to handle transitive deps of skia.
# Just treat it as an non-bazel projects, which
# require to remove all bazel related files.
if
[
-f
"WORKSPACE.bazel"
]
;
then
builds
=
$(
find
.
|
grep
-e
"[^.]*
\.
bazel$"
| xargs
)
if
[
!
-z
"
$builds
"
]
;
then
rm
$builds
fi
fi
python3 tools/git-sync-deps
bin/gn gen out/Shared
--args
=
'is_official_build=true is_component_build=true skia_use_system_harfbuzz=false'
bin/gn gen out/Shared
--args
=
'is_official_build=true is_component_build=true skia_use_system_harfbuzz=false
skia_enable_svg=true
'
ninja
-C
out/Shared
...
...
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