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

3594 Коммитов

Автор SHA1 Сообщение Дата
aruslan@chromium.org 639e7bec59 Enable autofill dialog codepath on Android.
Note that it will crash on Android if the user initiates an autocomplete
action on a rAc-enabled web-page.
There is a subseqent CL that sets up an empty shell to avoid crashes.

BUG=177508


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 03:37:22 +00:00
nileshagrawal@chromium.org 5e581febac Android: Add test runner scripts to run content_browsertests.
We want to run only one testcase each time the test activity is invoked.

Next:
Currently the APK is reinstalled before runnning each test case, avoiding that (and other test data setup) will speed up tests a lot.

build/android/run_browser_tests.py  -vvv -f SessionHistoryTest.BasicBackForward:SessionHistoryTest.FrameBackForward
BUG=138275

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183982 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 02:26:14 +00:00
mostynb@opera.com a99a7a7297 pkg-config-wrapper shouldn't clobber PKG_CONFIG_PATH if it is already set
This allows cross-compilation using sysroots with pkgconfig directories in
non-standard locations.

Add Opera Software to the AUTHORS file


BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183957 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 01:16:40 +00:00
tedchoc@chromium.org 7a45e488db Add gyp flag to specify whether we should optimize JNI generation.
Do not regenerate JNI files (and subsequently the .so file) if they have
not changed.  This will happen if you edit a java file that has a native
counterpart, but the native signatures were not touched.

We do not enable this all the time as some build systems require that
when you modify an input, the output should also be modified.  This
also will result in more command line output, so we'll keep it behind
a developer flag for now.

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 00:37:33 +00:00
bengr@chromium.org 512bf4bd5c Support spdy proxy origin settings via gyp.
BUG=176057,175895


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183832 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 17:52:29 +00:00
shashishekhar@chromium.org d63f62a841 Fix Android x86 release official build.
Android toolchain linker does not support --no-keep-files-mapped flag.
Add a gyp condition to disable this flag for Android.

BUG=177400


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183828 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 17:20:15 +00:00
craigdh@chromium.org cb9af5bbd1 [Android] fix the pylib/base/shard.py unittest.
The unittest was broken by a naming nit fix.

BUG=None
TEST=pylib/base/shard_unittest.py

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 16:02:11 +00:00
ilevy@chromium.org ee24c55821 Android buildbot - halt build if subcommand returns error
bb_run_bot is currently ORing the return codes of each
subcommand but not early terminating.  That means that if
a command returns an error, it does not explicitly mark
that step as failing. The quickest fix is to early terminate,
which is correct for the current usage of bb_run_bot, where
subcommands do not return non-zero status except on
serious error.

Example problematic build:
http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/1479
Review URL: https://codereview.chromium.org/12324007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183776 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 09:45:40 +00:00
ilevy@chromium.org 393a57f69f Whitespace CL (no code changes)
Whitespace change to kick off builds.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@183766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 07:35:47 +00:00
ilevy@chromium.org 1693204365 Fix minor issue with build/android/envsetup.sh
Bash variable was not properly quoted.  Won't affect bots.

R=Yaron
TEST="GYP_GENERATORS="a = b" . build/android/envsetup.sh
     does not return error.
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 02:35:02 +00:00
ilevy@chromium.org 1b66d85ae5 Switch all remaining android builders to ninja
Remove make build logic and switch all bots to use ninja.
Many bots already use ninja to build, including
Android Builder (dbg) on main waterfall.

Also fix issue introduced in r154587 where experimental
compile did not use goma.

BUG=157947
R=Yaron

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183712 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 01:53:31 +00:00
benrg@chromium.org 6707413d75 Pass the chromeos build variable to isolate.py in _run targets, and update browser_tests.isolate to test it.
This doesn't change the conditional contents of browser_tests.isolate
on any platform. All tests formerly under OS=="linux" are now under
OS=="linux" and (chromeos==0 or chromeos==1).


BUG=158329
TEST=build _run targets, look for new variable in .isolated.state


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183668 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-21 00:14:40 +00:00
cjhopman@chromium.org ba119ddda2 Use _target_name instead of package_name for java*.gypi
We were using package_name as a unique name for naming output files and
directories. package_name was typically the same as _target_name or a
variation of it (like dropping _apk). Using _target_name instead means
we need to specify one less thing and it is (maybe?) guaranteed to be
unique.

TBR=brettw,joi,jar,fischman,zea,sky
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183639 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 22:39:17 +00:00
craigdh@chromium.org 391a7ac55a [Android] Re-write the gtest TestRunner.
Introduces a new generic sharder and removes the gtest TestSharder. Other test types to follow.

BUG=167334,176041,176325
TEST=run_tests.py

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183635 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 22:33:34 +00:00
cjhopman@chromium.org f3291312cc Move ant call from python to gyp
All of our APKs should be built with build/java_apk.gypi. Currently,
native test APKs are built very differently. This change makes them
build more like other apks, as a first step to using java_apk.gypi.

