Fix build

This commit is contained in:
Ali 2019-12-26 18:03:39 +04:00
parent 095c03acdd
commit d090d6c2d5
3 changed files with 3 additions and 5 deletions

View File

@ -356,7 +356,7 @@ build_verbose: check_env
//:NotificationContentExtension#dwarf-and-dsym,iphoneos-arm64 \ //:NotificationContentExtension#dwarf-and-dsym,iphoneos-arm64 \
//:NotificationServiceExtension#dwarf-and-dsym,iphoneos-arm64 \ //:NotificationServiceExtension#dwarf-and-dsym,iphoneos-arm64 \
//:IntentsExtension#dwarf-and-dsym,iphoneos-arm64 \ //:IntentsExtension#dwarf-and-dsym,iphoneos-arm64 \
--verbose 8 ${BUCK_OPTIONS} ${BUCK_THREADS_OPTIONS} ${BUCK_DEBUG_OPTIONS} ${BUCK_CACHE_OPTIONS} --verbose 7 ${BUCK_OPTIONS} ${BUCK_THREADS_OPTIONS} ${BUCK_DEBUG_OPTIONS} ${BUCK_CACHE_OPTIONS}
deps: check_env deps: check_env
$(BUCK) query "deps(//:AppPackage)" --dot \ $(BUCK) query "deps(//:AppPackage)" --dot \

View File

@ -13,6 +13,7 @@ static_library(
"-DSVGKitLogWarn(...)=1", "-DSVGKitLogWarn(...)=1",
"-DSVGKitLogError(...)=1", "-DSVGKitLogError(...)=1",
"-DSVGKitLogInfo(...)=1", "-DSVGKitLogInfo(...)=1",
"-I$SDKROOT/usr/include/libxml2",
], ],
headers = glob([ headers = glob([
"Sources/**/*.h", "Sources/**/*.h",
@ -20,9 +21,6 @@ static_library(
exported_headers = glob([ exported_headers = glob([
"Sources/*.h", "Sources/*.h",
]), ]),
exported_preprocessor_flags = [
"-I${SDKROOT}/usr/include/libxml2",
],
frameworks = [ frameworks = [
"$SDKROOT/System/Library/Frameworks/libxml2.tbd", "$SDKROOT/System/Library/Frameworks/libxml2.tbd",
], ],

View File

@ -9,7 +9,7 @@ UIImage * _Nullable drawSvgImage(NSData * _Nonnull data, CGSize size) {
SVGKImage *image = [[SVGKImage alloc] initWithData:data]; SVGKImage *image = [[SVGKImage alloc] initWithData:data];
if (image == nil) { if (image == nil) {
return; return nil;
} }
double deltaTime = -1.0f * [startTime timeIntervalSinceNow]; double deltaTime = -1.0f * [startTime timeIntervalSinceNow];