Attempt to fix open source Yoga build.
Reviewed By: emilsjolander Differential Revision: D4557733 fbshipit-source-id: b99701e9c1ec56fb147aa4cc738549df90aa7016
This commit is contained in:
committed by
Facebook Github Bot
parent
a1c75454e9
commit
8a91c0a0e5
@@ -1,3 +1,7 @@
|
||||
with allow_unsafe_import():
|
||||
import os.path
|
||||
def isdir(filename):
|
||||
return os.path.isdir(filename)
|
||||
|
||||
YOGA_ROOT = '//...'
|
||||
JAVA_TARGET = '//java:java'
|
||||
|
@@ -35,7 +35,7 @@ cxx_library(
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
if py_sdk.os.path.isdir('/Applications/Xcode.app'):
|
||||
if isdir('/Applications/Xcode.app'):
|
||||
yoganet_ios_srcs = []
|
||||
for arch in [
|
||||
'iphonesimulator-x86_64', 'iphonesimulator-i386', 'iphoneos-arm64', 'iphoneos-armv7'
|
||||
|
Reference in New Issue
Block a user