Skip to content

Commit

Permalink
chore: add reference args for building
Browse files Browse the repository at this point in the history
  • Loading branch information
vcellu committed Mar 5, 2023
1 parent aeb9ae0 commit c0133f1
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
29 changes: 29 additions & 0 deletions argsgn/args.gn.android
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
target_os = "android"
target_cpu = "arm64"
skia_use_icu = true
skia_enable_skparagraph = true
skia_use_harfbuzz = true
skia_use_piex = true
skia_use_sfntly = false
skia_use_system_expat = false
skia_use_system_libjpeg_turbo = false
skia_use_system_libpng = false
skia_use_system_libwebp = false
skia_use_system_zlib = false
skia_enable_tools = false
is_official_build = true
skia_enable_skottie = false
is_debug = false
skia_enable_pdf = false
skia_enable_flutter_defines = true
paragraph_tests_enabled = false
is_component_build = false
ndk = "/Users/vel/Library/Android/sdk/ndk/21.4.7075529"
skia_use_system_freetype2 = false
skia_use_gl = true
cc = "clang"
cxx = "clang++"
extra_cflags = [
"-I/Users/vel/workspace/icu/icu4c/android/icu_build/include",
"-I/Users/vel/workspace/test-skia-builds/harfbuzz/src",
]
36 changes: 36 additions & 0 deletions argsgn/args.gn.ios
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
target_os = "ios"
target_cpu = "arm64"
skia_enable_skparagraph = true
skia_use_harfbuzz = true
skia_use_icu = true
skia_use_piex = true
skia_use_sfntly = false
skia_use_system_expat = false
skia_use_system_libjpeg_turbo = false
skia_use_system_libpng = false
skia_use_system_libwebp = false
skia_use_system_zlib = false
skia_enable_tools = false
is_official_build = true
skia_enable_skottie = false
is_debug = false
skia_enable_pdf = false
skia_enable_flutter_defines = true
paragraph_tests_enabled = false
is_component_build = false
skia_use_metal = true
skia_use_gl = true
cc = "clang"
cxx = "clang++"
ios_min_target = "11.0"
xcode_sysroot = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk"
extra_ldflags = [ "--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk" ]
extra_cflags = [
"-DSKIA_C_DLL",
"-DHAVE_ARC4RANDOM_BUF",
"-target",
"arm64-apple-ios",
"-fembed-bitcode",
"-I/Users/vel/workspace/icu4c-xcframework/ICU.xcframework/ios-arm64/Headers",
"-I/Users/vel/workspace/test-skia-builds/harfbuzz/src",
]

0 comments on commit c0133f1

Please sign in to comment.