-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Context: https://github.com/android/ndk/wiki/Changelog-r22 The most important NDK changes: * GNU binutils are deprecated (but still used) * LLVM 11 is used for the toolchain * LLD is now the default linker XA changes: * All the binutils tools are listed in a single location, `Configurables.Defaults`, now * Host NDK binutils are installed by xaprepare instead of by Xamarin.Android.Build.Tools * `UBSAN` checked builds require `RTTI` and exceptions now
- Loading branch information
Showing
24 changed files
with
1,084 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
xamarin/monodroid:main@7da768cf9ddbd137bbce5326dab79b139bcc59e0 | ||
mono/mono:2020-02@5e9cb6d1c1de430965312927d5aed7fcb27bfa73 | ||
mono/mono:2020-02@c66141a8c7ba2566c578c2dd012b2b723e006213 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
if((CMAKE_VERSION_MAJOR EQUAL 3 AND CMAKE_VERSION_MINOR GREATER_EQUAL 7) OR CMAKE_VERSION_MAJOR GREATER 3) | ||
set(CMAKE_POLICY_DEFAULT_CMP0066 NEW) | ||
endif() | ||
|
||
if((CMAKE_VERSION_MAJOR EQUAL 3 AND CMAKE_VERSION_MINOR GREATER_EQUAL 8) OR CMAKE_VERSION_MAJOR GREATER 3) | ||
set(CMAKE_POLICY_DEFAULT_CMP0067 NEW) | ||
endif() | ||
|
||
set(CMAKE_POLICY_DEFAULT_CMP0066 NEW) | ||
set(CMAKE_POLICY_DEFAULT_CMP0067 NEW) | ||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
|
||
namespace Xamarin.Android.Prepare | ||
{ | ||
class NDKTool | ||
{ | ||
public string Name { get; } | ||
public string DestinationName { get; } = String.Empty; | ||
|
||
public NDKTool (string name, string? destinationName = null) | ||
{ | ||
if (name.Trim ().Length == 0) { | ||
throw new ArgumentException (nameof (name), "must not be empty"); | ||
} | ||
Name = name; | ||
if (String.IsNullOrWhiteSpace (destinationName)) { | ||
return; | ||
} | ||
DestinationName = destinationName!; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.