Commit 87582d97 authored by Linshizhi's avatar Linshizhi

change BUILD of examples.

parent f7ad5fd6
...@@ -3,8 +3,16 @@ cc_binary( ...@@ -3,8 +3,16 @@ cc_binary(
srcs = ["skia_svg_render.cc"], srcs = ["skia_svg_render.cc"],
copts = ["-I./src", "-std=c++2a"], copts = ["-I./src", "-std=c++2a"],
linkopts = [ linkopts = [
"-lz", "-llzma", "-ljpeg", "-lfreetype", "-lz",
"-lpng", "-lfontconfig", "-lGLX", "-lexpat -lm"], "-llzma",
"-ljpeg",
"-lfreetype",
"-lpng",
"-lfontconfig",
"-lGLX",
"-lpthread",
"-lexpat",
"-lm"],
deps = [ deps = [
"@skia//:skia_svg", "@skia//:skia_svg",
"@skia//:skia", "@skia//:skia",
...@@ -24,6 +32,7 @@ cc_binary( ...@@ -24,6 +32,7 @@ cc_binary(
"-lfontconfig", "-lfontconfig",
"-lGLX", "-lGLX",
"-lexpat", "-lexpat",
"-lpthread",
"-lm"], "-lm"],
deps = [ deps = [
"@skia//:skia_svg", "@skia//:skia_svg",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment