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

1779 Коммитов

Автор SHA1 Сообщение Дата
alokp@chromium.org 306adbd676 Move installation of ContentShell.
Running bb_device_steps.py with --install option adds an explicit
install step and eliminates the need to install it as part of
running the test with incorrect label. The install step was currently
being grouped into provision_device step.

This patch partially relands r273386, which was reverted due to issues
with gpu rasterization test. This portion of the patch is merely
cleanup that can be landed separately.

BUG=368495
TBR=navabi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273505 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 16:59:16 +00:00
phajdan.jr@chromium.org 831b012c9f Also run builder hack if '/b/build/slave/Android_Builder__dbg_' exists
TBR=cmp,navabi

BUG=378779

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273484 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 15:17:19 +00:00
phajdan.jr@chromium.org 53b6696bb1 os.rename instead of shutil.move
TBR=cmp,navabi

BUG=378779

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273483 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 15:09:33 +00:00
phajdan.jr@chromium.org c15b69411f Move away broken /b/build/slave/Android_Builder__dbg_ directory for debugging
TBR=cmp,navabi

BUG=378779

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273476 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 15:02:08 +00:00
phajdan.jr@chromium.org fdbb84fc5c Print fully-qualified hostname to help debug issues with build1-a1 slave
TBR=cmp,navabi

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 14:37:11 +00:00
vmiura@chromium.org 2df2fc78fe Revert 273386 "Add gpu-rasterization test to Android gpu testbot."
Reason: New gpu_rasterization_tests failed.

> Add gpu-rasterization test to Android gpu testbot.
> 
> BUG=368495
> R=navabi@chromium.org, navabi@google.com, skyostil@chromium.org
> 
> Review URL: https://codereview.chromium.org/279993002

BUG=368495
TBR=alokp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273426 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 01:04:06 +00:00
navabi@chromium.org f029164b47 Automatically wipe data from devices.
Wiping data from the device for each build will keep the
INSTALL_FAILED_INSUFFICIENT_STORAGE error from happening.

Sleeping 75 seconds was determined by minimizing how much time was needed to
sleep for the provision and wipe to work on a Nexus 4.

BUG=335549
R=jbudorick@chromium.org, tonyg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273402 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 23:42:38 +00:00
alokp@chromium.org 1cfdc71148 Add gpu-rasterization test to Android gpu testbot.
BUG=368495
R=navabi@chromium.org, navabi@google.com, skyostil@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 23:01:26 +00:00
feng@chromium.org 58b666c705 [Android] add stamp option in delete_files.py.
After successfully deleting old files, the script touches the stamp
file. The feature is used by Clank build script.

BUG=378062

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273333 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 20:03:32 +00:00
cjhopman@chromium.org f11324b572 Convert apk-package-resources.xml to python
This ant script is basically a simple wrapper around an aapt call (the
only thing the large AaptExecTask custom ant task adds is a bunch of
dependency checking that we don't actually want anyway). This
makes it use python instead.

BUG=359249,375324,375431
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273326 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 19:50:08 +00:00
tonyg@chromium.org a2d5cf1349 Disable media transfer protocol on android devices.
The only protocol we need enabled over USB is adb. Anything else is just a
potential source of problems.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 00:32:11 +00:00
jungjik.lee@samsung.com e86e985bbf Add --trace-memory option for tracing heap memory
desktop-chromium can trace memory status in about://tracing.
as same as desktop, this patch enables android to use 
disabled-by-default-memory option in adb_profile_chrome script.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-27 21:15:22 +00:00
skyostil@chromium.org 00187128e2 adb_profile_chrome: Refactor into multiple modules and add tests
The adb_profile_chrome tool has grown quite a bit since its inception,
so now seems to be a good time to split it into smaller modules and add
some rudimentary tests.

BUG=375754
TEST=build/android/chrome_profiler/run_tests
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272946 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-27 11:26:27 +00:00
cjhopman@chromium.org 71545b826c Remove apk-codegen.xml
process_resources.py already implements almost everything from
apk-codegen.xml so just use that instead.

BUG=359249, 375324, 375431
TBR=yfriedman

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272928 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-27 05:42:45 +00:00
tapted@chromium.org 385487a54b Revert of Remove apk-codegen.xml (https://codereview.chromium.org/295473002/)
Reason for revert:
Suspected for android compile failure on waterfall starting

http://build.chromium.org/p/chromium/builders/Android/builds/24321

Errors are pretty obscure. Things like

BUILD FAILED
/b/build/slave/Android/build/src/build/android/ant/apk-obfuscate.xml:161: /b/build/slave/Android/build/src/out/Release/multiple_proguards_test_apk/proguard.txt (No such file or directory)
	at proguard.ant.ConfigurationTask.addText(ConfigurationTask.java:315)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

FAILED: cd ../../build/android/tests/multiple_proguards; /*snip*/ build/android/ant/apk-obfuscate.xml
Traceback (most recent call last):
  File "../../../../build/android/gyp/ant.py", line 34, in main
    stdout = build_utils.CheckOutput(['ant'] + verbose_args)
  File "/b/build/slave/Android/build/src/build/android/gyp/util/build_utils.py", line 113, in CheckOutput
    raise CalledProcessError(cwd, args, stdout + stderr)

Original issue's description:
> Remove apk-codegen.xml
> 
> process_resources.py already implements almost everything from 
> apk-codegen.xml so just use that instead.
> 
> BUG=359249,375324,375431
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272783

TBR=yfriedman@chromium.org,cjhopman@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=359249,375324,375431

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272795 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-26 05:10:41 +00:00
cjhopman@chromium.org 5dddf7b2a6 Remove apk-codegen.xml
process_resources.py already implements almost everything from 
apk-codegen.xml so just use that instead.

BUG=359249,375324,375431

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-26 04:19:34 +00:00
cjhopman@chromium.org 9e92697803 Add java_cpp_template template
This is the GN version of build/java_cpp_template.gypi.

It defines a template that wraps an action_foreach that generates .java
files using the host C preprocessor.

The major difference in the GN version is that it takes all the
generated java files and zips them together in a single .srcjar. When
such a target is included in the srcjar_deps of a java library, the
.java files in the .srcjar will be treated much like files listed in
that libraries java_sources (particularly they will be compiled and
included in the .jar/.dex).

Depends on https://crrev.com/264773014/

BUG=359249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-26 04:01:47 +00:00
bcwhite@chromium.org 0513453a4e Fixed some problems with tools.
- "cd" under some bash settings can print the current directory
- adb_gdb variable use is missing undescore

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272686 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-24 02:34:38 +00:00
kkimlabs@chromium.org 0184cc1a8d Add suite specific options argument to Android test bot.
bb_device_steps.py's RunTestSuites took only one options
argument that will be applied for all the running test suites.
Add another suites_options argument so that the caller can
specify options on certain test suites.


BUG=368034

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272657 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-24 00:37:26 +00:00
jbudorick@chromium.org 902f543dc7 [Android] Convert to DeviceUtils versions of WaitUntilFullyBooted and GetExternalStoragePath.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272434 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 07:46:20 +00:00
bratell@opera.com 9c86f68130 Graphical version of the run_binary_size_analysis tool.
The binary_size tool suit includes tools that are useful when trying
to reduce binary size of a program, and chromium related programs
in particular.

This commit (mostly written by andrewhayden@chromium.org for 
Android but ported to generic Linux by bratell@opera.com) adds 
a graphical HTML based output for run_binary_size_analysis.py.
In the generated web page it is possible to dynamically and 
graphically browse the binary and each part of the source tree 
is given a size that reflects its contribution to the binary size.

The run_binary_size_analysis tool is run on compiled binaries 
with symbols and uses nm and addr2line to map parts of the
binary to source code. Since addr2line is slow the operation to map 
binary symbols to source files takes a while but the output is 
well worth it when shrinking programs. See its usage information
for details about how to run it.

This commit also includes the tool explain_binary_size_delta.py 
(textual output) which can be used to understand why a binary 
changed size and in what way. See its usage information for 
details about how to run it.

There are many further improvements possible to to do on these tools.
Search the bug database for Label:Tools-BinarySize for suggestions.

BUG=339059
R=primiano@chromium.org,andrewhayden@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272255 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 18:49:40 +00:00
bulach@chromium.org 353cd17b51 Adds skyostil@ to build/android/pylib/OWNERS
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272224 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 17:42:12 +00:00
jbudorick@chromium.org 0408408ab5 [Android] Support generic parallel execution across devices.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 11:13:40 +00:00
kkimlabs@chromium.org af73fa0dac Added --isolate-file-path option to android test_runner.
Currently, .isolate file list is hard-coded in
build/android/pylib/gtest/setup.py so for downstream to
provide .isolate file, we need to modify the upstream setup.py
file. So add --isolate-file-path option so that downstream
can provide their own .isolate file if they want.

BUG=368034

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272137 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 08:18:50 +00:00
dcheng@chromium.org b38b0db5d6 Fix Android x86 emulator image download paths.
BUG=none
R=navabi@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272037 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 00:59:47 +00:00
zea@chromium.org f5a249a697 Disable ElfCoreDumpTest.ValidCoreFile on Android
Fails flakily on Android.

BUG=375838
R=johnme@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 18:31:26 +00:00
navabi@google.com 64b8fcf55b Add navabi to OWNERS for build/android/pylib.
3 out of 4 existing owners have since left Chrome.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271863 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 05:17:19 +00:00
mlamouri@chromium.org b61ea82960 Move AddBuildTypeOption to adb_install_apk.py and remove test_options_parser.py
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 02:27:41 +00:00
kkimlabs@chromium.org dce1eb985b [Android] Fix adb realpath command failure.
In android_commands.py's GetFilesChanged function,
realpath command fails when the path does not exist.
Create the path before we call GetFilesChanged.

BUG=374859

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271817 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 02:19:16 +00:00
qsr@chromium.org 88178bfcb7 Add timeout for usb charging commands.
Also check that we are root, as non rooted cannot control usb charging.

BUG=375178
R=tonyg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-20 15:56:32 +00:00
dmazzoni@chromium.org 634a02f42e Ignore accessibility events fired on objects that aren't in the tree.
BUG=371039

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 18:05:32 +00:00
jbudorick@chromium.org 30066e68b7 [Android] Convert to DeviceUtils versions of IsOnline, HasRoot, and EnableRoot.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271213 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-17 15:52:50 +00:00
cjhopman@chromium.org 82d0ced614 Make it harder to leak temp files on devices
This extracts the device temp file creation deletion into a context
manager. This context manager will delete the temporary file when
leaving the with: scope.

Also changes logic for finding a temp file from a linear search from 0
to just using a random number (still checking that the file doesn't
exist). Both of these approaches could return the same file in
consecutive calls if the earlier files aren't written to (though it is
nearly impossible with the random number approach instead of essentially
guaranteed).

Removed the temp file name patterns and just added a prefix+suffix
argument to DeviceTempFile (like tempfile.NamedTemporaryFile).

BUG=371054

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-16 03:21:27 +00:00
starodub@google.com 877e21088f Removed unneccessary wait that caused 10s timeout per gtest.
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 17:32:09 +00:00
navabi@google.com cfb2346495 If no battery information, do not try to split.
The x86 device can not dump battery information with 'adb dumbsys battery'. This
is causing the x86 instrumentation bot to fail on device status check. This is a
temporary fix until we determine how to check battery info on x86 devices.

BUG=371719

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270516 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 23:53:31 +00:00
primiano@chromium.org 077df9722d [Android] Build android tools as PIE and add a wrapper for ICS
- Make Android tools build as position independent executable by
  default, as it now required by Android.
- Introduce a wrapper for running PIE on Android ICS (its linker
  doesn't support PIE).
- Add the plumbing for running the PIE wrapper in the test/telemetry
  python scripts.

BUG=373219
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270406 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 15:15:19 +00:00
bulach@chromium.org 6370bb9dac [Telemetry] Speed up page_cycler on android.
Down to 3m22 (without the other optimizations..)
/proc/pid/smaps is kind of large.
It was only used by old style perf tests downstream, long gone
in favor of Telemetry.
Use "showmap %pid" directly, which crunches the data in the device.
Also, while at it, remove GetMemoryUsageForPackage: no longer used.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 13:01:01 +00:00
jbudorick@chromium.org e55dcf8a10 [Android] Switch to new interfaces of GetAVDs and RestartAdbServer.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270336 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 05:32:16 +00:00
bulach@chromium.org ecf9ff4e2f [Telemetry] Speed up page_cycler on android.
4m7s -> 3m51s: remove expensive regexp.
Short-circuits "VmHWM".
Remove old stats for xoom tablets.

BUG=372489

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270329 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 04:05:01 +00:00
rmcilroy@chromium.org de0a9ebd4d [Android]: Add arm64 and x86_64 support to adb_gdb script.
BUG=354405,346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 13:35:34 +00:00
vandebo@chromium.org 2782093ea1 Fix a findbugs warning - check file.delete return value.
BUG=NONE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 01:35:54 +00:00
skyostil@chromium.org 2d53ef698f Remove temporary temporary file deletion
BUG=371148

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 11:49:26 +00:00
navabi@google.com 68a08bb56e Always wipe device data, but dont reboot.
We keep seeing the INSTALL_FAILED_INSUFFICIENT_STORAGE error on the devices. The
APK we install to check for this failure succeeds even when this error exists on
the device (presumably because the APK we install is too small). Thus, this CL
will always wipe the device. It removes the reboot, because that would make the
step take too long.

BUG=335549
TBR=yfriedman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 21:27:16 +00:00
navabi@google.com 910b23e1e1 Add mojo tests to standard tests that are run on testers on the main waterfall.
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269401 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 20:47:16 +00:00
yfriedman@chromium.org 8ee6b9776f Android: Make sure temporary scripts are deleted from the device
Once we're done using a temporary file, we should delete it. Otherwise
the files pile up and the linear search to find an unused one takes
longer and longer.

This patch also cleans up the previously leaked temporary files from the
bots.

BUG=371148
R=bulach@chromium.org, jbudorick@chromium.org, yfriedman@chromium.org

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

Patch from Sami Kyostila <skyostil@chromium.org>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 22:24:24 +00:00
yfriedman@chromium.org 4b6823fd7b [Android] Delete temporaries in SetProtectedFileContents.
BUG=371054
NOTRY=true
R=yfriedman@chromium.org

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

Patch from John Budorick <jbudorick@chromium.org>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 22:18:17 +00:00
yfriedman@chromium.org 21fa88e61e Disable failing webkit tests.
These will be fixed when
https://src.chromium.org/viewvc/chrome?revision=173569&view=revision
rolls in but looks like that'll be a while. Temporarily disable to green
up chromium.

BUG=330041
TBR=reveman

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-08 02:30:53 +00:00
r.kasibhatla@samsung.com ce12301faa [Android] Add an option to view the tracing record categories when running from python script.
There is no way to see/list the categories present for recording the chrome traces (when running from adb_profile_chrome.py) unlike the UI. Adding the "list" command for --categories option, to keep the usage same as with systrace option.

Usage: build/android/adb_profile_chrome --categories list

BUG=366679

TESTS=To be added.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268841 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-07 17:37:19 +00:00
navabi@google.com 65f01f4138 Print all the battery info from dumpsys battery from devices.
The output (and indentation) will look like this:
Device 01cb95182214a4b6 (mako)
  Build: KOT49H (google/occam/mako:4.4.2/KOT49H/937116:userdebug/dev-keys)
  Current Battery Service state:
    AC powered: false
    USB powered: true
    Wireless powered: false
    status: 2
    health: 2
    present: true
    level: 24
    scale: 100
    voltage: 3872
    current now: -311500
    temperature: 288
    technology: Li-ion
  IMEI slice: 819914
  Wifi IP:

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268638 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-06 23:37:19 +00:00
phoglund@chromium.org a7a820b5a4 Revert 267897 "Revert 267858 "Working around IO thread chrashes ..."
> Revert 267858 "Working around IO thread chrashes for WebRTC test..."
> 
> Android browser tests still failing at http://chromegw/i/client.webrtc/waterfall
> 
> > Working around IO thread chrashes for WebRTC tests on Android.
> > 
> > Because the content_browsertests tearDown logic is broken with respect
> > to threading on Android, we here work around the problem by sleeping in
> > the tearDown to give the IO thread time to finish its work. This will
> > lengthen the execution time of the tests but hopefully make the tests
> > stable enough to last us until the Clank team finds time to rewrite the
> > tearDown logic.
> > 
> > BUG=362852
> > 
> > Review URL: https://codereview.chromium.org/251323002
> 
> TBR=phoglund@chromium.org
> 
> Review URL: https://codereview.chromium.org/262773014

Appears the revert may have been incorrect; speculative re-land.

TBR=niklase@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-06 09:42:35 +00:00