Skip to content

Commit

Permalink
Update a number of build files in fbandroid/xplat to use the py_sdk b…
Browse files Browse the repository at this point in the history
…uild 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
  • Loading branch information
bolinfest authored and facebook-github-bot committed Feb 14, 2017
1 parent 55fe6f0 commit ce5d52b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions csharp/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# of patent rights can be found in the PATENTS file in the same directory.

include_defs('//YOGA_DEFS')
include_defs('xplat//configurations/buck/py_sdk')

COMPILER_FLAGS = BASE_COMPILER_FLAGS + ['-std=c++11']

Expand Down Expand Up @@ -34,10 +35,7 @@ cxx_library(
visibility = ['PUBLIC'],
)

with allow_unsafe_import():
import os

if os.path.isdir('/Applications/Xcode.app'):
if py_sdk.os.path.isdir('/Applications/Xcode.app'):
yoganet_ios_srcs = []
for arch in [
'iphonesimulator-x86_64', 'iphonesimulator-i386', 'iphoneos-arm64', 'iphoneos-armv7'
Expand Down

0 comments on commit ce5d52b

Please sign in to comment.