summaryrefslogtreecommitdiff
path: root/xmake/platforms/android/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-05-27 13:25:19 +0800
committerruki <[email protected]>2016-05-27 13:25:19 +0800
commitba420896702097733403ec8e3ce56b8ee4e54e88 (patch)
treea5af327e962cba4b8715f68ec45c912f651346c9 /xmake/platforms/android/xmake.lua
parent93a7da63ce2be9f8125c8886c3f319d866d4e439 (diff)
modify interpreter interfaces
Diffstat (limited to 'xmake/platforms/android/xmake.lua')
-rwxr-xr-xxmake/platforms/android/xmake.lua38
1 files changed, 19 insertions, 19 deletions
diff --git a/xmake/platforms/android/xmake.lua b/xmake/platforms/android/xmake.lua
index c8889a6d1..50ba4db4b 100755
--- a/xmake/platforms/android/xmake.lua
+++ b/xmake/platforms/android/xmake.lua
@@ -24,19 +24,19 @@
platform("android")
-- set os
- set_platform_os("android")
+ set_os("android")
-- set hosts
- set_platform_hosts("macosx", "linux", "windows")
+ set_hosts("macosx", "linux", "windows")
-- set archs
- set_platform_archs("armv5te", "armv6", "armv7-a", "armv8-a", "arm64-v8a")
+ set_archs("armv5te", "armv6", "armv7-a", "armv8-a", "arm64-v8a")
-- set checker
- set_platform_checker("checker")
+ set_checker("checker")
-- on load
- on_platform_load(function ()
+ on_load(function ()
-- imports
import("core.project.config")
@@ -93,21 +93,21 @@ platform("android")
end)
-- set menu
- set_platform_menu({
- config =
- {
- {}
- , {nil, "ndk", "kv", nil, "The NDK Directory" }
- , {nil, "ndk_sdkver", "kv", "auto", "The SDK Version for NDK" }
- }
+ set_menu({
+ config =
+ {
+ {}
+ , {nil, "ndk", "kv", nil, "The NDK Directory" }
+ , {nil, "ndk_sdkver", "kv", "auto", "The SDK Version for NDK" }
+ }
- , global =
- {
- {}
- , {nil, "ndk", "kv", nil, "The NDK Directory" }
- , {nil, "ndk_sdkver", "kv", "auto", "The SDK Version for NDK" }
- }
- })
+ , global =
+ {
+ {}
+ , {nil, "ndk", "kv", nil, "The NDK Directory" }
+ , {nil, "ndk_sdkver", "kv", "auto", "The SDK Version for NDK" }
+ }
+ })