Build native library with BUCK for .NET (Mono, Xamarin) #282

Closed
splhack wants to merge 2 commits from mono into master
splhack commented 2016-12-09 21:58:44 -08:00 (Migrated from github.com)

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
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`
emilsjolander commented 2016-12-15 02:34:28 -08:00 (Migrated from github.com)

Can this be used from with the .NET test script?

Can this be used from with the .NET test script?
facebook-github-bot commented 2016-12-15 08:46:18 -08:00 (Migrated from github.com)

@splhack updated the pull request - view changes

@splhack updated the pull request - [view changes](https://github.com/facebook/yoga/pull/282/files/ff8c9ea97c0ba0b49c62e3fe5d69d07e5258565c..b0a13eadcc0bd50b55a24cc205f74dd07435cdc8)
facebook-github-bot commented 2016-12-15 08:50:44 -08:00 (Migrated from github.com)

@splhack has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@splhack has imported this pull request. If you are a Facebook employee, you can view this diff [on Phabricator](https://phabricator.intern.facebook.com/D4333811).
splhack commented 2016-12-15 08:52:47 -08:00 (Migrated from github.com)

Sure, the script now uses buck to build shared library.

Sure, the script now uses buck to build shared library.

Pull request closed

Sign in to join this conversation.
No description provided.