android_tools.git
5 days agoAdd --stl=<name> option to make-standalone-toolchain.sh 12/55712/1 master
David 'Digit' Turner [Mon, 20 May 2013 07:00:20 +0000 (09:00 +0200)]
Add --stl=<name> option to make-standalone-toolchain.sh

This modifies make-standalone-toolchain.sh to support --stl=stlport,
which allows one to build a standalone NDK toolchain that uses STLport
instead of the GNU libstdc++ library.

This allows building the ASan runtime for Android using the Chromium
NDK checkout directly.

Tested on Linux by invoking:

  build/tools/make-standalone-toolchain.sh \
    --stl=stlport \
    --install-dir=/tmp/ndk-arm-stlport \
    --system=linux-x86_64

This is a back-port of the following AOSP NDK patch:
https://android-review.googlesource.com/#/c/54520/

BUG=NONE

4 weeks agoUpdate ndk to r8e (released March 2013) 87/49387/1
Nilesh Agrawal [Fri, 26 Apr 2013 22:47:37 +0000 (15:47 -0700)]
Update ndk to r8e (released March 2013)

The release also contains a 64-bit host toolchain set.
The only manual change is to add android_tools_ndk.gyp.

5 weeks agoCreate android_tools.gyp:uiautomator_jar target. 14/48414/1
Frank Farzan [Wed, 17 Apr 2013 21:57:02 +0000 (14:57 -0700)]
Create android_tools.gyp:uiautomator_jar target.

This wraps the uiautomator.jar in SDK.

BUG=226509

8 weeks agoStart using java_prebuilt.gypi for android_tools.
Tommy Nyquist [Thu, 28 Mar 2013 21:02:23 +0000 (14:02 -0700)]
Start using java_prebuilt.gypi for android_tools.

We need to specify the library_dexed_jars_paths after
https://codereview.chromium.org/12913009/ landed. So this makes use of
the new build/java_prebuilt.gypi to help with that and possible future
changes.

BUG=224600

2 months agoUpdate trace-viewer script to r220 29/45329/2
Xianzhu Wang [Wed, 13 Mar 2013 18:58:35 +0000 (11:58 -0700)]
Update trace-viewer script to r220

Updated the generated trace-viewer script for systrace locally to r220
before we have a new SDK version including the required features.

The most important feature to us is the support of categories for
Chrome-Android traces.

2 months agoFix NDK cpufeatures NEON auto-detection. 91/44991/1
David 'Digit' Turner [Sat, 9 Mar 2013 00:08:55 +0000 (01:08 +0100)]
Fix NDK cpufeatures NEON auto-detection.

On some Android platform versions, parsing /proc/self/auxv
isn't possible in regular application processes, so switch
back to parsing /proc/cpuinfo instead.

This is a back-port of https://android-review.googlesource.com/#/c/51271/
For more details, see https://code.google.com/p/android/issues/detail?id=43055

3 months agoTemporary local update of systrace script 56/42456/1
Xianzhu Wang [Fri, 1 Feb 2013 17:15:16 +0000 (09:15 -0800)]
Temporary local update of systrace script

The systrace tool in current released SDK r21 doesn't support the new format
of trace events generated by Chromium-Android. Temporarily update local
systrace script to fix the issue. Hopefully the issue will be fixed in the next
release of Android SDK, and we will remove this patch.

BUG=169592

4 months agoReland ce24ca647c8086cf677b93d0c97c682b9137650b 77/40977/1
Yaron Friedman [Thu, 10 Jan 2013 01:17:40 +0000 (17:17 -0800)]
Reland ce24ca647c8086cf677b93d0c97c682b9137650b

"Update tools, platform-tools and SDK to 17

This fixes some adb issues with newer devices."

5 months agoMerge "Revert "Update tools, platform-tools and SDK to 17"" master-backup
Yaron Friedman [Tue, 11 Dec 2012 19:03:11 +0000 (11:03 -0800)]
Merge "Revert "Update tools, platform-tools and SDK to 17""

5 months agoRevert "Update tools, platform-tools and SDK to 17" 53/39553/1
Yaron Friedman [Tue, 11 Dec 2012 19:01:27 +0000 (11:01 -0800)]
Revert "Update tools, platform-tools and SDK to 17"

This reverts commit ce24ca647c8086cf677b93d0c97c682b9137650b

We're not ready to roll yet to 17 and we need changes to the NDK

5 months agoUpdate NDK cpufeatures library to provide android_setCpu(). 70/39370/2
David 'Digit' Turner [Fri, 7 Dec 2012 08:28:31 +0000 (09:28 +0100)]
Update NDK cpufeatures library to provide android_setCpu().

