Age | Commit message (Collapse) | Author |
|
ndk-build accepts command-line arguments which are passed to
the underlying "make" process. For example:
ndk-build EXTRA_CFLAGS=-DDOG
Previously, these extra arguments could not contain spaces:
ndk-build EXTRA_CFLAGS="-DDOG -DCAT" # fails
This change fixes that issue.
Change-Id: I907d6dbb73db1608f1628c930649564a2aa39456
|
|
Change-Id: I515c631421a83db21fad63fc8a394e927f028adf
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
|
|
Change-Id: I009dadf38c3f3a8d49ff75a1dd489f34441361b0
|
|
Change-Id: I695ea8e09e55a48ddb23f35cd26c91e96966cb6a
|
|
Bug 2713199
...to fix the build.
Change-Id: If5deba8c3b054b0d1085604d98a60f2b08b5f2a2
|
|
|
|
being used." into froyo
|
|
It looks like that many NDK developers on Windows have some sort of other GNU
Make program installed in their path (e.g. because they installed another IDE
or Developer Environment), and that conflicts badly with our build scripts.
Also fix a tiny bug where the debuggable flag was lost when building
the modules.
Change-Id: I2d26131b08cf19959122abdefec9a22955d2a89c
|
|
Bug 2713199
Include the cpufeatures Android.mk since this library will be needed
by CTS to test the Build.CPU_ABI constants. This approach is favored
over putting the include line in the CTS tests Android.mk.
Change-Id: I350cdb82351174f6dd91b7f77fb8e0ece00a9090
|
|
Change-Id: I993a974c6ce42114441153c384536cb3dcbfed87
|
|
As a convenience to NDK users, many who are not used to debugging native code at all
and will find that gdb cannot set breakpoints properly or dump local variables by
default strange.
This also moves the computation of APP_MANIFEST and APP_DEBUGGABLE to add-application.mk
which is just more logical.
Change-Id: Ia801f3aeda6a87d91d92bfc618c2620afd1470aa
|
|
Change-Id: Ia7e750f9042d4ed93f6cb8193dfc5d4f67857c17
|
|
"gensub()" is a GNUAwk-ism that should not be used.
Change-Id: I2df89efc165c84034594b98327921f9461188a76
|
|
The previous behaviour was to silently ignore these source files, which
confused several NDK users.
Change-Id: I0decb18af9ee6d1c210813d2046e7d3f71c20763
|
|
Change-Id: Ia76b2aa2cab588b89b2bbaa09ef7c7046491f33f
|
|
Several people have reported they used the NDK to generate static libraries only
and that they don't have a manifest when doing so (the old "make APP=<name>" method
worked fine).
Change-Id: I4bf4ea0708e954e253b7ed65a8680887031d5347
|
|
Change-Id: I2472ac149e6b6a435a864e7a10109306322b512c
|
|
Change-Id: I592b025ebdf2181a80f5c7014fb40d3cdcd8e2ca
|
|
See docs/CHANGES.TXT for a detailed list of changes. These are mainly cosmetic
and to reflect new declarations for android-8.
Change-Id: I152dcee6ae6b1fd9368fe5d468443dd9fee459db
|
|
Update documentation accordingly
Note: removes obsolete unit tests under apps/unit-tests/
+ fix --verbose option in build/tools/rebuild-all-prebuilt.sh
+ add NX support to x86-4.2.1 toolchain config file
+ update .gitignore
Change-Id: I3c8e6185ad41f103a425387d7618ab3e73182fdc
|
|
Change-Id: I73107f2f72ec3b3486e59f80b942f041cf65b02d
|
|
Change-Id: If72f42324848823a01cffcad56c304b5c7e46d7d
|
|
We only support Cygwin 1.7 at this point, which is not completely
compatible with 1.5 (now obsolete) due to a different way to implement
symbolic links (among other things).
Change-Id: Ib321bdbbad50cde24eb1e4ccbeec8fdf8d0aca86
|
|
code on ARM.
Change-Id: Ic25be4e8a83e741040c7944251688dcdcc97838b
Question: shall we enable it for x86 too?
|
|
Also fix common option processing on OS X. Its 'expr' command works slightly differently from Linux.
Change-Id: I7d79b8cea1b14eb8f0efe67f5fb08db342bbbf84
|
|
Change-Id: Ib33601fd74e097edacf2dbe3e73d75153cd65c36
Also contain a new sample under samples/bitmap-plasma.
This one cannot be built with 'make APP=<name>' so use 'ndk-build' instead.
|
|
Later patch will add <android/bitmap.h> / libjnigraphics.so.
Change-Id: I0a0095710d25d2dabfa56072f78211517c01b9ec
|
|
into froyo
|
|
Move all awk scripts to build/awk/ and rework them a bit
Add build/awk/xmlparser.awk to parse XML files into something that
is easier to process with awk. Its output is used by several
scripts now (extract-debuggable.awk, extract-package-name.awk and
the new extract-launchable.awk).
Also update documentation.
Change-Id: I50507abbb2b438aeea25a4e0521e6bf69ad86603
|
|
--try-x86 is used to enable the build of the x86-4.2.1 toolchain.
Change-Id: Ie018d5c1e2ebb082058f522058a643a00825b70a
|
|
|
|
Change-Id: Id17875ebc6dd4e9719b7ad179921e44a5246f596
|
|
Change-Id: I25086bd56550cabf3153524cfed35ee7b9256680
|
|
Remove build-toolchain.sh and now provide rebuild-all-prebuilts.sh
Change-Id: I558c95d1667d1283be9b3a075ad0565e05da0dc5
|
|
This is a helper script used to launch a native debugging session.
To use it, follow these steps:
1. Make your application debuggable
2. Build the machine code with 'ndk-build' (make APP=<name> is not supported)
3. Build the package with ant or the ADT Eclipse plugin
4. Install it on your device/emulator
5. Launch it
6. Run 'ndk-gdb' from your application project directory.
Change-Id: Ie3b0557e70cefa0080075a34ad0ca46bebef3c42
NOTE: To work properly, a modified gdbserver binary must be used
(one that binds to Unix sockets instead of TCP ones). Patch
upcoming.
|
|
There is no need to modify $NDK/apps anymore to build an application.
Now all you need to do is launch $NDK/ndk-build from the project path,
or any of its sub-directory, and the build scripts will handle everything
automatically.
You can also place an optional Application.mk under $PROJECT/jni, but
by default the NDK will build all modules listed in your Android.mk for
the 'armeabi' ABI.
+ Update the documentation
Change-Id: I235c4051d7f00f37d50e6b4bb0e796c0bdaa001d
|
|
If APP_MODULES is defined, now computes the transitive closure of module dependencies automatically.
+ cleanup some of the build scripts
+ add module database management functions for future work
Change-Id: I4ae14d8a3cbd2240e1efec27c55f8314b618c4d9
|
|
Change-Id: I154f2fd3828ffd937c82410f5f9995402d7be15e
|
|
va_list types." into froyo
|
|
Change-Id: I0da78a785cd3b045b38beb2ff91d784c5e128c3a
|
|
only copy the gdbserver binary to $PROJECT/libs/<abi> if it is set to TRUE.
Change-Id: I06bc0c0c7993d93d7ee22b9b055b10ad8ef3cd86
|
|
This removes build/host-setup.sh and the generated file out/host/config.mk
Also: fix a bug that copied gdbserver into release projects, not debug ones.
Change-Id: Ie3641dadb6148b1a671534d9bbb5e587cd742845
|
|
Change-Id: I9b1d6f39fd33f5b7cbc2e875a292f5901780ce26
|
|
for debuggable applications.
This ensures that the binary will be embedded in the final .apk,
unpacked by the PackageManager into /data/data/<package>/lib and
later invokable through the 'run-as' tool.
Change-Id: Ib1efc832dc02926204b05836b90f78adb9c3365b
|
|
and file://<path>" into froyo
|
|
file://<path>
This is a preliminary change to further toolchain build scripts modifications
Change-Id: I47758a23d916bc59f4b60eca83bcc6d6c2332203
|
|
Before this patch, it was not possible to use the x86-4.2.1 toolchain
without explicitely selecting it with NDK_TOOLCHAIN. Now if all toolchains
are installed, a simple line like the following just works:
APP_ABI := armeabi armeabi-v7a x86
Change-Id: I58ff6dda09a6d1406a83a45af542bba35a3caa40
|
|
This change modifies the build script so that only the
Application.mk/Android.mk files of the applications listed
by APP are actually parsed.
Also, the error messages displayed when APP is empty or
when it is malformed has been improved.
+ Remove installed binaries when "make APP=<name> clean"
is called.
|
|
Also add build/tools/build-ccache.sh to rebuild ccache prebuilt binary
(for future use in the NDK to speedup rebuilds).
Change-Id: I10373c0d3f0e42b768c7e28d45e73e182fd6a299
|
|
After this change, we no longer require running a shell script
during the build process. This makes us less dependent on Cygwin
and is a small step towards integrating the NDK into the SDK properly.
Change-Id: I62d7e200b47c8138abb39aaf9eb0f52d3f124bdf
|