Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
dgn 6836b55ab8 Enable downloading Google Play services via deps hook
Call build/android/play_services/update.py from DEPS and
remove now unused scripts.

BUG=541727

Review URL: https://codereview.chromium.org/1418573010

Cr-Original-Commit-Position: refs/heads/master@{#358326}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ebe5d99c6d713d6f1be12e9a0f4a678e31be9aa0
2015-11-06 15:29:45 +00:00
navabi 13bdf65941 Revert of Add apktool and apktool.jar to install-build-deps-android.sh (patchset #4 id:60001 of https://codereview.chromium.org/1287133002/ )
Reason for revert:
Chromium devs don't have gsutil or gsutil credentials. install-build-deps-android.sh should be usable by public chromium developers.

Also, apktool has since been checked into the chromium checkout, so we no longer even need this.

Original issue's description:
> Add apktool and apktool.jar to install-build-deps-android.sh
>
> BUG=452927
> TBR=cjhopman@chromium.org
>
> Committed: https://crrev.com/28978226297bc33a6ca73efb1a82271888a5a8fb
> Cr-Commit-Position: refs/heads/master@{#343269}

TBR=dba@chromium.org,friedman@chromium.org,luqui@chromium.org,cjhopman@chromium.org,johnw@google.com,pschmidt@google.com,hinoka@chromium.org,kerz@chromium.org,hinoka@google.com,navabi@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=452927

Review URL: https://codereview.chromium.org/1308953006

Cr-Original-Commit-Position: refs/heads/master@{#346478}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b1df3cb9b1af7ed831d8d4b28cf388b4c9421c50
2015-08-31 21:45:59 +00:00
navabi 0a49b989db Add apktool and apktool.jar to install-build-deps-android.sh
BUG=452927
TBR=cjhopman@chromium.org

Review URL: https://codereview.chromium.org/1287133002

Cr-Original-Commit-Position: refs/heads/master@{#343269}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 28978226297bc33a6ca73efb1a82271888a5a8fb
2015-08-13 20:42:51 +00:00
lisandrop fac17bfdee Split installation of system packages and user SDKs.
This avoids mixing install roles plus simplifies building Chromium on
continuous build systems, where root access is not usually available
nor desired.

BUG=

Review URL: https://codereview.chromium.org/916473002

Cr-Original-Commit-Position: refs/heads/master@{#315648}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aeae0b7ce6581e60198858e4c79709e2f2d1ee86
2015-02-10 21:40:06 +00:00
pauljensen 8273fba65a Fix install-build-deps-android.sh launching of get_sdk_extras_packages.py
This is a two part fix:
1. Fix get_sdk_extras_packages.py to correctly identify its own location.
2. Fix install-build-deps-android.sh to launch get_sdk_extras_packages.py
   when the current-working-directory isn't the location of the script.
This fixes the script when run in the way recommended by
https://code.google.com/p/chromium/wiki/AndroidBuildInstructions

Review URL: https://codereview.chromium.org/869633003

Cr-Original-Commit-Position: refs/heads/master@{#314140}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc5297cfe2d5cbf1d61aa942308f5fb93adf3e89
2015-02-02 13:54:27 +00:00
navabi 04e5ea7a0e Use absolute path instead of relative path in install-build-deps-android.sh.
BUG=350151

Review URL: https://codereview.chromium.org/820173006

Cr-Original-Commit-Position: refs/heads/master@{#312299}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 654f395d614d7fac021d2009a02f9a6d42ce0f09
2015-01-20 23:44:04 +00:00
navabi 3570848f79 Install sdk extras packages using android to prompt for ToS.
BUG=350151

Review URL: https://codereview.chromium.org/838733002

Cr-Original-Commit-Position: refs/heads/master@{#310837}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc789e8e3697aa4875fb459f4878fcb9f66d09d8
2015-01-09 20:08:07 +00:00
johnme a522971031 Fix g++-multilib conflict between install-build-deps scripts
Currently install-build-deps-android.sh installs g++-multilib which
conflicts with packages installed by install-build-deps.sh (since
gcc-multilib contains a /usr/include/asm symlink and the crosscompiler
packagers don't want you to accidentally include the wrong
architecture's asm headers).

The g++-multilib package was wrongly commented as being required for
Android SDK; it turns out these requirements have changed, so I
updated the libraries required for the Android SDK based on their docs.

g++-4.8-multilib is however still (likely) needed, alongside
linux-libc-dev:i386, for compiling the V8 snapshot. So I've
consolidated those deps, and the logic for selecting them, under the
--lib32 flag of install-build-deps (to avoid duplicating the code in
both). I updated the `if (trusty) install g++-4.8-multilib` logic so
it chooses the right version of the multilib automatically, rather
than hardcoding the version needed for trusty (which will break in
utopic or beyond).

Finally I removed the `sudo apt-get update` in
install-build-deps-android which is redundant now that we call
install-build-deps which already does that. And I added `sudo dpkg
--add-architecture i386` which seems to have been missing from these
scripts.

BUG=435056

Review URL: https://codereview.chromium.org/740963002

Cr-Original-Commit-Position: refs/heads/master@{#305991}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 49bb458a54a0e959f91ef612c79fad89e7d65c91
2014-11-27 15:45:59 +00:00
vivek.vg 53e8752425 Pass on the args to install-build-deps.sh during android deps install.
While installing on non-ubuntu systems, the shell script,
build/install-build-deps.sh has an option '--unsupported' to override
the system checks. The same is not applied while installing the android
deps. The parameters to install-build-deps-android.sh should be passed
on to install-build-deps.sh.

R=thakis@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/578503002

Cr-Original-Commit-Position: refs/heads/master@{#295088}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7e300f8e14c22e315eb1af28e9fe57c4ebcb13ef
2014-09-16 17:09:29 +00:00
erikcorry@chromium.org badcb8f032 Fix install-build-deps-android for Trusty
BUG=

Review URL: https://codereview.chromium.org/463353004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290646 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-19 20:10:06 +00:00
aurimas@google.com fb0e7ebc4f Add and start using Checkstyle 5.7
Start including Checkstyle 5.7 binary to use for Java style presubmit
checks.

BUG=318404
NOTRY=true
R=brettw@chromium.org, yfriedman@chromium.org

Review URL: https://codereview.chromium.org/451313002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289117 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-12 23:40:57 +00:00
pschmidt@google.com 4d944d4bdc Fix up installation of ant package
R=friedman@google.com, navabi@google.com

Review URL: https://codereview.chromium.org/302553010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273085 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 00:20:26 +00:00
navabi@google.com 837b5cf9a4 Change install deps android to always install OpenJDK 7.
L bots need OpenJDK 7 and OpenJDK 7 works when building with older SDK's.
Also, this removes the awkward way we had to install Oracle's JDK.

BUG=353155

Review URL: https://codereview.chromium.org/294093006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272456 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 09:42:37 +00:00
primiano@chromium.org 4fee05f2ba Call install-build-deps.sh from install-build-deps-android.sh
install-build-deps-android.sh relies on the assumption that
install-build-deps.sh has been previously invoked. At this point,
is makes sense for the Android script itself invoking its parent
dependency. 
See chromium-dev discussion: http://goo.gl/dKDX3R

BUG=
NOTRY=true

Review URL: https://codereview.chromium.org/222183002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261535 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-03 21:40:19 +00:00
newt@chromium.org 02ad65b2bc Revert of https://codereview.chromium.org/106173002/
Reason for revert: this introduced a package dependency bug where ia32-libs cannot be installed on ubuntu precise systems

TBR=kkimlabs@chromium.org,cjhopman@chromium.org,pschmidt@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=290225

Review URL: https://codereview.chromium.org/126543004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@243437 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-08 00:05:19 +00:00
newt@chromium.org 0aab148f04 Mirror images for RTL languages at build time.
This adds a build step to generate mirrored images for use in
right-to-left (RTL) languages. Images are mirrored by flipping the
original image over the vertical axis. Every image must be explicitly
listed as mirrorable or non-mirrorable in a config file.

The goal: ensure that our RTL image assets are always up-to-date.

BUG=290225
NOTRY=true

Review URL: https://codereview.chromium.org/106173002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@243332 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-07 18:02:29 +00:00
aurimas@chromium.org c36583aece Add checkstyle dependency to install-build-deps-android.sh
Add checkstyle to deps to unblock adding java checkstyle presubmit step.

BUG=320711
NOTRY=true

Review URL: https://codereview.chromium.org/80383008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@236781 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-22 16:51:37 +00:00
ch.dumez@sisa.samsung.com 4826cc5cee install-build-deps-android.sh complains about missing ant-1.8
install-build-deps-android.sh complains about missing ant-1.8 on Ubuntu
13.04. The package is simply called "ant" since Ubuntu 12.04. The script
is checking for Ubuntu 12.x but fails to identify 13.x. This patch fixes
the script so that "ant" package is installed on Ubuntu >= 12.x, instead
of "ant-1.8".

Review URL: https://chromiumcodereview.appspot.com/23426002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220169 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-29 03:09:45 +00:00
sivachandra@chromium.org 1476e74991 [Android] Install required 32-bit libs via install-build-deps-android.sh.
BUG=178363
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/22623006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216821 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-10 07:29:09 +00:00
yfriedman@chromium.org d2893ebb57 [Android] Also install lighttpd.
It used to be manually listed in the new engineer setup guide. Removing
it from there and adding here.

NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/11777031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-10 01:07:21 +00:00
gregsimon@chromium.org 8aa855237f Fix android build deps to work on ubuntu 12.04+
BUG=


Review URL: https://chromiumcodereview.appspot.com/10963014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@158902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-26 21:47:07 +00:00
ilevy@chromium.org 32e0a148c7 Add xvfb dep since we use it in run_tests.sh
- and minor cleanup to script

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10660003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 23:58:58 +00:00
peter@chromium.org dab9264801 Require Apache Ant 1.8 for Android builds
The Android build system required version 1.8 or later, whereas the default
version installed by apt-get is 1.7.1. Explicitly include the version number.

BUG=
TEST=Running "ant -v" should output the correct version.


Review URL: http://codereview.chromium.org/9837108

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129691 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-29 21:17:28 +00:00
rsleevi@chromium.org 962d5c4564 Revert 128679 - Speculative revert. xcodebuilders hosed between r128678 - 128680 in GYP phse, this is the only change that touched GYP files.
apk-based test runner work.  Not enabled yet.  This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.


BUG=None
TEST=


Review URL: http://codereview.chromium.org/9834037

TBR=jrg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9852004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 04:44:41 +00:00
jrg@chromium.org d168ae37cd apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.
BUG=None
TEST=


Review URL: http://codereview.chromium.org/9834037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 03:57:36 +00:00
navabi@google.com f667983f02 Modify install script for java/ant based on trying on first upstream bot.
Upstream bots had errors installing from debian packages.  I changed to download
and install the same packages with sudo apt-get.  Tested locally and on the
upstream bot, and it seems to work.  Need to test on "fresh" bot with no java
or ant already installed.

BUG=http://code.google.com/p/chromium/issues/detail?id=117023

TEST=


Review URL: http://codereview.chromium.org/9655010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126604 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 07:23:30 +00:00
navabi@google.com 4973b55eb9 Add install script for ant/java for Android and rename sdk install script.
As we upstream Java source code, the upstream bots and developers need to hava
java and ant.  Ant is used to build the java source code.  Installing ant/java
requires sudo privileges which installation of sdk/ndk does not require.  The
patch moves the install script for sdk/ndk to install-build-deps-android-sdk.sh.
The new install script for ant/java is called install-ubild-deps-android.sh and
will prompt the user for sudo password.

BUG=http://code.google.com/p/chromium/issues/detail?id=117023
TEST=


Review URL: http://codereview.chromium.org/9605020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 02:22:18 +00:00
jrg@chromium.org 8dc4c35c48 Android build: 64-bit linker issues.
Fix install-build-deps-android.sh so it can be re-run cheaply.
Update install-build-deps-android.sh so it installs the 64-bit linker.
Run install-build-deps-android.sh each build on the FYI bot.
Move content_unittests to experimental so the FYI builder hits it.

BUG=None
TEST=


Review URL: http://codereview.chromium.org/9401029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122665 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-18 01:58:43 +00:00
michaelbai@chromium.org 88ccdfa785 Install Android SDK4.0
Install Android SDK 4.0 r16.

The Android SDK directory should be set to android-sdk-linux afterwards

BUG=
TEST=all available tests passed


Review URL: http://codereview.chromium.org/8963008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115170 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-20 20:11:37 +00:00
michaelbai@chromium.org acd5a1a143 Install Android NDK r7
BUG=
TEST=


Review URL: http://codereview.chromium.org/8568012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@110224 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-16 00:52:28 +00:00
jrg@chromium.org 3b10ae4994 Update android install build deps for virgin run.
BUG=
TEST=


Review URL: http://codereview.chromium.org/8438010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@108194 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-01 23:25:47 +00:00
michaelbai@google.com 38090d7233 Upstream: The script to install Android SDK, NDK.
BUG=
TEST=

Review URL: http://codereview.chromium.org/8144012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104325 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-06 18:19:30 +00:00