Skip to content

Commit

Permalink
ビルド対象に入れてみる
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoho committed Feb 20, 2024
1 parent ab2e848 commit d57fe43
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1727,6 +1727,14 @@ def main():
shutil.copyfile(os.path.join(sora_build_dir, 'bundled', 'libsora.a'),
os.path.join(install_dir, 'sora', 'lib', 'libsora.a'))

if platform.target.os == 'android':
# Android の場合のみ SoraAudioManager をビルドする
with cd(os.path.join(BASE_DIR, 'android', 'SoraAudioManager')):
cmd(['./gradlew', '--no-daemon', 'assembleRelease'])
shutil.copyfile(os.path.join(BASE_DIR, 'android', 'SoraAudioManager', 'SoraAudioManager',
'build', 'outputs', 'aar', 'SoraAudioManager-release.aar'),
os.path.join(install_dir, 'sora', 'lib', 'SoraAudioManager.aar'))

if args.test:
if platform.target.os == 'ios':
if not args.no_lyra:
Expand Down

0 comments on commit d57fe43

Please sign in to comment.