diff --git a/YOGA_DEFS b/YOGA_DEFS index bb706632..9548554a 100644 --- a/YOGA_DEFS +++ b/YOGA_DEFS @@ -1,7 +1,3 @@ -with allow_unsafe_import(): - import os.path -def isdir(filename): - return os.path.isdir(filename) YOGA_ROOT = '//...' JAVA_TARGET = '//java:java' @@ -39,3 +35,8 @@ BASE_COMPILER_FLAGS = [ def yoga_dep(dep): return '//' + dep + +with allow_unsafe_import(): + import os.path +def isdir(filename): + return os.path.isdir(filename) diff --git a/csharp/BUCK b/csharp/BUCK index de1e9a39..37140659 100644 --- a/csharp/BUCK +++ b/csharp/BUCK @@ -6,7 +6,6 @@ # 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']