Skip to content

Commit

Permalink
pass the bs files to jit-bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
lrz authored and Watson1978 committed May 13, 2015
1 parent 7bf5663 commit ef7b3ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/motion/project/template/android.rb
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,8 @@
sh "\"#{App.config.zipalign_path}\" -f 4 \"#{archive}\" \"#{archive}-aligned\""
sh "/bin/mv \"#{archive}-aligned\" \"#{archive}\""
end

$bs_files = bs_files
end

desc "Create an application package file (.apk) for release (Google Play)"
Expand Down Expand Up @@ -688,7 +690,7 @@ def run_apk(mode)
App.fail "Unrecognized device architecture `#{arch}' (expected arm or x86)."
end
# Launch the REPL.
sh "\"#{App.config.bin_exec('android/repl')}\" \"#{App.config.kernel_path(arch)}\" #{target_triple} 0.0.0.0 #{local_tcp}"
sh "\"#{App.config.bin_exec('android/repl')}\" \"#{App.config.kernel_path(arch)}\" #{target_triple} 0.0.0.0 #{local_tcp} #{$bs_files.join(' ')}"
end
end
end
Expand Down

0 comments on commit ef7b3ca

Please sign in to comment.