source: EcnlProtoTool/trunk/mruby-2.1.1/examples/targets/build_config_android_arm64-v8a.rb@ 439

Last change on this file since 439 was 439, checked in by coas-nagasima, 4 years ago

mrubyを2.1.1に更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby
File size: 503 bytes
Line 
1MRuby::Build.new do |conf|
2
3 # Gets set by the VS command prompts.
4 if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
5 toolchain :visualcpp
6 else
7 toolchain :gcc
8 end
9
10 enable_debug
11
12 # include the default GEMs
13 conf.gembox 'default'
14end
15
16# Requires Android NDK r13 or later.
17MRuby::CrossBuild.new('android-arm64-v8a') do |conf|
18 params = {
19 :arch => 'arm64-v8a',
20 :platform => 'android-24',
21 :toolchain => :clang,
22 }
23 toolchain :android, params
24
25 conf.gembox 'default'
26end
Note: See TracBrowser for help on using the repository browser.