This updates the sources of the NDK cpufeatures static library to
a more recent version from AOSP, more specifically to commit
5049b437591600fb0d262e4215cee4226e63c6ce from
https://android.googlesource.com/platform/ndk.git

This is required to address crbug.com/164154, i.e. provide a way
to pass the CPU features mask to sandboxed renderer processes.

Original commit message:

    cpu-features: Add android_setCpu()

    This patch adds a new function to the cpu-features library to be able
    to set the CPU properties manually, instead of relying on parsing /proc.

    This is mostly useful on ARM for sandboxed processes in Android 4.1
    and higher, because these don't have permissions to access /proc.

BUG=164154

5 months agoUpdate tools, platform-tools and SDK to 17 26/39426/1
Isaac Levy [Fri, 7 Dec 2012 22:48:39 +0000 (14:48 -0800)]
Update tools, platform-tools and SDK to 17

This fixes some adb issues with newer devices.

6 months agoMove cpu_features.gyp to ndk directory.
Armand Navabi [Thu, 15 Nov 2012 18:51:53 +0000 (10:51 -0800)]
Move cpu_features.gyp to ndk directory.

6 months agoAdd gyp file to build cpu_features static library.
Armand Navabi [Sat, 10 Nov 2012 02:04:35 +0000 (18:04 -0800)]
Add gyp file to build cpu_features static library.

6 months agoRevert "Add arm-eabi-4.6 to ndk toolchains."
Armand Navabi [Sat, 10 Nov 2012 02:01:32 +0000 (18:01 -0800)]
Revert "Add arm-eabi-4.6  to ndk toolchains."

This reverts commit e631e16d4327ce434da0c38e882c6b87858a170e.
The commit was accidentally pushed to the remote master, when trying to push
another local branch to master.

6 months agoAdd arm-eabi-4.6 to ndk toolchains. 58/37758/1
Armand Navabi [Fri, 9 Nov 2012 21:26:39 +0000 (13:26 -0800)]
Add arm-eabi-4.6  to ndk toolchains.

This is needed to get the perf tool working.

BUG=160250

6 months agoAdd gcm library and gyp file for all targets that depend on it. 85/37585/1
Armand Navabi [Wed, 7 Nov 2012 23:43:21 +0000 (15:43 -0800)]
Add gcm library and gyp file for all targets that depend on it.

BUG=158803

8 months agoAdded 64-bit toolchain for x86
michaelbai@chromium.org [Tue, 28 Aug 2012 18:31:04 +0000 (11:31 -0700)]
Added 64-bit toolchain for x86

9 months agoAdd README.chromium for license information regarding Android SDK/NDK.
Armand Navabi [Wed, 15 Aug 2012 02:37:26 +0000 (19:37 -0700)]
Add README.chromium for license information regarding Android SDK/NDK.

9 months agoUpgrade to NDK r8b and 64-bit toolchain
michaelbai@chromium.org [Mon, 13 Aug 2012 21:47:30 +0000 (14:47 -0700)]
Upgrade to NDK r8b and 64-bit toolchain

9 months agoAdd add-ons directory to sdk so ant build does not try to create directory.
Armand Navabi [Thu, 9 Aug 2012 22:52:45 +0000 (15:52 -0700)]
Add add-ons directory to sdk so ant build does not try to create directory.

9 months agoOverwrite linker in NDK r7 with linker in third_party/aosp.
Armand Navabi [Wed, 8 Aug 2012 17:56:46 +0000 (10:56 -0700)]
Overwrite linker in NDK r7 with linker in third_party/aosp.

9 months agoFixed checked in NDK r7 by removing the .gitignore files from the directory.
Armand Navabi [Tue, 7 Aug 2012 20:54:37 +0000 (13:54 -0700)]
Fixed checked in NDK r7 by removing the .gitignore files from the directory.

The .gitignore files was making the checked in version of the ndk fail on
linking because not all the libs were checked into the repo.  This commit has
removed the .gitignore files from the ndk directory.

9 months agoUpdate Android SDK to version with api version 16.
Armand Navabi [Fri, 3 Aug 2012 22:51:53 +0000 (15:51 -0700)]
Update Android SDK to version with api version 16.

9 months agoAdd Android NDK to android_tools with linkers overwritten with 64-bit linker.
Armand Navabi [Fri, 3 Aug 2012 19:27:29 +0000 (12:27 -0700)]
Add Android NDK to android_tools with linkers overwritten with 64-bit linker.

Push Android NDK r7 to android_tools repo.  The linkers have been overwritten
with the 64-bit linker is in $ROOT/src/third_party/aosp/.

9 months agoInitial Android SDK and tools (r20, api version 15).
Armand Navabi [Thu, 26 Jul 2012 20:26:32 +0000 (13:26 -0700)]
Initial Android SDK and tools (r20, api version 15).