foolab / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

build for android x86 #379

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. how to build for android x86?
2. if I want to use ndk-build,how to do?
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by tuy...@gmail.com on 28 Oct 2014 at 12:54

GoogleCodeExporter commented 9 years ago
I havent tried personally, but I would start with the android for arm 
instructions, then look at how chromium for android builds.  I think you just 
change the arch.
Its on my todo list to document both intel and mips builds, so thats for 
opening the bug.

Original comment by fbarch...@google.com on 28 Oct 2014 at 5:38

GoogleCodeExporter commented 9 years ago
I think you can change the application.mk file:
APP_ABI := x86

Original comment by tuy...@gmail.com on 29 Oct 2014 at 9:06

GoogleCodeExporter commented 9 years ago
Updated Getting Started for Android:

GYP_DEFINES="OS=android target_arch=ia32" GYP_CROSSCOMPILE=1 ./gyp_libyuv -f 
ninja --depth=. libyuv_test.gyp 
ninja -j7 -C out/Debug libyuv_unittest
ninja -j7 -C out/Release libyuv_unittest

Original comment by fbarch...@google.com on 29 Oct 2014 at 10:13