Kazuki Sakamoto
ba0bb10366
Build iOS fat static library for Unity and Xamarin
...
Summary:
$ buck build //csharp:yoganet-ios
$ buck targets --show-output //csharp:yoganet-ios
//csharp:yoganet-ios buck-out/gen/csharp/yoganet-ios/libyoga.a
$ lipo -info buck-out/gen/csharp/yoganet-ios/libyoga.a
Architectures in the fat file: buck-out/gen/csharp/yoganet-ios/libyoga.a are: armv7 x86_64 arm64
$ nm buck-out/gen/csharp/yoganet-ios/libyoga.a|grep -e 'T _YGNodeNew' -e 'ygNode' -e 'T _YGInteropSetLogger'
0000000000000000 T _YGNodeNew
0000000000001070 t -[UIView(Yoga) ygNode]
0000000000000000 T _YGInteropSetLogger
Closes https://github.com/facebook/yoga/pull/286
Reviewed By: emilsjolander
Differential Revision: D4338919
Pulled By: splhack
fbshipit-source-id: 7acfdfa0dc4d152d7bfe92161efdeb9f161f70e6
2016-12-16 06:54:35 -08:00
Kazuki Sakamoto
25b206ac53
Build native library with BUCK for .NET (Mono, Xamarin)
...
Summary:
Examples:
- macOS on macOS (Mono, Xamarin.Mac, Unity)
- `buck build //csharp:yoganet#shared,default` -> `libyoga.dylib`
- Android (Xamarin.Android, Unity)
- `buck build //csharp:yoganet#shared,android-armv7` -> `libyoga.so`
- iOS (Xamarin.iOS, Unity)
- `buck build //:yoga#static,iphoneos-arm64` -> `libyoga.a`
- `buck build //csharp:yoganet#static,iphoneos-arm64` -> `libyoganet.a`
Closes https://github.com/facebook/yoga/pull/282
Reviewed By: emilsjolander
Differential Revision: D4333811
Pulled By: splhack
fbshipit-source-id: 54f4364d93b2419d7504392eb558296a5d06772f
2016-12-15 13:54:34 -08:00
Emil Sjolander
b11155423c
Rename directories
...
Reviewed By: gkassabli
Differential Revision: D4284681
Summary: Rename csslayout directories to yoga
fbshipit-source-id: f0c6855c2c6e4389b7867f48f72cbb697830fc5a
2016-12-07 05:22:52 -08:00
Emil Sjolander
f7cc614d67
rename csharp code
...
Summary: new name
Reviewed By: splhack
Differential Revision: D4247106
fbshipit-source-id: 6e1097de104f3a011c78ae65b33e57865b007711
2016-12-02 11:23:20 -08:00
mattpodwysocki
ff8f17ac99
Introducing .NET version of css-layout using P/Invoke
...
Summary:
This version of the css-layout project includes support for .NET projects. Up in the air is how many configurations of .NET projects we allow for, such as Portable Class Libraries, Universal Windows Platform, .NET Core, etc. Still needs integration with Buck.
Closes https://github.com/facebook/css-layout/pull/220
Reviewed By: lucasr
Differential Revision: D3909367
Pulled By: emilsjolander
fbshipit-source-id: aaaa9c4ff2d3452649f256c3268cf873cf33a0b9
2016-09-22 16:37:46 -07:00