Since WebKit's gyp files use generate_native_test.py directly, 
rather than including apk_test.gypi, generate_native_test.py 
needs to continue to support using it for ant compilation. :(

BUG=177121


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 20:54:28 +00:00
miguelg@chromium.org 359d57ffb2 Enable CLD for Android and register the translate manager on the renderer
BUG=149349


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183513 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 13:54:12 +00:00
aberent@chromium.org 8300ed8050 Use 'pm clear' to clear application state.
This is the Android supported way, and avoids needing root privileges

Note, however, that we have to check that the package exists before calling pm clear, since pm clear on a package that
doesn't exist may never return.

See also the discussion on https://codereview.chromium.org/12094041/

BUG=169011


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183503 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 13:26:27 +00:00
jschuh@chromium.org 577bedfcca Disable memory_watcher on Win64 build
This uses inline assembler, which isn't suppported on 64-bit msvc.
So, disabling it for now.

BUG=176877,166496
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/12317006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183470 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 11:16:22 +00:00
phajdan.jr@chromium.org a013757a87 Linux: add a tool and code to make use_system_ffmpeg option more compatible
This introduces a compile-time detection of ffmpeg configuration
(which codecs are available).

See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/fm5Oe_AC3Sc/qkbmC7txaSkJ
for more context.

No functional change for Google Chrome.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183463 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 10:35:01 +00:00
mmenke@chromium.org 67748ebb2f Re-enable some network tests that have been disabled for
over a year due to failures with Chrome Frame.  Keep them
disabled for Chrome Frame tests.

Also disable two of them on Android.

BUG=102991
Review URL: https://codereview.chromium.org/12042058

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-20 02:01:26 +00:00
ilevy@chromium.org fbf9a5a8b7 Whitespace CL (no code changes)
Whitespace CL to kick off builds.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-19 05:26:50 +00:00
tfarina@chromium.org b5ab497204 build: Remove deprecated 'library' variable from common.gypi.
Looks like all the third_party usages were fixed.

BUG=111541
R=thakis@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183142 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-18 22:21:17 +00:00
ilevy@chromium.org 2adc5800cb Fix android envsetup permission issue.
CQ automatically adds +x to any file which ends with .sh
Since envsetup.sh doesn't have a shabang line, this has
causes several tree closures.  Fix this by adding a shabang
and detecting when script is not being sourced.

TBR=yfriedman
Review URL: https://codereview.chromium.org/12282018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182968 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-16 11:33:11 +00:00
craigdh@chromium.org 589234a4d3 [Android] Split out the instrumentation test runner, sharder, and dispatcher.
Mostly just moves codes around.

BUG=168889
TEST=run_instrumentation_tests.py
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-16 02:07:53 +00:00
siggi@chromium.org 5c4cf6978c Add default import libraries to common GYP config in preparation for GYP changes that remove default library configuration.
R=scottmg@chromium.org
BUG=176040


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182699 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-15 13:48:40 +00:00
jschuh@chromium.org 55e54df1f2 Exclude win64 cross-compile dependencies from normal win64 build
BUG=166496
R=scottmg@chromium.org
TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182653 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-15 09:22:13 +00:00
isherman@chromium.org fdde1443ee Revert 182241
This seems to have broken the Mac ASAN LKGR builders.  For example:
http://build.chromium.org/p/chromium.lkgr/builders/Mac%20ASAN%20Release/builds/1188/steps/compile/logs/stdio

> Roll Clang r170392:r174491.
> 
> BUG=174873, 170629
> 
> Review URL: https://codereview.chromium.org/12220089

TBR=hans@chromium.org
Review URL: https://codereview.chromium.org/12256052

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-15 02:31:54 +00:00
szager@chromium.org f1842890f0 File file permissions.
TBR=isherman@chromium.og

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 22:51:50 +00:00
szager@chromium.org 318d1bfe99 Add pre-commit hook to disallow submodule changes.
TBR=cmp@chromium.org,iannucci@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182555 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 22:13:42 +00:00
aurimas@chromium.org a01e4fddd8 Adding missing UpdateTextInputState calls after each ime event.
Adding the missing UpdateTextInputState calls after each ime event and
preventing updates midway through ime event.

Added missing calls will start sending UpdateSelection updates to the
IMEs.

i.e. confirmComposition can cause multiple didChangeSelection calls but
we only care about the last one.

BUG=172845
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 21:00:50 +00:00
bsalomon@google.com dba34dc8be android: Check whether JAVA_HOME is set incorrectly in envsetup.sh
Review URL: https://codereview.chromium.org/12252042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 20:11:12 +00:00
frankf@chromium.org 863e8a8f6d [Android] Add a dummy host-driven test for ChromiumTestShell.
Currently, we have no host-driven tests upstream. This dummy
test verifies the functionality of the framework.

NOTRY=True
BUG=168255

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182512 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 19:29:17 +00:00
bulach@chromium.org e0f6bfaead Android: further "user build" perf test automation.
Follow up from r182261.
|su| on some devices return '', others some combination of line-ending, and some nothing at all.

BUG=175127


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 16:49:57 +00:00
ilevy@chromium.org f8a2da0782 Change Android retry logic - always retry 3 times.
Android retry logic currently changes based on number of
devices.  This means that test runs are more flaky when only
one device is attached.  Change this to always retry 3 times.

BUG=175653
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182420 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-14 08:25:12 +00:00
ppi@chromium.org 7c23b4f433 Return specific cert verification errors on Android
To implement CertVerifyProc on Android we refer to the Java 
side to query the platform trust managers. Currently the 
information we get from the platform is binary - each 
certificate chain is either identified as trusted or not, in 
which case we assume that this is due to not-trusted root.

This patch provides better granularity distinguishing the 
following cases: expired, not yet valid, incorrect (could not 
be parsed), not trusted root.

This allowed to reenable two net unittests:
- CertVerifyProcTest.ExtraneousMD5RootCert
- CertVerifyProcTest.IntermediateCARequireExplicitPolicy

The following net unittest had to be disabled as it joins 
the club of CertVerifyProc tests failing on bots with 
incorrect time/date settings:
- CertVerifyProcTest.InvalidKeyUsage

BUG=169762

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182280 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-13 19:13:49 +00:00
bulach@chromium.org b9d5f9dc17 Android: further "user build" perf test automation.
Use "cat /dev/null" rather than "echo".
"echo" is not guaranteed to be in the path or the system image.
"cat" seems available on the images used by the bots.

BUG=175127


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182261 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-13 18:29:26 +00:00
hans@chromium.org 5e12eebaa3 Roll Clang r170392:r174491.
BUG=174873, 170629

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-13 16:35:23 +00:00
skyostil@chromium.org e60abb3091 [Android] Fix Android port forwarder command line tool
The port forwarder command line tool was broken as
https://chromiumcodereview.appspot.com/12211070 made Forwarder require a
valid valgrind tool instance to be passed in. Fix the problem by
giving Forwarder a default tool.

NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182239 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-13 16:27:11 +00:00
hans@chromium.org 44d73a7b8f Revert "Roll Clang r170392:r174491."
It turns out that r181918, which pinned the Clang revision on Mac ASan
bots worked a little too well, pinning the version on *all* Mac bots.

This reverts the Clang roll. We will then fix update.sh to get the Mac
ASan pinning correct, and then re-land the roll.

BUG=174873, 170629

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182173 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-13 09:30:02 +00:00
bulach@chromium.org 32e0c851a7 Android: further "user build" perf test automation.
Use "GetProtectedFileContents" for obtaining memory usage and fetch perf test data from instrumentation tests.

BUG=175127


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182028 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 22:00:14 +00:00
hans@chromium.org 3874b4bdfc Roll Clang r170392:r174491.
BUG=174873, 170629


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 21:40:04 +00:00
thestig@chromium.org 0e879384e0 Fix check_perms error from r182010.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@182022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 21:34:09 +00:00
frankf@chromium.org 2f3ba8ccf4 [Android] Better handle gtest crashes that generate pexpect.EOF.
BUG=175538

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182021 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 21:33:16 +00:00
thestig@chromium.org cefb78e9cd Android: Check for Oracle Java when running build/android/envsetup.sh.
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 21:12:56 +00:00
chrisha@chromium.org a99fddb449 Disable RTC in coverage builds.
Syzygy is unable to instrument some of the Chrome tests (browser_tests and unit_tests) due to interactions with RTC. Disable them so that we can collect full coverage stats.

BUG=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@182004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 21:02:29 +00:00
bulach@chromium.org 37a91b3535 Android Telemetry: automates devices running "user" build.
Rather than requiring manual intervention, we can use Get/SetProtectedFileContents.

TEST=tools/telemetry/run_tests --browser=android-chrome TabConsoleTest
BUG=175127


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@181943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 17:26:36 +00:00
MHX348@motorola.com 35e2679e15 generated_api.h should have its body generated into generated_api.cc
BUG=172050


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@181848 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 04:45:41 +00:00
apatrick@chromium.org ff6890184f Windows: Remove dependency on D3DX10d_43.dll.
We aren't using it for anything.
Review URL: https://codereview.chromium.org/12225063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@181799 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-12 01:05:54 +00:00
glider@chromium.org ecf166db7e Do not strip ASan builds.
As of Clang r174490 instrumented binaries do not include the __asan_* symbols,
so the postbuild strip action fails.

This is a temporary measure, we may need to do something else (e.g. use different .saves files) when the dynamic runtime is adopted on OSX.

BUG=170629,174873
Review URL: https://codereview.chromium.org/12210114

git-svn-id: http://src.chromium.org/svn/trunk/src/build@181733 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-11 19:25:09 +00:00
mnaganov@chromium.org ea7ad1053e [Android WebView] Make 3rd party licenses checker to turn bot red
We have substantially improved the licenses checker to avoid
false positives in finding copyrighted code in non-third_party dirs.

Also, this change makes the presence of stale entries in the
whitelist file to be a warning, not an error.

BUG=161461
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@181679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-11 12:10:32 +00:00