Update a number of build files in fbandroid/xplat to use the py_sdk build defs.

Summary:
I'm cleaning up these files in their own revision because I want to trigger
dirsync sandcastle separately from my other cleanup.

Reviewed By: mzlee

Differential Revision: D4549131

fbshipit-source-id: 1d45118256d8b517dea7a2b6c9e50bca1ccc1b0c
This commit is contained in:
Michael Bolin
2017-02-13 22:15:32 -08:00
committed by Facebook Github Bot
parent 55fe6f0bc9
commit ce5d52b54e

View File

@@ -6,6 +6,7 @@
# of patent rights can be found in the PATENTS file in the same directory. # of patent rights can be found in the PATENTS file in the same directory.
include_defs('//YOGA_DEFS') include_defs('//YOGA_DEFS')
include_defs('xplat//configurations/buck/py_sdk')
COMPILER_FLAGS = BASE_COMPILER_FLAGS + ['-std=c++11'] COMPILER_FLAGS = BASE_COMPILER_FLAGS + ['-std=c++11']
@@ -34,10 +35,7 @@ cxx_library(
visibility = ['PUBLIC'], visibility = ['PUBLIC'],
) )
with allow_unsafe_import(): if py_sdk.os.path.isdir('/Applications/Xcode.app'):
import os
if os.path.isdir('/Applications/Xcode.app'):
yoganet_ios_srcs = [] yoganet_ios_srcs = []
for arch in [ for arch in [
'iphonesimulator-x86_64', 'iphonesimulator-i386', 'iphoneos-arm64', 'iphoneos-armv7' 'iphonesimulator-x86_64', 'iphonesimulator-i386', 'iphoneos-arm64', 'iphoneos-armv7'