File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ MRuby ::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'
14+ end
15+
16+ # Requires Android NDK r13 or later.
17+ MRuby ::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'
26+ end
Original file line number Diff line number Diff line change 1+ MRuby ::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'
14+ end
15+
16+ # Requires Android NDK r13 or later.
17+ MRuby ::CrossBuild . new ( 'android-armeabi' ) do |conf |
18+ params = {
19+ :arch => 'armeabi' ,
20+ :platform => 'android-24' ,
21+ :toolchain => :clang ,
22+ }
23+ toolchain :android , params
24+
25+ conf . gembox 'default'
26+ end
You can’t perform that action at this time.
0 commit comments