linux_soname_version = ""
sanitize = ""
- building_for_tizen = false
ncli = ""
ncli_version = "4.0"
}
is_ios = current_os == "ios" || current_os == "tvos" || current_os == "watchos"
is_tvos = current_os == "tvos"
is_watchos = current_os == "watchos"
-is_linux = current_os == "linux"
+is_linux = current_os == "linux" || current_os == "tizen"
is_mac = current_os == "mac"
is_win = current_os == "win" || current_os == "winrt"
is_winrt = current_os == "winrt"
-is_tizen = building_for_tizen
+is_tizen = current_os == "tizen"
if (target_cpu == "") {
target_cpu = host_cpu
import("../third_party.gni")
if (skia_use_system_freetype2) {
- if (is_tizen) {
- system("freetype2") {
- cflags = [ "-I=/usr/include/freetype2" ]
- libs = [ "freetype" ]
- }
- } else {
system("freetype2") {
include_dirs = [ "/usr/include/freetype2" ]
libs = [ "freetype" ]
}
- }
} else {
third_party("freetype2") {
public_defines = [ "SK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) << 24) | ((FREETYPE_MINOR) << 16) | ((FREETYPE_PATCH) << 8))" ]