Revert 229507 "aura: Allow creating content_shell without views."

Speculative. All windows bots on the main waterfall except for the clobber
builder started timing out during compile during a window that had only this
change and two test-only changes in the range.

> aura: Allow creating content_shell without views.
> 
> This builds content_shell with use_aura=1 and toolkit_views=0.
> 
> BUG=none
> R=derat@chromium.org, jamescook@chromium.org, jochen@chromium.org
> 
> Review URL: https://codereview.chromium.org/26695007

TBR=sadrul@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229521 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 229521 "Revert 229507 "aura: Allow creating content_shell..."

Revert didn't help, so reland the change.

> Revert 229507 "aura: Allow creating content_shell without views."
> 
> Speculative. All windows bots on the main waterfall except for the clobber
> builder started timing out during compile during a window that had only this
> change and two test-only changes in the range.
> 
> > aura: Allow creating content_shell without views.
> > 
> > This builds content_shell with use_aura=1 and toolkit_views=0.
> > 
> > BUG=none
> > R=derat@chromium.org, jamescook@chromium.org, jochen@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/26695007
> 
> TBR=sadrul@chromium.org
> 
> Review URL: https://codereview.chromium.org/30413002

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 229524 "Revert 229521 "Revert 229507 "aura: Allow creating content_shell...""

Breaks blink waterfall due to TOOLKIT_VIEWS not defined there.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229525 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[GCM] Initial work to set up directory structure and introduce socket integration

Create new google_api/gcm directory, and add some of the initial base logic
for integrating protobufs with chrome sockets.

A SocketStream is an implementation of the ZeroCopyStream interfaces that allows
for asynchronously retrieving a message (with timeout support) which can then
be parsed by a CodedInputStream, or alternatively allows a CodedOutputStream
to write into a Chrome socket.

Once a SocketStream closes itself (which will happen on error or timeout), the
stream cannot be reused, and a new one should be created (typically with a
socket that has been reconnected). In general, the state of the socket stream
must be checked before interacting with it.

Also fixes issue in SocketTestUtil where mock Sockets aren't taking ownership
of IOBuffers that they're using (exposed by tests).

TBR=darin@chromium.org
BUG=284553

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229533 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert r229533 "[GCM] Initial work to set up directory structure and introduce socket integration"
Breaks main waterfall.

TBR=zea

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add option to restart usb on device status check before performing check.

Restart USB has been known to bring back offline devices. Add option to device
status check to restart usb ports before performing the check. This requires
restart_usb to be installed (see
https://code.google.com/p/chromium/issues/detail?id=305769). Prints warning if
the utility has not been installed on the host.

We will add this first to perf bots. Restarting usb has fixed device issues on these bots. If we find it works and does not have unseen consequences, we will deploy on all bots (i.e. make default of --restart-usb to True).

BUG=299891

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229553 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
linux and chromeos: Turn on -Wunused-const-variable.

BUG=307668
R=hans@chromium.org
TBR=oshima

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Do not run MSE related tests when MSE is not available.

BUG=304956
TEST=This make MSE related tests doesn't run on unsupported platform/devices.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229610 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Introduce a separate gyp file for content shell and tests

This will make it possible to depend on components from content shell

BUG=247431
R=jam@chromium.org
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229620 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
GYP variable v8_optimized_debug should be overridable by GYP_DEFINES

This re-lands r226772. The issue that caused the revert has been fixed on the V8 side.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
android: Enable -Wunused-const-variable.

BUG=307668
TBR=hans

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
aura: Allow creating content_shell without views.

This builds content_shell with use_aura=1 and toolkit_views=0.

BUG=none
R=derat@chromium.org, jamescook@chromium.org, jochen@chromium.org

Previously, on this issue:
 * Landed in r229507
 * Speculatively reverted in r229521.
 * Relanded in r229524, since the revert didn't fix anything.
 * Reverted in r229525 because it broken win-blink bots.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229671 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert r229671 "aura: Allow creating content_shell without views."

http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20Builder%20%28deps%29/builds/74852/steps/compile/logs/stdio

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229683 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
aura: Allow creating content_shell without views.

This builds content_shell with use_aura=1 and toolkit_views=0.

BUG=none
R=derat@chromium.org, jamescook@chromium.org, jochen@chromium.org

Previously, on this issue:
 * Landed in r229507
 * Speculatively reverted in r229521.
 * Relanded in r229524, since the revert didn't fix anything.
 * Reverted in r229525 because it broken win-blink bots.
 * Committed again in r229671 with an incorrect fix.
 * Reverted in r229683

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
cycle bots

TBR=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Build support for WebRTC Chromium tests on Android.

In addition to the native APK tests for WebRTC, we
want to build and test the content_browsertests test
for each revision of WebRTC in our Chromium WebRTC FYI
waterfall.
This CL adds the needed configurations for that, that are used
by the buildbots in: https://codereview.chromium.org/26702005/

NOTRY=True
TEST=presubmit
BUG=305749

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229758 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This implements the new SSL blocking screen. See the bug for screenshots of what it looks like.

BUG=276540
R=dubroy@chromium.org, palmer@chromium.org, rsleevi@chromium.org
TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229818 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix the coverage build which used to complain about the missing pyautolib target.
In the case pyautolib shouldn't be built, define a fake pyautolib target. This lets other targets
to unconditionally depend on pyautolib.

BUG=307018
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Android: Add chrome-specific dynamic linker.

This patch adds a new Chrome-specific dynamic linker for Android,
that implements RELRO section sharing in order to save about 1.3 MB
of RAM per renderer process in content-based programs (ContentShell,
ChromiumTestShell, Chrome, etc...)

The linker is disabled by default. For more details, see the corresponding bug entry.

This introduces a new test package (content_linker_test_apk) as well as a new test category. To build and test this feature, do the following:

  ninja -C out/Debug content_linker_test_apk
  build/android/test_runner.py linker


BUG=287739
R=qsr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229921 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Relands Android perf tests: kill adbd on the device after running a test.

Third retry on crrev.com/226762.
Adds "wait-for-device".
There's some data indicating that adbd on the device sometimes
spontaneously restores its connection.
After running a test, let's kill adbd and wait for bit.

This is a speculative change to try to make the bots healthier.

BUG=268450

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229931 4ff67af0-8c30-449e-8e8b-ad334ec8d88c