gkanwar@chromium.org
2ca47b2d70
[Android] Buildbot changes for EMMA code coverage
...
One piece of the overall java code coverage change.
See: https://codereview.chromium.org/20210002/
NOTRY=True
BUG=255644
Review URL: https://chromiumcodereview.appspot.com/23345003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@219083 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 19:56:33 +00:00
craigdh@chromium.org
64778e480a
[chromedriver] Run tests on stable and beta channel chrome.
...
BUG=274681
TEST=Ran locally
Review URL: https://chromiumcodereview.appspot.com/23125011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@219079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 19:46:02 +00:00
gkanwar@chromium.org
3f1a145ca7
[Android] Adds CleanupReferenceTest to findbugs_exclude.xml
...
NOTRY=True
BUG=277682
Review URL: https://chromiumcodereview.appspot.com/22929035
git-svn-id: http://src.chromium.org/svn/trunk/src/build@219062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 19:09:00 +00:00
gkanwar@chromium.org
cd5b01d5a4
Removes support for old host-driven Feature annotation
...
NOTRY=True
BUG=176323
Review URL: https://chromiumcodereview.appspot.com/22891019
git-svn-id: http://src.chromium.org/svn/trunk/src/build@219048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 17:43:11 +00:00
kjellander@chromium.org
6453abeaed
Support WebRTC in Android build toolchain
...
It turns out the changes in
https://codereview.chromium.org/17466002/ was not enough.
WebRTC needs two GYP_DEFINE variables to be passed to
the runhooks step in order to generate the right GYP
projects: include_tests=1 enable_tracing=1
We also need to use another build target than the default (All)
to compile only our tests.
This makes it possible to build the right APKs for
the Android Builder in the client.webrtc waterfall in:
https://codereview.chromium.org/17390019/
TEST=local builds
BUG=webrtc:1882
Review URL: https://chromiumcodereview.appspot.com/23140007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@219016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 14:22:22 +00:00
paul.lind@imgtec.com
dc74d1faac
[MIPS] Default the Android build to mips32r1.
...
Intent is to allow a single Android build (apk) to support all MIPS
compatible devices, such as Broadcom, by using a common architecture
variant.
Linux builds are typically customized per-device, and will still
default to mips32r2.
BUG=
Review URL: https://chromiumcodereview.appspot.com/23037008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218942 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 08:04:54 +00:00
gkanwar@chromium.org
952d5c5a00
Makes GYP changes for EMMA coverage
...
One piece of the overall java coverage change.
See: https://codereview.chromium.org/20210002/
NOTRY=True
BUG=255644
Review URL: https://chromiumcodereview.appspot.com/22870021
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218870 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 00:08:31 +00:00
sivachandra@chromium.org
1cc95669de
[Android Buildbot] Do not emit BUILD_STEP annotations for perf bisect.
...
The perf bisect scripts emit their own annotations and we do not want to emit annotations outside of them and enter into an inconsistent state.
BUG=266324
TBR=ilevy
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/23383004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 21:36:25 +00:00
anton@chromium.org
c119820b94
Set GOMA_COMPILER_PROXY_THREADS to a reasonable value
...
BUG=
Review URL: https://chromiumcodereview.appspot.com/22976005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 19:47:19 +00:00
tedchoc@chromium.org
637e7a9fa7
Fix android UI Automator python script because of new param added.
...
Broken in:
https://chromiumcodereview.appspot.com/23293006
R=frankf, gkanwar1
BUG=
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23383002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218782 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 18:13:19 +00:00
gkanwar@chromium.org
ab2ef8ee4d
[Android] Removes _RunJavaTests
...
Host-driven tests should use _RunJavaTestFilters instead now.
NOTRY=True
BUG=268683
Review URL: https://chromiumcodereview.appspot.com/22929017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 16:26:03 +00:00
gkanwar@chromium.org
7dc67741fe
[Android] Adds python option for EMMA coverage
...
This is a piece of the overall java coverage change.
See: https://codereview.chromium.org/20210002/
NOTRY=True
BUG=255644
Review URL: https://chromiumcodereview.appspot.com/23293006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 19:11:30 +00:00
gkanwar@chromium.org
eb97f3ba55
Changes _RunJavaTests to accept filters
...
This eliminates the need to specify package name and bring it
more in line with normal instrumentation tests.
NOTRY=True
BUG=268683
Review URL: https://chromiumcodereview.appspot.com/23295006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218530 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 19:04:19 +00:00
dpranke@chromium.org
cf3268efe0
Make failing webkit_tests fail android build.
...
Now that r156332 has landed in theory, the webkit_tests step should pass
(since we're only running one test), and we should start trying to figure
out how reliable the bots actually are.
This change flips the bot config so that a failing webkit_tests step will
cause the build to be red. If this turns out to be premature, I'll revert
this change, but we should start gathering real data on what does and doesn't
work now.
R=ilevy@chromium.org , mbulach@chromium.org
BUG=232044
Review URL: https://chromiumcodereview.appspot.com/23242008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218489 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 14:36:59 +00:00
frankf@chromium.org
8edcdfe27d
[Android] Move getting the list of devices out of test_dispatcher.
...
BUG=272486
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/23205011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218483 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 14:24:57 +00:00
gkanwar@chromium.org
a22eee0bae
Fixes host-driven Feature annotation
...
NOTRY=True
BUG=176323
Review URL: https://chromiumcodereview.appspot.com/23295007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218453 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 11:53:33 +00:00
feng@chromium.org
448b146a13
Allow android pass flags to am start activity
...
Flags are useful to control how an activity is started. By default,
a new activity is created on the stack, but other flags can be
used to bring existing activity to the foreground instead of
creating a new one.
BUG=246689
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/23300003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218344 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-19 22:31:41 +00:00
bulach@chromium.org
78943e5aa3
Android: run perf test runner with -v and print the command line.
...
Tiny change to get more information from the bots.
BUG=268450
Review URL: https://chromiumcodereview.appspot.com/22904005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218266 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-19 11:06:09 +00:00
frankf@chromium.org
0a13fa7f52
[Android] Return error exit code if no devices are attached.
...
BUG=274819
R=craigdh@chromium.org
Review URL: https://codereview.chromium.org/22865020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218120 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 23:52:44 +00:00
bulach@chromium.org
0f2dbb0d2a
Android: uses BUILDTYPE rather than CHROMIUM_BUILD_TYPE.
...
Buildbot and other platforms use BUILDTYPE.
BUG=260494
Review URL: https://chromiumcodereview.appspot.com/23075007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 20:37:02 +00:00
gkanwar@chromium.org
d1e0248baa
Fixes test runner command line
...
test_runner.py --help would give 'Invalid command.' previously.
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/23294002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218057 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 18:50:11 +00:00
gkanwar@chromium.org
ebaf5f95d7
Removes python_test_root flag name entirely
...
NOTRY=True
BUG=271802
Review URL: https://chromiumcodereview.appspot.com/23180007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 18:07:26 +00:00
gkanwar@chromium.org
197c368c5e
Moves update_verification.py back to build/android
...
See: https://codereview.chromium.org/23106004
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22891004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 17:34:35 +00:00
bulach@chromium.org
37c463ecb4
Android: removes buildtype following crrev.com/217855
...
Fixes perf runners.
BUG=260494
TBR=craigdh@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23285002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@218013 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 14:01:12 +00:00
bulach@chromium.org
c641e3bc8f
Android: uses taskset when starting adb.
...
Workaround for some adb issues.
While at it, print the step name before doing any action.
BUG=268450
Review URL: https://chromiumcodereview.appspot.com/22857005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 07:22:16 +00:00
craigdh@chromium.org
9c2576b64c
[android] Make build_type a singleton.
...
BUG=260494
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/22933005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-15 22:25:28 +00:00
wangxianzhu@chromium.org
7ef6ff9245
Add --continous parameter for adb_profile_chrome
...
If specified, RECORD_CONTINUOUSLY mode will be used for profiling.
BUG=none
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/22806005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-15 17:02:58 +00:00
bulach@chromium.org
5c0f5ff702
Android perf tests: always return 0 on the sharding stage.
...
The first stage ("sharded steps") should never fail.
Individual steps' exit code will be returned on the second stage, print-step.
BUG=268450
TBR=frankf@chromium.org
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/23082003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217794 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-15 15:06:57 +00:00
cjhopman@chromium.org
819b1a6f40
Add support for proguard preprocessing.
...
* Adds support for running proguard on our libraries
before they are added to the final release APK.
* Start using the proguard preprocessing for
third_party/guava.
BUG=272790
NOTRY=true
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23213002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217706 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-15 00:12:07 +00:00
bulach@chromium.org
157740f828
Android: deprecate bb_run_sharded_steps.py
...
Second step into making "perf tests" reuse the functional test infra.
The bots still reference bb_run_sharded_steps.py, so change the implementation
first before deleting this script.
BUG=268450
Review URL: https://chromiumcodereview.appspot.com/23179003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217665 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 22:06:41 +00:00
gkanwar@chromium.org
7b78ca428b
[Android] Removes run_* scripts, moves run_update_verificaiton
...
NOTRY=True
BUG=223650
Review URL: https://chromiumcodereview.appspot.com/23106004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217588 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 18:09:37 +00:00
gkanwar@chromium.org
7d1c122e3b
[Android] Changes python_test_root to host-driven-root
...
NOTRY=True
BUG=271802
Review URL: https://chromiumcodereview.appspot.com/22982007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217587 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 18:09:08 +00:00
bulach@chromium.org
d1de9e64f5
Android: first step into making "perf tests" reuse the functional test infra.
...
Perf tests are currently using build/android/bb_run_sharded_steps.py,
which lacks a lot of functionality to retry on different devices on failure,
plus it adds an entirely separate hierarchy for running tests.
This patch is the first step to deprecate it and reuse the same mechanism
as all other functional tests.
BUG=270165,268450
Review URL: https://chromiumcodereview.appspot.com/22854004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 14:39:47 +00:00
maruel@chromium.org
c5355bc889
Revert r217535 "Move swarm_client to swarming_client."
...
The CL itself is fine but the Try Server didn't gather
"got_swarming_client_revision" build property correctly, causing swarm_triggered
to use an improper swarm_client checkout. r217535 can be reapplied once the TS
is fixed. No other issue was observed.
TBR=vadimsh@chromium.org
BUG=
Review URL: https://codereview.chromium.org/22978003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 13:23:29 +00:00
maruel@chromium.org
3df2d32f80
Move swarm_client to swarming_client.
...
This involves fixing up all the calling side. It now fetched from
a clone of code.google.com/p/swarming.client instead of chrome/trunk/tools/swarm_client.
Always fetch from https://chromium.googlesource.com since it has much higher reliability.
TBR=vadimsh@chromium.org
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/20457002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217535 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 12:54:40 +00:00
frankf@chromium.org
876bf9bb9d
[Android] Stop-gap solution for reducing INJECT_EVENTS flakiness.
...
Crash/ANR dialogs on Android are automatically dismissed after 5
minutes. Run content_browsertests earlier in the test cycle.
BUG=271071
R=craigdh@chromium.org
Review URL: https://codereview.chromium.org/23039006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217358 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-13 22:43:17 +00:00
dmazzoni@google.com
97da98af44
Revert 217286 "Revert 217273 "Android: run dex with the --force-..."
...
This is reverting the revert - it turns out to not be the cause of
the test failure.
> Revert 217273 "Android: run dex with the --force-jumbo switch."
>
> I think it caused Android tests such as this one to fail:
> MinidumpWriterTest.MinidumpSizeLimit
>
> Either way, it was submitted without try jobs. Always run try jobs.
>
> > Android: run dex with the --force-jumbo switch.
> >
> > This is needed to merge dex files collectively containing more than 65536
> > strings. More details at
> > https://code.google.com/p/android/issues/detail?id=40772 and in the bug.
> >
> > BUG=272064
> > R=andrewhayden@chromium.org
> >
> > Review URL: https://codereview.chromium.org/22950006
>
> TBR=ppi@chromium.org
>
> Review URL: https://codereview.chromium.org/23096002
TBR=dmazzoni@chromium.org
Review URL: https://codereview.chromium.org/23072005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-13 18:40:38 +00:00
yfriedman@chromium.org
ffb0df9b0f
[Android] Allow more support for experimentation with SDK.
...
Rolls DEPS for android_tools to include:
ceb64e7 Use android_sdk_root gyp variable for GCM.
And updates envsetup.sh to enable pre-set values for some SDK build
defines.
BUG=261717
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/22873004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-13 17:52:06 +00:00
dmazzoni@chromium.org
597638d2f1
Revert 217273 "Android: run dex with the --force-jumbo switch."
...
I think it caused Android tests such as this one to fail:
MinidumpWriterTest.MinidumpSizeLimit
Either way, it was submitted without try jobs. Always run try jobs.
> Android: run dex with the --force-jumbo switch.
>
> This is needed to merge dex files collectively containing more than 65536
> strings. More details at
> https://code.google.com/p/android/issues/detail?id=40772 and in the bug.
>
> BUG=272064
> R=andrewhayden@chromium.org
>
> Review URL: https://codereview.chromium.org/22950006
TBR=ppi@chromium.org
Review URL: https://codereview.chromium.org/23096002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217286 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-13 17:49:52 +00:00
ppi@chromium.org
10c2681249
Android: run dex with the --force-jumbo switch.
...
This is needed to merge dex files collectively containing more than 65536
strings. More details at
https://code.google.com/p/android/issues/detail?id=40772 and in the bug.
BUG=272064
R=andrewhayden@chromium.org
Review URL: https://codereview.chromium.org/22950006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-13 16:31:10 +00:00
gkanwar@chromium.org
0a63697420
Fixes monkey test timeout
...
Monkey test has its own timeout which varies by the number of events, so pass None for the test_dispatcher timeout.
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22939002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-12 21:09:44 +00:00
frankf@chromium.org
9ca6f5b51f
[Android] Clear gtest app's data on tear down.
...
This also closes the app. If the app crashes in the background,
it might interfere with subsequent instrumentation tests.
BUG=271071
R=craigdh@chromium.org
Review URL: https://codereview.chromium.org/22767002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@217065 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-12 20:44:31 +00:00
bulach@chromium.org
b17bbe9aab
Android: wait for reboot.
...
On some devices, "reboot" is not synchronous, so the Reboot()
call and its internal waits were finishing before the device had even
started rebooting.
BUG=265425
Review URL: https://chromiumcodereview.appspot.com/22587004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216979 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-12 13:12:12 +00:00
kjellander@chromium.org
b452774040
Add WebRTC test configurations for Android testing.
...
BUG=webrtc:1882
TEST=From a recent WebRTC checkout:
source build/android/envsetup.sh
gclient runhooks
ninja -C out/Debug
build/android/run_test.py -s webrtc
I also successful ran builder and tester with the buildbot
configuration in https://codereview.chromium.org/17390019
using a locally patched checkout.
Review URL: https://chromiumcodereview.appspot.com/17466002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-12 05:00:52 +00:00
joth@chromium.org
17e259e520
[Android] Expose showFileChooser in AwContentsClient interface
...
Adapts the WebContentsDelegate::RunFileChooser into a java embedding
callback.
BUG=Internal b/6930981
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/20666003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-10 07:05:47 +00:00
bulach@chromium.org
9c4b3e380b
Android: uses settask to enable CPU affinity for ADB.
...
There are some flakyness in ADB that can potentially be worked around
by using a single CPU affinity.
This is an experiment for sharded perf tests, it'll probably be reverted soon.
BUG=268450
Review URL: https://chromiumcodereview.appspot.com/22680002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 14:32:09 +00:00
iancottrell@chromium.org
fce852ecf5
Add an environment variable override to the default output name
...
Review URL: https://chromiumcodereview.appspot.com/22640007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216627 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 07:13:06 +00:00
navabi@google.com
45bd690053
Some of the build tools have moved in the SDK (e.g. aapt, aidl) from
...
sdk/platform-tools/ to sdk/build-tools/<tools-version>/. The tools version is 18.0.1.
BUG=263966
Review URL: https://chromiumcodereview.appspot.com/21977003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 06:48:18 +00:00
yukishiino@chromium.org
10438ff405
Supports FontList::DeriveFontListWithSizeDeltaAndStyle, etc.
...
This CL improves FontList so the class has useful methods for replacing Font class. Also improves the performance of GetFontStyle() and GetFontSize().
This CL also adds GetAverageCharacterWidth(), GetStringWidth(), and GetExpectedTextWidth(). These methods are supported by Font class, and FontList should implement them for replacing Font.
Just FYI, I'm now working on http://crrev.com/21736002 , and these new methods are used there.
BUG=265485
TEST=Included in the unittests as ui_unittests.
Review URL: https://chromiumcodereview.appspot.com/21868004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 04:06:40 +00:00
bulach@chromium.org
f37cd03eee
Revert "Enables (temporarily) adb trace for sharded perf tests."
...
This reverts crrev.com/216168
BUG=268450
TBR=frankf@chromium.org
Review URL: https://chromiumcodereview.appspot.com/22592002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 01:43:28 +00:00
gkanwar@chromium.org
28fe69e826
Fixes exit code on invalid command to test_runner.py
...
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22495005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216523 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 01:08:52 +00:00
gkanwar@chromium.org
7b625b79ab
[Andriod] Fixes monkey command line
...
Adds example, usage, and changes default activity name to use the
ContentShell activity.
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22456003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-09 00:07:12 +00:00
frankf@chromium.org
851530b32d
[Android] Move content_browsertests to main waterfall/trybots.
...
It's passing consistently on android_fyi_dbg trybots and on FYI waterfall bots running ICS.
BUG=270144
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/22299007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216442 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-08 20:32:40 +00:00
gkanwar@chromium.org
40a653819f
Converts monkey test to its own test type
...
NOTRY=True
BUG=223650, 263479
Review URL: https://chromiumcodereview.appspot.com/22617003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-08 01:08:14 +00:00
gkanwar@chromium.org
967be3def9
Removes unused and deprecated flags in test_runner.py
...
Flags:
* --profiler
* --install_apk (-I)
* --disable_assertions
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22622004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-08 00:59:01 +00:00
craigdh@chromium.org
266cfb727a
[android] Push only updated files in PushIfNeeded when few files have changed.
...
BUG=263857
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21307002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-07 16:45:37 +00:00
bulach@chromium.org
4a8abc7e6f
Android: adds a link to file bugs in device status check.
...
This will simplify both the sheriff side when detecting and filing such bugs
and also the infrastructure side when triaging such bugs.
While at it, remove obsolete link (404).
BUG=
Review URL: https://chromiumcodereview.appspot.com/22455004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-07 13:02:52 +00:00
bulach@chromium.org
bc34c55461
Enables (temporarily) adb trace for sharded perf tests.
...
This may help track down some issues with adb reliability:
- sharder: sets the env var that will be inherited by the child shards.
- run_command.py: redirect stderr (i.e., trace output) to stdout, otherwise
higher up layers get confused with the extra data.
It will be reverted soon after the data has been collected.
BUG=268450
Review URL: https://chromiumcodereview.appspot.com/22430003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-07 12:45:25 +00:00
gkanwar@chromium.org
0c95243f04
Fixes exit code when there are no host-driven tests
...
Undoes the temporary fix in 215986.
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22445005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@216027 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 23:35:34 +00:00
gkanwar@chromium.org
df229b4b98
Temporary fix to make steps with no host-driven tests pass.
...
Currently steps with no host-driven tests are marked as failure because
no tests are found.
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/22267011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 21:31:47 +00:00
gkanwar@chromium.org
db7c9d502b
Converts host driven tests to common test_dispatcher
...
Also renames several files in pylib/host_driven to match the general file
naming scheme.
This change will break existing host-driven tests downstream which are run
though scripts other than test_runner.
NOTRY=True
BUG=176323
Review URL: https://chromiumcodereview.appspot.com/19537004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 19:10:13 +00:00
frankf@chromium.org
ef3db51cba
[Android] Disable some content_browsertests.
...
BUG=
TBR=yfriedman@chromium.org
Review URL: https://codereview.chromium.org/22244003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215668 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-05 20:24:18 +00:00
frankf@chromium.org
cf429e7bdc
[Android] Deprecate old test scripts.
...
Just print the new command and exit. This is in
preparation for completely removing these scripts.
BUG=
R=craigdh@chromium.org
Review URL: https://codereview.chromium.org/21979006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-05 17:34:00 +00:00
craigdh@chromium.org
4266a8d0a7
[android] Clear content_browsertests profile after each run.
...
BUG=262175
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21405003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215392 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 23:09:05 +00:00
navabi@google.com
a95cc35c5e
Put cleanup steps in finally block so cleanup happens after halt on failure.
...
The device_status_check hangs because there are still processes launched by the
buildbot script that are not cleaned up. E.g.
https://chromegw.corp.google.com/i/clank/builders/manta-sharded-official-perf-clankium/builds/2359
This makes sure the post commands are executed after halt on failure.
BUG=265578
Review URL: https://chromiumcodereview.appspot.com/21261006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 21:08:06 +00:00
pliard@chromium.org
51159d82e7
Fix typing error in forwarder.py.
...
This wasn't triggered earlier since this function is not used upstream.
TBR=bulach@chromium.org
BUG=242846
Review URL: https://codereview.chromium.org/21839003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215287 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 14:56:38 +00:00
qsr@chromium.org
311d6a4359
Fix options passing.
...
TBR=gkanwar@chromium.org ,bulach@chromium.org
Review URL: https://codereview.chromium.org/21793002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215263 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 10:01:11 +00:00
sivachandra@chromium.org
3921896242
[Android Buildbot] Make RunCmd execute command in a dir of choice.
...
BUG=249997
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21647002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215176 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 00:57:04 +00:00
yukishiino@chromium.org
0dba55f405
Supports FontList in Textfield.
...
The current interface of Textfield does not support FontList while RenderText supports FontList. This CL supports FontList in Textfield.
The direct cause of crbug.com/263169 was that RenderText always uses the IDS_UI_FONT_FAMILY_CROS font set ignoring what font is specified for Textfield on ChromeOS. (See https://code.google.com/p/chromium/codesearch#chromium/src/ui/views/controls/textfield/native_textfield_views.cc&q=IDS_UI_FONT_FAMILY_CROS&sq=package:chromium&type=cs&l=88 )
The Omnibox font size is carefully calculated, but the font is ignored right now.
This CL changes the following:
- Supports FontList in Textfield so Omnibox layer can specify the font set, such as IDS_UI_FONT_FAMILY_CROS, for the underlying Textfield.
- Makes NativeTextfieldViews follow the specified font set via Textfield on ChromeOS.
BUG=263169,263196
TEST=Test manually.
Review URL: https://chromiumcodereview.appspot.com/19666006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 17:01:50 +00:00
gkanwar@chromium.org
6420b6313f
Changes argument passing to use options objects
...
Options objects are specific to the test type, and are named tuples, so
they are also immutable.
This is a precursor to the host-driven refactor.
BUG=176323
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21008004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215054 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 16:59:22 +00:00
pliard@chromium.org
96a2637a51
Fix call to _ForwardPorts() in test_runner.py.
...
TBR=bulach@chromium.org
BUG=242846
Review URL: https://codereview.chromium.org/21569002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215041 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 15:39:49 +00:00
pliard@chromium.org
5df58990ce
Reland r212020: Move Python setup/tear down logic into Forwarder ...
...
The initial attempt caused flakiness (random deadlocks). It turns out that
testserver.py was inheriting undesirable file descriptors when it was spawned
(including file lock file descriptors). Closing the unnecessary file
descriptors between fork() and exec() solves the problem.
Forwarder used to be a pain to setup/tear down across all the various
harnesses.
This CL should hopefully solve these issues by hiding these
implementation details. The host daemon is now killed once the first time that
the Forwarder class is used and the daemon running on the devices is also
killed the first time a port is forwarded for a specific device.
TBR=bulach@chromium.org
BUG=242846
Review URL: https://codereview.chromium.org/20824008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@215023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 13:45:46 +00:00
craigdh@chromium.org
08bbe7f14d
[android] Fix adb_install_apk.py's printed message.
...
BUG=None
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21133007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@214710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 13:41:20 +00:00
frankf@chromium.org
1e6a6f874f
[Android] Dedup content_browsertests test setup from gtests.
...
- This also changes the command for running content_browsertests
to be in line with other gtest targets
- Additional cleanup: get rid of --exe option and fall back
to using exe if apk is not found
TEST=test_runner.py gtest -s content_browsertests
BUG=261950
R=bulach@chromium.org , craigdh@chromium.org
Review URL: https://codereview.chromium.org/20649002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@214421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-30 20:14:36 +00:00
craigdh@chromium.org
ba897c79d3
[android] Fix for uiautomator tests.
...
BUG=None
TEST=None
NOTRY=True
TBR=frankf@chromium.org
Review URL: https://chromiumcodereview.appspot.com/20887002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@214097 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-28 08:14:07 +00:00
frankf@chromium.org
caef4f9a63
[Android] Temporary fix for Monkey tests
...
Once host-driven tests are refactored this temporary change can be
removed.
BUG=
NOTRY=True
R=frankf@chromium.org
Review URL: https://codereview.chromium.org/20605003
Patch from Gurtej Kanwar <gkanwar@chromium.org>.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213978 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-26 20:31:51 +00:00
craigdh@chromium.org
7fea276a3d
[android] Instumentation tests determine whether to install the test apk based on Md5Sum.
...
This deprecates the -I switch to instrumention tests.
BUG=260084
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19799003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213956 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-26 18:31:20 +00:00
bulach@chromium.org
22ba49ca49
Android: further fixes to bb_device_status_check.py
...
There's no guarantees about the data coming from the device: instead
of expecting them to be there, mark them as Unknown.
BUG=254014
R=tomhudson@google.com
Review URL: https://codereview.chromium.org/20289002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213635 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-25 15:39:25 +00:00
sivachandra@chromium.org
32797d4294
[Android Buildbot] Add option to run only host driven Python tests.
...
BUG=263624
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/20073002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213558 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-25 00:23:56 +00:00
sivachandra@chromium.org
3a46cf7cdf
[Android Buildbot] Make flakiness dashboard server configurable.
...
BUG=263071
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19931004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213475 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 18:41:58 +00:00
bulach@chromium.org
7da69f8485
Android: fixes (again) bb_device_status_check.
...
Following crrev.com/213194, imei can be absent on some devices.
BUG=254014
NOTRY=True
TBR=navabi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19981006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213422 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 13:34:40 +00:00
pdr@chromium.org
a1f4b3f7de
Make adb_profile_chrome work on OSX
...
adb_profile_chrome relies on regular expression matching to pull the
correct trace file from the device. Unfortunatey, OSX ships with
a version of sed from 2005 which doesn't support matching of newline
characters (see
http://www.culmination.org/2008/02/sed-on-mac-os-x-105-leopard/ ). This
patch switches to perl, making adb_profile_chrome work on OSX.
BUG=
Review URL: https://chromiumcodereview.appspot.com/20022002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 11:05:12 +00:00
bulach@chromium.org
9101b93300
Android: fixes bb_device_status_check.
...
Following crrev.com/213194, imei can be absent on some devices.
BUG=254014
NOTRY=True
TBR=tomhudson@google.com
Review URL: https://codereview.chromium.org/20053005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213402 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 11:02:01 +00:00
frankf@chromium.org
b726836a73
[Android] webkit_unit_tests should use isolate file.
...
Also, remove --webkit/--out-directory options which were
used to run tests from a webkit checkout
BUG=263019, 263021
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19971005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-23 20:10:42 +00:00
navabi@google.com
0d2fc8c2a3
Reimplement device status check dashboard option.
...
The changes to the device status check step from the following LGTM'd CL was
lost in the move from device_status_check.py to
buildbot/bb_device_status_check.py:
https://chromiumcodereview.appspot.com/19284009/diff/24001/build/android/device_status_check.py
This CL reimplements the option in the new device status check script.
TBR=frankf@chromium.org
BUG=254014
Review URL: https://chromiumcodereview.appspot.com/19968004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213194 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-23 19:43:32 +00:00
navabi@google.com
d426b21937
Revert "Temporary fix to unbreak Tot Bots"
...
This reverts commit 7dc3e406f017bad927e1e356dd5dd5502b879fcd.
TBR=ilevy@chromium.org
BUG=261705
Review URL: https://chromiumcodereview.appspot.com/19994004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-23 07:22:44 +00:00
gkanwar@chromium.org
0aee671b0a
Fixes test tagging to just update the name
...
BUG=263053
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19859004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@213005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-23 00:18:10 +00:00
pliard@chromium.org
014efa0322
Revert "Reland r212020: Move Python setup/tear down logic into Forwarder ..."
...
This reverts r212020 which caused some timeouts on the net_unittests every ~15
builds.
Conflicts:
build/android/pylib/base/test_dispatcher.py
build/android/pylib/instrumentation/test_runner.py
chrome/test/chromedriver/run_py_tests.py
TBR=bulach@chromium.org
BUG=262573,242846
Review URL: https://codereview.chromium.org/19844006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212888 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-22 15:56:17 +00:00
miguelg@chromium.org
8aa91c668a
Temporary fix to unbreak Tot Bots
...
instrumentation tot is still using GetEmulators
BUG=261705
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19736003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-22 11:05:20 +00:00
tfarina@chromium.org
e6e7fffd3a
Update the new path to WebKit tests data.
...
data directory was moved from WebKit/chromium/tests/ to web/tests/ in r154618
on Blink repository (see CL https://codereview.chromium.org/19906002/ ).
R=frankf@chromium.org ,abarth@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19832003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-22 09:30:37 +00:00
yukishiino@chromium.org
fc98c3d432
Fixes vertical alignment of RenderText.
...
(was: Issue 18848002: Shows Japanese and English mixed queries correctly.)
The CL 18848002 was reverted because the new unit test, which I added, depended on the specific fonts and didn't run well on some of platforms.
I've carefully chosen another font for the unit test, which is available on all platforms.
BUG=244323
TEST=Test manually.
Review URL: https://chromiumcodereview.appspot.com/19352002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212792 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-20 15:42:44 +00:00
navabi@google.com
1d652e1ca7
Do not reboot emulator.
...
BUG=261705
Review URL: https://chromiumcodereview.appspot.com/19774008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212764 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-20 06:18:11 +00:00
frankf@chromium.org
e366356116
[Android] Fix misnamed method in r212582.
...
TBR=pliard@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/19723014
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212761 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-20 06:09:03 +00:00
gkanwar@google.com
be15ecbdeb
[Android] Redesigns the sharder to allow replicated vs distributed tests
...
In addition, cleans up dispatch.
BUG=259063, 259128
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/18770008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212663 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 22:08:37 +00:00
pliard@chromium.org
5f1683c854
Reland r212020: Move Python setup/tear down logic into Forwarder ...
...
Forwarder used to be a pain to setup/tear down across all the various
harnesses.
This CL should hopefully solve these issues by hiding these
implementation details. The host daemon is now killed once the first time that
the Forwarder class is used and the daemon running on the devices is also
killed the first time a port is forwarded for a specific device.
TBR=bulach@chromium.org
BUG=242846
Review URL: https://codereview.chromium.org/19550004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212582 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 13:30:16 +00:00
ilevy@chromium.org
a4a384800a
Fix location for android device_status_check files
...
This file recently moved and the relative path became
incorrect. Devices are not being stored leading to constant
warnings on the bots.
BUG=258171
R=navabi@google.com
Review URL: https://codereview.chromium.org/19471012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212516 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 03:06:38 +00:00
frankf@chromium.org
2c4d6c076c
[Android] Disable failing content_browsertests.
...
BUG=
NOTRY=True
TBR=yfriedman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19778008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212502 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 02:00:45 +00:00
mnaganov@chromium.org
23bc4d39df
Enable DMP for system Chromium WebView on Android
...
A couple of tweaks are needed in order to enable
compiling inside the Android tree.
Review URL: https://chromiumcodereview.appspot.com/18314006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212490 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 01:35:07 +00:00
craigdh@chromium.org
9aa62f5c51
[android] Ignore extra files on the client when comparing md5sum output.
...
Relands r212355 with fix for https://codereview.chromium.org/19592008/
BUG=None
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19494004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 22:09:36 +00:00
scherkus@chromium.org
0e67ba390c
Refactor build/android/symbolize.py to function as an output filter.
...
Doing so will make it easy to drop in as a test logfile text filter, similar to android_commands.NewLineNormalizer.
BUG=261311
Review URL: https://chromiumcodereview.appspot.com/19670004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212438 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 21:37:45 +00:00
craigdh@chromium.org
079482f51d
[android] Retry data pushes that fail due to device busy.
...
BUG=261436
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19471007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212396 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 19:25:56 +00:00
pliard@chromium.org
587ccd0597
Revert 212337 "[android] Ignore extra files on the client when c..."
...
The following assertion seems to fail:
assert all(len(s) == 2 for s in split_lines), 'Invalid md5sum output'
> [android] Ignore extra files on the client when comparing md5sum output.
>
> BUG=None
> TEST=None
> NOTRY=True
>
> Review URL: https://chromiumcodereview.appspot.com/19675006
TBR=craigdh@chromium.org
Review URL: https://codereview.chromium.org/19592008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 14:58:36 +00:00
craigdh@chromium.org
2da081dd99
[android] Ignore extra files on the client when comparing md5sum output.
...
BUG=None
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19675006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212337 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 13:18:02 +00:00
yfriedman@chromium.org
6e2fdd075d
[Android] Fix all target for managed install.
...
The Multiple proguards apk is a build-only test. There's no need to install it.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19720002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212320 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 10:14:55 +00:00
gkanwar@chromium.org
ebfad37141
Removes device_status_check and buildbot_report
...
This is part of moving device_status_check and buildbot_report into the buildbot folder.
BUG=258171
Review URL: https://chromiumcodereview.appspot.com/19684002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212253 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 04:43:47 +00:00
frankf@chromium.org
f941755385
[Android] Clean up gtest filtering logic.
...
Apply gtest_filter option to tests obtained from the device.
BUG=246871
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19479002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212229 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 03:42:49 +00:00
sivachandra@chromium.org
3ed8531a63
[Android] Add option so that instrumentation tests need not flunk on failure.
...
BUG=249997
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19501002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212076 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-17 17:21:12 +00:00
pliard@chromium.org
d54c891907
Revert 212020 "Move Python setup/tear down logic into Forwarder ..."
...
This causes flakiness on the Android debug tester bot.
> Move Python setup/tear down logic into Forwarder itself.
>
> Forwarder used to be a pain to setup/tear down across all the various
> harnesses.
> This CL should hopefully solve these issues by hiding these implementation
> details. The host daemon is now killed once the first time that the Forwarder
> class is used and the daemon running on the devices is also killed the first
> time a port is forwarded for a specific device.
>
> BUG=242846
> R=bulach@chromium.org , frankf@chromium.org
>
> Review URL: https://codereview.chromium.org/18086004
TBR=pliard@chromium.org
Review URL: https://codereview.chromium.org/19576005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212054 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-17 15:52:49 +00:00
navabi@google.com
c488d6d296
Add option to output device status data in format for dashboard and cleanup.
...
Adds an option to print the device status information (i.e. online devices, offline devices and device battery levels). Example output:
<*>RESULT OnlineDevices: OnlineDevices= 2
RESULT OfflineDevices: OfflineDevice= 0
RESULT DeviceBattery: 0149CC380F016011= 99
RESULT DeviceBattery: 014E378305007013= 60
Cleanup uses AndroidCommands for calling adb shell commands rather than its own GetCmdOutput function.
BUG=254014
Review URL: https://chromiumcodereview.appspot.com/19284009
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212052 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-17 15:41:07 +00:00
pliard@chromium.org
3f132b998d
Move Python setup/tear down logic into Forwarder itself.
...
Forwarder used to be a pain to setup/tear down across all the various
harnesses.
This CL should hopefully solve these issues by hiding these implementation
details. The host daemon is now killed once the first time that the Forwarder
class is used and the daemon running on the devices is also killed the first
time a port is forwarded for a specific device.
BUG=242846
R=bulach@chromium.org , frankf@chromium.org
Review URL: https://codereview.chromium.org/18086004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@212020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-17 13:42:57 +00:00
gkanwar@chromium.org
4cd98b0c29
Copies device_status_check to the buildbot directory
...
Once downstream scripts are updated as well, the original file
can be removed, and so can pylib/buildbot_report.py
BUG=258171
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/19240002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-17 02:37:07 +00:00
frankf@chromium.org
4de6796bac
[Android] Some clean up around gtest packages.
...
Clarify the concepts of test_runner versus test_package.
BUG=
NOTRY=True
R=craigdh@chromium.org
Review URL: https://codereview.chromium.org/18258012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211860 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 22:05:47 +00:00
frankf@chromium.org
71d66503d7
[Android] Move modules_unittest to isolate.
...
Also:
- Do some cleanup
- Move isolate remap dir to src/ and clean up during test tear down
NOTRY=True
BUG=249870, 260332
R=craigdh@chromium.org , hellner@chromium.org
Review URL: https://codereview.chromium.org/19220004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211756 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 03:57:39 +00:00
fischman@chromium.org
cce7a2834f
android/gyp/jar_toc.py: avoid specifying conflicting flags.
...
http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javap.html says:
-protected Shows only protected and public classes and members.
So there's no need to specify both -protected and -public.
Needed because in JDK7 javap is more particular about its flags and rejects this
particular combination.
BUG=https://code.google.com/p/webrtc/issues/detail?id=2034
Review URL: https://chromiumcodereview.appspot.com/19244003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211700 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 21:19:47 +00:00
tonyg@chromium.org
7fc6b79a23
[Telemetry] Cut down on the amount of log spam on the android perf bots.
...
The perf bots run with -v (INFO level debugging). I'm moving the noisiest
output to DEBUG level. This will make the android log output more parsable
so that the real failures are easier to spot.
Also, this cuts down on several commands running between each page.
BUG=None
TEST=smoothness and page_cycler on android
Review URL: https://chromiumcodereview.appspot.com/18764005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211673 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 20:17:41 +00:00
mark@chromium.org
8cfaad75d1
This caused failures in ui_unittests FontListTest.Fonts_GetHeight_GetBaseline
...
http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.6%20Tests%20%28dbg%29%284%29&number=30356
http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.7%20Tests%20%28dbg%29%284%29&number=13543
Revert 211664 "Shows Japanese and English mixed queries correctly."
> Shows Japanese and English mixed queries correctly.
>
> This CL respects the common height and baseline of the fonts in the given font list, and draw text according to the baseline.
>
> The cause of vertically-misaligned queries was that
> 1. ASCII characters have 23 pixels in height
> 2. Japanese characters have 17 pixels in height
>
> pango_layout_get_pixel_size(), which is called in RenderTextLinux::GetStringSize(), returns the above size.
>
> Also see:
> https://docs.google.com/a/chromium.org/document/d/1e2n9lEM_usn37Pld8tMeo_qpfLRQQjkx-O1hTHi3sPo/edit?usp=sharing
>
> BUG=244323
> TEST=Test manually.
>
> Review URL: https://chromiumcodereview.appspot.com/18848002
TBR=yukishiino@chromium.org
Review URL: https://codereview.chromium.org/19270002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211669 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 19:17:55 +00:00
yukishiino@chromium.org
26e4193b35
Shows Japanese and English mixed queries correctly.
...
This CL respects the common height and baseline of the fonts in the given font list, and draw text according to the baseline.
The cause of vertically-misaligned queries was that
1. ASCII characters have 23 pixels in height
2. Japanese characters have 17 pixels in height
pango_layout_get_pixel_size(), which is called in RenderTextLinux::GetStringSize(), returns the above size.
Also see:
https://docs.google.com/a/chromium.org/document/d/1e2n9lEM_usn37Pld8tMeo_qpfLRQQjkx-O1hTHi3sPo/edit?usp=sharing
BUG=244323
TEST=Test manually.
Review URL: https://chromiumcodereview.appspot.com/18848002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211664 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 18:30:17 +00:00
peter@chromium.org
c6757a86ab
Chromium Android layout test bots should be using "android" as the platform.
...
The platform has been renamed from "chromium-android" to "android" in
the past week, which was causing the layout test runner to fail with a
fatal error. Correct this.
BUG=
Review URL: https://chromiumcodereview.appspot.com/18569006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211640 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 14:55:13 +00:00
frankf@chromium.org
59d420b4cc
[Android] Convert more test targets to use isolate.
...
BUG=249870
TBR=ben@chromium.org , acolwell@chromium.org , joi@chromium.org , enne@chromium.org , mark@chromium.org , jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19040002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-13 04:43:55 +00:00
gkanwar@google.com
c68e1d466f
Adds errors on extra positional args
...
BUG=259651
Review URL: https://chromiumcodereview.appspot.com/18617003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 23:22:57 +00:00
bulach@chromium.org
5910deb4cb
Telemetry / Android: symbolize crashstack.
...
Use all the tools to get as much information as possible:
- print the logcat
- try to symbolize it
- try to symbolize tombstones
BUG=223572
Review URL: https://chromiumcodereview.appspot.com/18826012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211459 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 21:11:18 +00:00
sivachandra@chromium.org
d70217d122
[Android] Refactor buildbot tests so that they can be used downstream.
...
I refactored in the wrong way in r211209 (https://chromiumcodereview.appspot.com/18325030/ ). This CL fixes that. Note that r211209 is not broken; it is just not usable downstream.
BUG=249997
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/18202005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 21:05:48 +00:00
scherkus@chromium.org
432ba7d5c8
Update build/android/symbolize.py to match base/debug/stack_trace_android.cc format.
...
BUG=259554
Review URL: https://chromiumcodereview.appspot.com/19010004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 20:17:54 +00:00
scherkus@chromium.org
475ab8ba5e
Remove executable bit from files checked in r211419.
...
TBR=jam
Review URL: https://codereview.chromium.org/18298013
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211429 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 18:35:14 +00:00
scherkus@chromium.org
6ea84eda52
Check in missing build/android/symbolize.py test files from r211134.
...
R=cjhopman@chromium.org
Review URL: https://codereview.chromium.org/18755005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211419 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 17:38:40 +00:00
frankf@chromium.org
5b0ed2d5ac
[Android] Use isolate remap instead of check.
...
- Instead of parsing *.isolated files, use isolate remap
to create a temporary dependency dir.
- Add an exclusion list to filter dependecies at a finer grain
than what's specified in isolate files.
- Convert base_unittests and unit_tests to use isolate.
This adds an additional 50MB to the dependency size due
to many small directories not specified in the exclusion list.
BUG=249870
Review URL: https://chromiumcodereview.appspot.com/18233018
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 06:58:43 +00:00
navabi@google.com
052b0cec3f
Deploy adb reconnect on disconnect daemon on WebKit (ContentShell) Android bot.
...
NOTRY=True
BUG=256353
Review URL: https://chromiumcodereview.appspot.com/18652008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-12 01:40:09 +00:00
simonhatch@chromium.org
2b7052817e
Unset some environment vars so they can be set up via the bisect script.
...
BUG=
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18991015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 21:10:41 +00:00
sivachandra@chromium.org
83a253d9aa
[Android] Refactor so that few pieces can be reused downstream.
...
BUG=249997
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/18325030
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211209 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 20:51:58 +00:00
pliard@chromium.org
145a27fabe
Kill forwarder2 host daemon in python_test_sharder.py during setup.
...
This is normally done at the shard level in shard.py but python_test_sharder.py
doesn't seem to use that code.
BUG=242846
Review URL: https://chromiumcodereview.appspot.com/18915002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211206 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 20:42:29 +00:00
sivachandra@chromium.org
8748740460
[Android] Add bot id for an x86 fyi and try builders
...
BUG=170542
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/17746004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 20:23:40 +00:00
bulach@chromium.org
3dec338d37
Android: uses at least 3 samples for surface stats.
...
Follow-up on crrev.com/204593, fixes the bucket calculation.
BUG=
Review URL: https://chromiumcodereview.appspot.com/19055003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211196 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 19:59:49 +00:00
craigdh@chromium.org
75cd762559
[android] Fix suite error message.
...
BUG=None
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/18641005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211156 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 17:55:51 +00:00
bulach@chromium.org
f1d8a9af48
Android: adds stack symbolization utilities.
...
asan_symbolize.py is used for the logcat stacks using the special ASan format.
tombstones.py is used to manage tombstones files in devices.
symbolize.py is used for stack traces generated by base/debug/stack_trace_android.cc
BUG=234973
Review URL: https://chromiumcodereview.appspot.com/18473004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211134 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 16:17:56 +00:00
gkanwar@google.com
383770ce5d
Fixes dispatch files to return exit codes in several places
...
BUG=170477
Review URL: https://chromiumcodereview.appspot.com/19021003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@211084 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 11:49:33 +00:00
frankf@chromium.org
4f9db973ff
[Android] Tests now log to stdout instead of stderr.
...
NOTRY=True
BUG=258596
Review URL: https://chromiumcodereview.appspot.com/18612014
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210967 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-10 23:29:21 +00:00
frankf@chromium.org
060818c956
[Android] Remove deps list for obsolete test targets.
...
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/18946005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-10 18:35:56 +00:00
bulach@chromium.org
0c82936bb8
Android: follow up on crrev.com/210749
...
Fixes python-driven tests.
BUG=170477, 258171
TBR=frankf
Review URL: https://chromiumcodereview.appspot.com/18305008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-10 16:31:52 +00:00
gkanwar@google.com
b7f504a41e
Updates the test runner script exit codes
...
The script now returns exit codes based on what occurred in the
test. Exit codes:
0 -- normal
1 -- fail/crash
88 -- warning
In addition, the scripts now handle DeviceUnresponsiveError by
returning a warning exit code overall, rather than silently moving
on.
BUG=170477, 258171
Review URL: https://chromiumcodereview.appspot.com/18323020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-10 04:57:10 +00:00
joaodasilva@chromium.org
3dd0b1b22f
Avoid forwarding the test HTTP port twice.
...
base_test_runner.BaseTestRunner already forwards port 8000; avoid doing that
again in instrumentation.test_runner.TestRunner again, which confuses the
forwarder.
BUG=242846
Review URL: https://chromiumcodereview.appspot.com/18854020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210666 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 23:42:14 +00:00
bulach@chromium.org
d3ea847751
SurfaceStats / Telemetry: calculate FPS in different frame buckets.
...
Instead of just calculating FPS over all frames returned by SurfaceFlinger,
use the last 90% and the last 50% as well.
This allow us to have a better representation and skip the "setup" stage.
BUG=256340
Review URL: https://chromiumcodereview.appspot.com/18341006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 17:04:15 +00:00
pliard@chromium.org
b48bb4cd34
Reland r210268: "Improve forwarder2 setup/tear down in telemetry."
...
This CL kills the host_forwarder daemon before running the tests and also makes
Forwarder.Close() unmap the previously mapped ports.
BUG=242846
TBR=bulach@chromium.org
Review URL: https://codereview.chromium.org/18907002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210574 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 15:44:02 +00:00
nduca@chromium.org
e94f646c94
Print adb missing warning to stderr, not stdout
...
R=bulach
Review URL: https://chromiumcodereview.appspot.com/18566007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 14:27:12 +00:00
kkimlabs@chromium.org
19333597df
[Android] Add an gyp option to disable generating v14 resources script.
...
Currently, we are generating v14 layout and style resources from v17
resources by replacing Start and End attributes to Left and Right
attributes. However, it is not necessary for all cases, so make an
option to disable generate_v14_compatible_resources.py script and
only verify that there is no RTL attributes in the pre-v17 resources.
BUG=247049
Review URL: https://chromiumcodereview.appspot.com/18653002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210555 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 14:07:51 +00:00
gkanwar@google.com
0c42207094
Relands test_runner.py, updates buildbot scripts
...
Relands 210035 ("Creates a new test running script test_runner.py"),
and updates the buildbot scripts to point to the test_runner.py script,
so the buildbots don't get deprecated warnings.
BUG=248351
Review URL: https://chromiumcodereview.appspot.com/18514008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 09:03:26 +00:00
hellner@chromium.org
51157755a5
WebRTC: adds webrtc specific unit tests to test_runner.py and gtest_config.py for running them in a chromium workspace.
...
BUG=https://code.google.com/p/webrtc/issues/detail?id=1882
Review URL: https://chromiumcodereview.appspot.com/18358005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 08:50:41 +00:00
pliard@chromium.org
1be95894f5
Revert "Improve forwarder2 setup/tear down in telemetry."
...
This reverts r210268 which made some tests fail downstream.
TBR=bulach@chromium.org ,mvanouwerkerk@chromium.org
BUG=210268
Review URL: https://codereview.chromium.org/18781002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 15:45:50 +00:00
pliard@chromium.org
982dbd5ac1
Make port unmapping errors non fatal.
...
In some cases port unmapping can fail. This should not be fatal nor need client
recovery code.
This can happen when multiple instances of the Forwarder class try to map/unmap
a same port. While the host_forwarder daemon supports that, the python wrapper
didn't.
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/18714004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210306 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 14:33:32 +00:00
pliard@chromium.org
c664eec31b
Reland "Add --serial-id option to host_forwarder."
...
This relands r209945.
r242846 slightly changed the CLI <-> device daemon message sequence which made
the following check fail in case the device daemon was started but already
running on the device: device_forwarder_main.cc:10: CHECK_GT(bytes_read, 0).
This was actually caused by an unexposed long standing issue in daemon.cc.
ConnectToUnixDomainSocket() is performing a hand check to make sure that the
CLI is connecting to the forwarder daemon. While doing this hand check, rather
than only reading the expected fixed-size message, the function was reading all
the available bytes in the socket thus consuming the client data.
BUG=242846
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/18635005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 07:42:02 +00:00
pliard@chromium.org
749841ee04
Improve forwarder2 setup/tear down in telemetry.
...
This CL kills the host_forwarder daemon before running the tests and also makes
Forwarder.Close() unmap the previously mapped ports.
BUG=242846
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/18694002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210268 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 07:04:59 +00:00
ilevy@chromium.org
56f6e3c191
Revert 210035 "Creates a new test running script test_runner.py"
...
Causes android buildbots to spew deprecation warnings.
> Creates a new test running script test_runner.py
>
> This new script serves as a unified entry point for all tests. The
> existing scripts are now just wrappers around the new script. Old
> commands should thus still work, but you can now make use of the
> new script to run various types of tests.
>
> There are a few TODOs left:
> * Add options to run Monkey tests.
>
> Miscellaneous notes:
> * --python_test_root is now a required flag when Python host-driven
> tests are being run.
>
> BUG=248351
>
> Review URL: https://chromiumcodereview.appspot.com/15942016
TBR=gkanwar@google.com
Review URL: https://codereview.chromium.org/18732002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 02:29:05 +00:00
frankf@chromium.org
db842742f6
[Android] Partial revert of r209283.
...
Generating isolated files from test runners is not thread-safe.
BUG=257133
TBR=craigdh@chromium.org
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/18519011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-04 00:12:44 +00:00
gkanwar@google.com
40f6a425e6
Creates a new test running script test_runner.py
...
This new script serves as a unified entry point for all tests. The
existing scripts are now just wrappers around the new script. Old
commands should thus still work, but you can now make use of the
new script to run various types of tests.
There are a few TODOs left:
* Add options to run Monkey tests.
Miscellaneous notes:
* --python_test_root is now a required flag when Python host-driven
tests are being run.
BUG=248351
Review URL: https://chromiumcodereview.appspot.com/15942016
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 20:31:43 +00:00
pliard@chromium.org
39645d8cfc
Revert "Add --serial-id option to host_forwarder."
...
This reverts revision 209945.
TBR=peter@chromium.org
BUG=242846
Review URL: https://codereview.chromium.org/18640002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 11:47:24 +00:00
pliard@chromium.org
9e9405df5f
Add --serial-id option to host_forwarder.
...
This moves the forwarder's control channel set up logic (which can be
considered as an internal implementation detail) from the Python script to the
host_forwarder binary.
This also changes the command line interface for the host_forwarder and
device_forwarder binaries.
BUG=242846
R=bulach@chromium.org , digit@chromium.org
Review URL: https://codereview.chromium.org/18354005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209945 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 10:21:26 +00:00
sivachandra@chromium.org
41aae7d2a7
[Android] Remove few redundent pieces added in CL 17114007
...
This CL removes certain redundant pieces which should have been removed in https://chromiumcodereview.appspot.com/17114007/ but were missed.
BUG=249997
Review URL: https://chromiumcodereview.appspot.com/18595002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209932 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 08:49:47 +00:00
pliard@chromium.org
d2e41f8965
Remove unnecessary host parameter in forwarder.
...
While it is nice to be able to specify the destination host when setting up a
redirection, this functionality is never used.
This cleanup is needed for some upcoming changes in forwarder2.
BUG=242846
Review URL: https://chromiumcodereview.appspot.com/18522003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209756 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 19:50:26 +00:00
sivachandra@chromium.org
5f0b7670bf
[Android] Refactor the buildbot scripts to prepare for downstream usage.
...
BUG=249997
Review URL: https://chromiumcodereview.appspot.com/17114007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 14:02:15 +00:00
bulach@chromium.org
3f285ee2a8
Android: adds an option to print all sharded steps.
...
This is necessary to decouple buildbots and the app repository.
BUG=
Review URL: https://chromiumcodereview.appspot.com/17616008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 12:14:38 +00:00
hashimoto@chromium.org
a4f7f2082c
Add missing executable bits for get_device_configuration.py
...
Resulted in buildbot failures:
http://build.chromium.org/p/chromium/builders/Linux/builds/40444
BUG=None
TEST=check_perms.py
TBR=cjhopman@chromium.org
Review URL: https://codereview.chromium.org/18479002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209624 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 06:47:48 +00:00
cjhopman@chromium.org
ea831049c4
[Android] Add an action to check/record attached devices
...
When doing a gyp_managed_install, we install APKs to the attached
device. Currently this can fail in many ways (no device attached,
multiple devices attached, device offline, device doesn't have root,
etc.). In addition, we need to detect changes to the attached device
(particularly when the device is switched, when an APK is
uninstalled/updated).
The current approach is to check all this information in the action
interacting with the device. This means that when there is some
problem we print the same warning messages for every APK that is built,
and, in some cases, multiple times for each APK. Also, we have to run
every install/push action every build because we detect changes to the
attached device in that action.
This change creates a new build action, "get device configurations".
This action inspects the attached devices, filters out offline devices,
filters out devices without root, and then writes a configuration
file with the id+metadata for the first non-filtered device. This
configuration is then used by each of the build steps that interacts
with the device. This consolidates all the device checking to a single
place, and the build actions don't need to do any checking. In
addition, to detect changes in the attached device, we only need to run
this single action every build and the install/push actions will only
change when the device/metadata changes.
Also, with this change we can now gracefully handle the case where
multiple devices are attached (currently just write the configuration
for the first valid device and install to that one).
Review URL: https://chromiumcodereview.appspot.com/16831013
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209582 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 01:52:33 +00:00
aurimas@chromium.org
a405188195
Remove the OWNERS that no longer work on the project.
...
Remove jcivelli@, and nileshagrawal@ who no longer work
on Chrome for Android.
Review URL: https://chromiumcodereview.appspot.com/18178014
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 23:02:18 +00:00
bulach@chromium.org
8abee74061
Android: disables DiagnosticsModelTest.RunAll
...
This test is timing out on android
(it eventually runs very close to the 120s timeout and passes, so it looks like the
flakyness is more about the size than the test itself).
BUG=256259
TBR=cpu@chromium.org
NOTRY=TRUE
Review URL: https://chromiumcodereview.appspot.com/18344007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 15:38:37 +00:00
bulach@chromium.org
ad0e02313f
Android: disable content_browsertests SignalTest.
...
Started failing at crrev.com/209404
BUG=256238
TBR=hubbe@chromium.org
NOTRY=TRUE
Review URL: https://chromiumcodereview.appspot.com/18326008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 14:47:05 +00:00
bulach@chromium.org
031e072db9
Android: disables IndexedDBBrowserTestWithCorruptLevelDB.DestroyTest.
...
Started failing after crrev.com/208579
BUG=256184
TBR=dgrogan@chromium.org
NOTRY=TRUE
Review URL: https://chromiumcodereview.appspot.com/18328005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209414 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 11:32:18 +00:00
bulach@chromium.org
2c905384fa
Android: fixes content_browsertests.
...
Following crrev.com/209345, a couple of files have been deleted / renamed.
TBR=fsamuel@chromium.org
BUG=
NOTRY=TRUE
Review URL: https://chromiumcodereview.appspot.com/18332003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209410 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 11:15:24 +00:00
tfarina@chromium.org
3da67c9559
Reland "components/webdata: Break the dependency on chrome/test/base"
...
This was reverted because it broke android, because I forgot to remove
a line from build/android/pylib/gtest/test_runner.py
BUG=181277
TBR=joi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18201002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-29 21:15:48 +00:00
frankf@chromium.org
a66bbda1c0
[Android] Enable using isolate files to get a list of data dependencies to push to the device.
...
Convert base_unittests to isolate.
BUG=249870
Review URL: https://chromiumcodereview.appspot.com/17267004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-29 13:00:45 +00:00
wangxianzhu@chromium.org
0872b7c4ef
Upstream adb_profile_chrome
...
This is for external developers to profile official chrome build.
The default package name is changed to "com.android.chrome".
NOTRY=true
BUG=255178
Review URL: https://chromiumcodereview.appspot.com/18174005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 18:22:22 +00:00
kinuko@chromium.org
4a8e0f2aec
Revert 209071 "components/webdata: Break the dependency on chrom..."
...
2nd try.
> components/webdata: Break the dependency on chrome/test/base
>
> BUG=181277
> TBR=joi@chromium.org
>
> Review URL: https://codereview.chromium.org/17788002
TBR=tfarina@chromium.org
Review URL: https://codereview.chromium.org/18120007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 07:01:21 +00:00
kinuko@chromium.org
506a8c0595
Revert 209112 "Revert 209071 "components/webdata: Break the depe..."
...
Broke the tree.
> Revert 209071 "components/webdata: Break the dependency on chrom..."
>
> speculative revert to see if it fixes the android bots.
>
> > components/webdata: Break the dependency on chrome/test/base
> >
> > BUG=181277
> > TBR=joi@chromium.org
> >
> > Review URL: https://codereview.chromium.org/17788002
>
> TBR=tfarina@chromium.org
>
> Review URL: https://codereview.chromium.org/18177003
TBR=sail@chromium.org
Review URL: https://codereview.chromium.org/18120006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 06:49:06 +00:00
sail@chromium.org
4da6525040
Revert 209071 "components/webdata: Break the dependency on chrom..."
...
speculative revert to see if it fixes the android bots.
> components/webdata: Break the dependency on chrome/test/base
>
> BUG=181277
> TBR=joi@chromium.org
>
> Review URL: https://codereview.chromium.org/17788002
TBR=tfarina@chromium.org
Review URL: https://codereview.chromium.org/18177003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209112 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 05:52:10 +00:00
tfarina@chromium.org
c159595028
components/webdata: Break the dependency on chrome/test/base
...
BUG=181277
TBR=joi@chromium.org
Review URL: https://codereview.chromium.org/17788002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@209071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 02:19:34 +00:00
sivachandra@chromium.org
acae236b73
[Android] Add a flag to skip provisioning check during device status check.
...
This is required for a downstream bot which builds Android from source and flashes it with every build.
Review URL: https://chromiumcodereview.appspot.com/17893011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-27 12:47:18 +00:00
cjhopman@chromium.org
ba517b8506
[Android] Support building standalone APK in component build
...
Many people's workflows assume that they can install the APK created in
out/Debug/apks. With the component build that APK is actually an
"incomplete" APK that cannot be manually installed (or rather causes
obscure errors when manually installed).
This change does two things. First, it moves the "incomplete" APK
output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
accidental installs of the "incomplete" APK. Second, it introduces an
option (create_standalone_apk) that when doing a component build, if
set, will merge the shared libraries into the "incomplete" APK to
create a standalone APK. This standalone APK will be created in
out/Debug/apks/.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207345
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207516
Review URL: https://chromiumcodereview.appspot.com/14843017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208529 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 18:42:07 +00:00
sievers@chromium.org
f95796af59
Disable PageStateSerializationTest.BackwardsCompat_v11
...
BUG=254034
Review URL: https://codereview.chromium.org/17719002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 18:41:26 +00:00
wjia@chromium.org
750459f031
Move create_standalone_apk.py into build/android/gyp/.
...
The create_standalone_apk.py should be in build/android/gyp/.
TBR=cjhopman@chromium.org
Review URL: https://codereview.chromium.org/17637005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 03:27:48 +00:00
darin@chromium.org
f23ed67f05
Re-implement PageState serialization without a Blink API dependency.
...
WebHistoryItem serialization is now split into two parts. PageState (i.e., encoded string)to ExplodedPageState, and ExplodedPageState to WebHistoryItem. This way we can generate ExplodedPageState in the browser process without a dependency on Blink API.
This CL drops support for version 1-10 of the format. I confirmed with laforge@ that the usage of such old versions of Chrome is minimal enough.
I've included code to extract file paths from the "document state" vector of strings. This code just has to be consistent with the way document state was generated in versions 11 through 13 of the format. Version 14 has the file path vector included directly in the serialized data.
Gone is the serializers ability to write out different versions of the format. That code existed to support testing as we would write out old versions and test our ability to read them. Instead, I've captured some serialized snapshots at different versions, and I just test that we can read them. I've included code for generating a snapshot as a test case that by default returns early. (This way the code doesn't bit-rot.)
R=jamesr@chromium.org ,tsepez@chromium.org
BUG=237243
Review URL: https://chromiumcodereview.appspot.com/16867005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 03:10:24 +00:00
wjia@chromium.org
22e10e1e19
Fix check_perms for r208246
...
Reland https://codereview.chromium.org/17569006/ with check_perms fix.
Support using loadable module for libpeerconnection on Android.
Borrowed create_standalone_apk_action.gypi, create_standalone_apk.py and finalize_apk_action.gypi from https://codereview.chromium.org/14843017/ with some minor fix in create_standalone_apk_action.gypi.
For some cases where libpeerconnection needs to be a loadable module, we need to add libpeerconnection.so into Chrome_apk.
This patch takes 2 steps:
1. build chrome with libpeer_target_type=loadable_module.
2. add libpeerconnection.so into the apk file.
TEST=run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" build/gyp_chromium
build chrome
re-run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" CHROMIUM_GYP_FILE="build/android/chrome_with_libs.gyp" build/gyp_chromium
build chrome_with_libs
install Chrome-with-libs.apk and it works for https://apprtc.appspot.com
Review URL: https://codereview.chromium.org/17647002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-24 23:44:40 +00:00
abodenha@chromium.org
3ee66a772b
Revert 208246 "Support using loadable module for libpeerconnecti..."
...
Caused check_perms failure on Linux ChromiumOS.
See http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Full/builds/21371
> Support using loadable module for libpeerconnection on Android.
>
> Borrowed create_standalone_apk_action.gypi, create_standalone_apk.py and finalize_apk_action.gypi from https://codereview.chromium.org/14843017/ with some minor fix in create_standalone_apk_action.gypi.
>
> For some cases where libpeerconnection needs to be a loadable module, we need to add libpeerconnection.so into Chrome_apk.
> This patch takes 2 steps:
> 1. build chrome with libpeer_target_type=loadable_module.
> 2. add libpeerconnection.so into the apk file.
>
> TEST=run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" build/gyp_chromium
> build chrome
> re-run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" CHROMIUM_GYP_FILE="build/android/chrome_with_libs.gyp" build/gyp_chromium
> build chrome_with_libs
> install Chrome-with-libs.apk and it works for https://apprtc.appspot.com
>
> R=cjhopman@chromium.org , mallinath@chromium.org , tommi@chromium.org
>
> Review URL: https://codereview.chromium.org/17569006
TBR=wjia@chromium.org
Review URL: https://codereview.chromium.org/17573017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-24 22:58:03 +00:00
wjia@chromium.org
e13c37b8d0
Support using loadable module for libpeerconnection on Android.
...
Borrowed create_standalone_apk_action.gypi, create_standalone_apk.py and finalize_apk_action.gypi from https://codereview.chromium.org/14843017/ with some minor fix in create_standalone_apk_action.gypi.
For some cases where libpeerconnection needs to be a loadable module, we need to add libpeerconnection.so into Chrome_apk.
This patch takes 2 steps:
1. build chrome with libpeer_target_type=loadable_module.
2. add libpeerconnection.so into the apk file.
TEST=run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" build/gyp_chromium
build chrome
re-run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" CHROMIUM_GYP_FILE="build/android/chrome_with_libs.gyp" build/gyp_chromium
build chrome_with_libs
install Chrome-with-libs.apk and it works for https://apprtc.appspot.com
R=cjhopman@chromium.org , mallinath@chromium.org , tommi@chromium.org
Review URL: https://codereview.chromium.org/17569006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208246 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-24 18:54:11 +00:00
navabi@google.com
f23eaf8c99
Turn off devices with low battery and don't fail device status step.
...
BUG=224004
Review URL: https://chromiumcodereview.appspot.com/16950029
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-22 21:05:50 +00:00
frankf@chromium.org
ea8da93716
[Android] Do not fail if adb push returns no output.
...
This is the case for empty files.
BUG=
Review URL: https://chromiumcodereview.appspot.com/17561002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@208015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-22 07:07:36 +00:00
gkanwar@google.com
82ccaa9576
The ADT bundle link was 404'ing. This updates the link to the newer version of the ADT bundle which is up on the Android site.
...
BUG=252776
Review URL: https://chromiumcodereview.appspot.com/16867011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207980 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-22 00:45:25 +00:00
bulach@chromium.org
9e1c1b5236
Android / Telemetry: use android-chromium-testshell instead of content-shell.
...
Follow up on https://codereview.chromium.org/15115005/
Install ChromiumTestShell instead of ContentShell
BUG=237057
R=ilevy@chromium.org
Review URL: https://codereview.chromium.org/15448002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-21 10:01:08 +00:00
navabi@google.com
945b5aa823
Create sdcard image for emulator.
...
The emulator bot currently fails when waiting for the sdcard. The emulator does
not fail when the emulator has an sdcard image present. This CL creates and adds
the sdcard image for emulators.
TBR=cmp@chromium.org
BUG=164911
Review URL: https://chromiumcodereview.appspot.com/17094019
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207760 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-21 08:59:20 +00:00
skyostil@chromium.org
177d7747cd
android: Always initialize 'log' variable
...
Always initialize the 'log' variable to avoid an unbound local error
when dealing with exceptions.
Review URL: https://chromiumcodereview.appspot.com/17484004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207648 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-21 00:02:49 +00:00
frankf@chromium.org
41346e07f3
[Android] Log the size of data transerred to device.
...
BUG=252047
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/17463008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207641 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 23:47:25 +00:00
dfalcantara@chromium.org
458e6b0e2b
Revert "[Android] Support building standalone APK in component build"
...
This breaks the Android component build.
This reverts commit 125e64a9eb6406446fb864aea9fa887521f19616.
>> [Android] Support building standalone APK in component build
>>
>> Many people's workflows assume that they can install the APK created in
>> out/Debug/apks. With the component build that APK is actually an
>> "incomplete" APK that cannot be manually installed (or rather causes
>> obscure errors when manually installed).
>>
>> This change does two things. First, it moves the "incomplete" APK
>> output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
>> accidental installs of the "incomplete" APK. Second, it introduces an
>> option (create_standalone_apk) that when doing a component build, if
>> set, will merge the shared libraries into the "incomplete" APK to
>> create a standalone APK. This standalone APK will be created in
>> out/Debug/apks/.
>>
>> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207345
>>
>> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207516
BUG=
R=cjhopman@chromium.org
Review URL: https://codereview.chromium.org/17291013
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207587 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 21:42:06 +00:00
tedchoc@chromium.org
33a0c60572
Print a nicer error if installing an APK fails when you have not run adb root.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com/17335010
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 21:37:03 +00:00
cjhopman@chromium.org
f00dfb88a8
[Android] Support building standalone APK in component build
...
Many people's workflows assume that they can install the APK created in
out/Debug/apks. With the component build that APK is actually an
"incomplete" APK that cannot be manually installed (or rather causes
obscure errors when manually installed).
This change does two things. First, it moves the "incomplete" APK
output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
accidental installs of the "incomplete" APK. Second, it introduces an
option (create_standalone_apk) that when doing a component build, if
set, will merge the shared libraries into the "incomplete" APK to
create a standalone APK. This standalone APK will be created in
out/Debug/apks/.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207345
Review URL: https://chromiumcodereview.appspot.com/14843017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207516 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 19:51:29 +00:00
skyostil@google.com
283725629a
Revert 207345 "[Android] Support building standalone APK in comp..."
...
This broke building of ChromeTest.apk. See:
http://chromegw.corp.google.com/i/clank.tot/builders/instrumentation-yakju-clankium-tot/builds/11555/steps/chrome_smoke_instrumentation_tests/logs/stdio
> [Android] Support building standalone APK in component build
>
> Many people's workflows assume that they can install the APK created in
> out/Debug/apks. With the component build that APK is actually an
> "incomplete" APK that cannot be manually installed (or rather causes
> obscure errors when manually installed).
>
> This change does two things. First, it moves the "incomplete" APK
> output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
> accidental installs of the "incomplete" APK. Second, it introduces an
> option (create_standalone_apk) that when doing a component build, if
> set, will merge the shared libraries into the "incomplete" APK to
> create a standalone APK. This standalone APK will be created in
> out/Debug/apks/.
>
> Review URL: https://chromiumcodereview.appspot.com/14843017
TBR=cjhopman@chromium.org
Review URL: https://codereview.chromium.org/17484010
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 15:31:28 +00:00
ericwilligers@chromium.org
ca2c32e94a
Allow for lists of lists when summarizing performance results
...
Using page-repeat and pageset-repeat options in commands like
tools/perf/run_measurement --browser=release --page-repeat=2 --pageset-repeat=3 blink_perf third_party/WebKit/PerformanceTests/Parser/html-parser.html
previously let to a crash in _MeanAndStdDevFromList.
BUG=
Review URL: https://chromiumcodereview.appspot.com/17390017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207426 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 14:02:41 +00:00
frankf@chromium.org
0b6cf35f21
[Android] Fix _WatchTestOutput after r207099
...
BUG=
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/17288008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 10:17:32 +00:00
cjhopman@chromium.org
5f50a8a77e
[Android] Add GetDescription and defer calculating device_utc_offset
...
First, only get the device's utc offset when it is actually needed. Calculating
this offset takes about 100ms on a typical device. The build scripts assume
that creating an instance of AndroidCommands is not so expensive. Instead,
defer calculating this value until it is actually requested. There are
currently several cases where the build scripts call adb directly instead of
through android_commands just to avoid this extra cost.
Second, add a GetDescription method to get a (mostly) user-readable description
of the device.
TBR=frankf@chromium.org
Review URL: https://chromiumcodereview.appspot.com/17088005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 09:09:02 +00:00
cjhopman@chromium.org
7ad7e2169a
[Android] Support building standalone APK in component build
...
Many people's workflows assume that they can install the APK created in
out/Debug/apks. With the component build that APK is actually an
"incomplete" APK that cannot be manually installed (or rather causes
obscure errors when manually installed).
This change does two things. First, it moves the "incomplete" APK
output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
accidental installs of the "incomplete" APK. Second, it introduces an
option (create_standalone_apk) that when doing a component build, if
set, will merge the shared libraries into the "incomplete" APK to
create a standalone APK. This standalone APK will be created in
out/Debug/apks/.
Review URL: https://chromiumcodereview.appspot.com/14843017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207345 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 07:58:19 +00:00
frankf@chromium.org
b5f7fef472
[Android] Clear adb logcat during adb_logcat_monitor startup.
...
BUG=249039
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/17438004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207175 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-19 04:06:26 +00:00
frankf@chromium.org
07aa4d053f
[Android] Fix pexpect ordering to get the correct logs.
...
TBR=craigdh@chromium.org
NOTRY=True
BUG=
Review URL: https://chromiumcodereview.appspot.com/17151015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@207099 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-18 22:39:08 +00:00
digit@chromium.org
eacb40c9e0
adb_gdb: Minor improvements
...
This patch improves the Android-specific adb_gdb debugging scripts
in several minor ways:
- It ensures that the temporary directory is always removed when
the script exits, even whe it is interrupted with Ctrl-C.
- It ensures that if --pull-libs is interrupted by a Ctrl-C,
the build.prop in /tmp/$USER-adb-gdb-libs/ is erased, forcing
a --pull-libs operation in the next invokation, instead of keeping
a portion of the libraries in a bad state.
- It adds a --su-prefix=<prefix> option, to be able to use tools
like 'su' on rooted production devices. This is useful when the
installed app is not debuggable (e.g. a release build), and there
is no way to run ADB as root.
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/17103007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@206990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-18 14:24:42 +00:00
scherkus@chromium.org
95c61febc4
Strip out \r characters from pexpect's log capture before adding the results.
...
BUG=250002
Review URL: https://chromiumcodereview.appspot.com/16854020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@206960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-18 12:49:52 +00:00