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

55 Коммитов

Автор SHA1 Сообщение Дата
Sergey Ulanov 099f2e9b9e Enable WebRTC on Fuchsia by default.
1. Updated BUILD.gn for usrsctp to pass correct build flags
   on Fuchsia.
2. Enabled WebRTC on Fuchsia.
3. Updated 2 unittests for Fuchsia.

Bug: 750940
Change-Id: I922aa74ca17c542a9b1ca53b60763d8130406f9e
Reviewed-on: https://chromium-review.googlesource.com/817947
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Taylor Brandstetter <deadbeef@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524296}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 792e646b22c5a9bf50d681f75f0421e5b8086c0f
2017-12-15 02:27:25 +00:00
Tim Brown 80568ad48f Remove use_gconf build flag
All usages of gconf have now been removed, so we can remove the build
flag too. After this, I will remove gconf from the instrumented
libraries, sysroots, and install-build-deps.sh.

Bug: 768027
Change-Id: Idf5e8d60da387b3287f875092feba488217ca642
Reviewed-on: https://chromium-review.googlesource.com/826046
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524120}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a28f4d062f4c030eeddd085f261988d7958db2ba
2017-12-14 18:32:18 +00:00
James Cook c58b8254c3 Eliminate use_ash build flag
We have not shipped Windows Ash for years. There is a 1:1 mapping
between use_ash and is_chromeos, so consolidate them.

Bug: 673826
Test: compiles, gn check for Chrome OS, Linux, Linux Ozone
Change-Id: I00eddfc301716dec6e8468b2df42cdbd528829a5
Reviewed-on: https://chromium-review.googlesource.com/719455
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: Elliot Glaysher <erg@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#509121}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f8a2bf756a2b3d3e9ee1f447e1c2d94157a4e69c
2017-10-16 18:51:39 +00:00
Kevin Marshall c77c64e863 Revert "Modify GN feature args for Fuchsia."
This reverts commit 0e0bd52f773b7e06fa9237154110d9963d5aea03.

Reason for revert: The dragdrop data provider needs to be upstreamed from port CL before this will build.

Original change's description:
> Modify GN feature args for Fuchsia.
> 
> Turn off some features when is_fuchsia=true. The features may be
> re-added in the future as progress continues on the Chromium port
> and the OS itself.
> 
> It's necessary for bringing headless_shell to a buildable state.
> 
> 
> R: scottmg@chromium.org,thakis@chromium.org
> Bug: 750917
> Change-Id: I7011dfa559474d7eacce9482ae02c3330d113e94
> Reviewed-on: https://chromium-review.googlesource.com/596621
> Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
> Reviewed-by: Scott Graham <scottmg@chromium.org>
> Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
> Reviewed-by: Lei Zhang <thestig@chromium.org>
> Reviewed-by: Bill Budge <bbudge@chromium.org>
> Reviewed-by: Alexander Timin <altimin@chromium.org>
> Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#492531}

TBR=bbudge@chromium.org,dalecurtis@chromium.org,thakis@chromium.org,thestig@chromium.org,kmarshall@chromium.org,skyostil@chromium.org,scottmg@chromium.org,altimin@chromium.org

Change-Id: I0c7ac7b55bf18127cc2ad52c90b1b9f301900def
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 750917
Reviewed-on: https://chromium-review.googlesource.com/606747
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#492689}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f423b4deb515f78c7868ec4b39c091cd28b669dd
2017-08-08 17:40:53 +00:00
Kevin Marshall 0e747a989a Modify GN feature args for Fuchsia.
Turn off some features when is_fuchsia=true. The features may be
re-added in the future as progress continues on the Chromium port
and the OS itself.

It's necessary for bringing headless_shell to a buildable state.


R: scottmg@chromium.org,thakis@chromium.org
Bug: 750917
Change-Id: I7011dfa559474d7eacce9482ae02c3330d113e94
Reviewed-on: https://chromium-review.googlesource.com/596621
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#492531}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0e0bd52f773b7e06fa9237154110d9963d5aea03
2017-08-08 04:27:16 +00:00
Kevin Marshall fff22e7f5e Fuchsia: stub out missing ProcessMetrics methods.
Fuchsia: stub out missing ProcessMetrics methods.
The absence of Fuchsia stubs for these methods produced linker errors
when compiling the headless shell.

R: scottmg@chromium.org
Bug: 750948
Change-Id: If9e13e80e17852fe7692164b2cd0c728bdded9f3
Reviewed-on: https://chromium-review.googlesource.com/596624
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#491799}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bf7ca7a186a15260b25a171ba83e49e93a6c905d
2017-08-03 18:28:56 +00:00
Alexander Timin 2eafe99bf5 Revert "[headless] Use system libc++ for headless buildbot."
This reverts commit 8c44af79109a876fb109440634be3aa733cbbb05.

Original change's description:
> [headless] Use system libc++ for headless buildbot.
> 
> R=​eseckler@chromium.org
> BUG=615047
> 
> Change-Id: I27cca41d2ea79b07f34d48c1bc1091cfd6caa9d9
> Reviewed-on: https://chromium-review.googlesource.com/570242
> Reviewed-by: Eric Seckler <eseckler@chromium.org>
> Commit-Queue: Alexander Timin <altimin@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#486386}

TBR=altimin@chromium.org,eseckler@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 615047
Change-Id: Ifab0dc0459781e8ab35defb54d042a78610275e5
Reviewed-on: https://chromium-review.googlesource.com/590207
Reviewed-by: Alexander Timin <altimin@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Alexander Timin <altimin@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#490158}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: adeab5093b7efb9e22cd78da25363191cf78b62d
2017-07-28 00:26:12 +00:00
Alexander Timin 4a9a58b430 [headless] Use system libc++ for headless buildbot.
R=eseckler@chromium.org
BUG=615047

Change-Id: I27cca41d2ea79b07f34d48c1bc1091cfd6caa9d9
Reviewed-on: https://chromium-review.googlesource.com/570242
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Commit-Queue: Alexander Timin <altimin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#486386}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c44af79109a876fb109440634be3aa733cbbb05
2017-07-13 15:34:16 +00:00
Alexander Timin fa9670aa5f [headless] Allow headless to use bundled fontconfig.
Currently only chromecast uses bundled fontconfig. Expose gn switch
for this to allow headless embedders drop the dependency on the system
version of fontconfig and use bundled instead.

R=jochen@chromium.org,spang@chromium.org
BUG=615047

Change-Id: I85cafb98d95cd43d4945dd382d88c7ea49070fd5
Reviewed-on: https://chromium-review.googlesource.com/516622
Reviewed-by: Michael Spang <spang@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Alexander Timin <altimin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#474986}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e04e43e54065fb3b758200e23efb25697ead7e9
2017-05-26 12:33:07 +00:00
altimin af011228ec [headless] Make headless owners own build/args/headless.gn.
R=jochen@chromium.org
CC=skyostil@chromium.org

Review-Url: https://codereview.chromium.org/2879243002
Cr-Original-Commit-Position: refs/heads/master@{#472061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 72ee324cfc8b665fead069db226dbf7ef6af7fec
2017-05-16 11:22:03 +00:00
altimin e9efa695c3 [headless] Enable headless embedders to specify fonts.
R=skyostil@chromium.org

Review-Url: https://codereview.chromium.org/2877813002
Cr-Original-Commit-Position: refs/heads/master@{#471790}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb2f886f0b9491f8e01ee197cd82a909c11102a6
2017-05-15 16:36:33 +00:00
jzfeng 6c97effd09 Let users to print a webpage into pdf through PrintToPDF devtools command
under headless chrome.

This patch includes:
1) adding a new print manager, i.e., HeadlessPrintManager to handle all the
   printing related IPCs for headless.
2) plumbing through the pdf data from HeadlessPrintManager to
   HeadlessDevToolsManagerDelegate to handle the PrintToPDF command.
3) adding a new option to PrintWebViewHelper on Mac to return all the printed
   pages in the first PrintHostMsg_DidPrintPage message as a single file.
   This makes it conform to Linux and Windows, which simplify the logic in
   HeadlessPrintManager.

This patch guarantees that HeadlessPrintManager is the only IPC entry point.
In the future, if there are requirements to support the same devtools command
in regular chrome, we may consider a framework to ensure multiple print managers
to work properly under a content embedder.

BUG=603559

Review-Url: https://codereview.chromium.org/2780433002
Cr-Original-Commit-Position: refs/heads/master@{#463105}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0cbec8b353f24515cc77a67ee95addc4f7a714ab
2017-04-08 01:59:02 +00:00
altimin ad4a5750d2 [headless] Embed pak file into binary.
Embed headless_lib.pak into headless chromium binary.
Also make necessary changes to ui::ResourceBundle and ui::DataPack
to make this possible.

R=alexclarke@chromium.org,skyostil@chromium.org
BUG=610673

Review-Url: https://codereview.chromium.org/1969313005
Cr-Original-Commit-Position: refs/heads/master@{#449263}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ed1a70ef94814ec92966802be57c3a36d71b7f9
2017-02-09 11:59:37 +00:00
eseckler 6f9894bdc6 [headless] Clean up bot configs.
BUG=

Review-Url: https://codereview.chromium.org/2676743002
Cr-Original-Commit-Position: refs/heads/master@{#448701}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23c2f1952f5845194633c1ccd50e7408576c7465
2017-02-07 19:45:35 +00:00
nyquist 2fe0b666db Remove all //blimp code.
This CL removes all the code and build setup from //blimp and updates
related build, config and source code to not care about blimp anymore.

This does not update //cc, //content, //services, //ui or third_party
DEPS.

TBR=brettw@chromium.org
BUG=677556

Review-Url: https://codereview.chromium.org/2626423004
Cr-Original-Commit-Position: refs/heads/master@{#444465}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ab5fc81962a872e9dae8c54493360bac7d3d69d
2017-01-18 20:37:46 +00:00
nyquist 0524594deb Remove all blimp engine code
This CL deletes the //blimp/engine directory and related files.

List of things that are updated:
- Build files.
- Top-level presubmit file regarding ScopedAllowIO access.
- Resource IDs for grit resources for both blimp engine and client.
- Comments in files that refer to //blimp/engine.
- The client_engine_integration.py script and build config.
- Default GN arguments for the blimp engine (file is kept empty).

Documentation is not updated yet.

BUG=677556

Review-Url: https://codereview.chromium.org/2629743003
Cr-Original-Commit-Position: refs/heads/master@{#443730}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 790e4f0610545c7e41ab4642e7856b058687e1e6
2017-01-13 23:56:40 +00:00
nyquist a10c4df2bc Remove all blimp client code.
This CL removes all the client-side code for blimp.

As part of this, the following is also removed:
- Android JNI-specific test setup.
- Client code GN arguments and related args-files.

The documentation is not updated in this CL.

BUG=677556

Review-Url: https://codereview.chromium.org/2624903006
Cr-Original-Commit-Position: refs/heads/master@{#443645}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 68fd4f3727d0ba8299824823b4f4aa8022fd282a
2017-01-13 20:09:53 +00:00
perumaal 9f8cbc3462 Refactor BlimpConnection to TCPConnection as we move from one TCP-based API to a new Stream-based API
* BlimpConnection is now an abstract class.
* TCPConnection and tests are moved out of BlimpConnection.
* BlimpConnection no longer knows about TCP-related classes
  including MessagePort and such.
* Also in this CL: Skeleton gRPC plugin points.
* Fixed all unit-tests.

The overall idea is to enable gRPC support in Blimp. This is the first of a few CLs.

In this CL I tease apart the existing BlimpConnection and BlimpTransport into the specific TCPConnection and TCP*Transport classes. Next, I will introduce GrpcConnection and GrpcTransport that will use allow passing of BlimpMessages through Grpc layer. However, internally, GrpcConnection and GrpcTransport will use the new GrpcStream which implements the checked in HeliumStream interface.

Once this settles, the BlimpConnection and BlimpTransport-related classes (specifically, TCP/SSL/etc classes) will be removed and only the Helium-based transport mechanism will be used. Initially though the Helium protocol settles, this will first involve removing the TCP* classes alone.

Review-Url: https://codereview.chromium.org/2439403003
Cr-Original-Commit-Position: refs/heads/master@{#428227}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc6fa5a73536e3ccc06fd82c1b6d5da5a712223f
2016-10-28 00:08:13 +00:00
shenghuazhang e54cf97e80 Improve compile time for 'Blimp Client Engine Integration' bot
Add 'use_goma = true' for gn args.

BUG=656837

Review-Url: https://codereview.chromium.org/2427743004
Cr-Original-Commit-Position: refs/heads/master@{#426027}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6b9fe5c1b2e37c4a6cb9088f23377162b7fd2924
2016-10-18 19:58:01 +00:00
perezju 461d18272d Add mb config for linux_chromium_headless_rel
BUG=632008

Review-Url: https://codereview.chromium.org/2426553002
Cr-Original-Commit-Position: refs/heads/master@{#425928}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fb2b97208a79b561b514870669269b6ddbc93d77
2016-10-18 09:14:32 +00:00
perezju eede31be25 Use goma on headless bots
BUG=632008

Review-Url: https://codereview.chromium.org/2367723002
Cr-Original-Commit-Position: refs/heads/master@{#421208}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: facc5dff645da1f4f456ccd01f8397b68e203b11
2016-09-27 14:50:03 +00:00
jbudorick dfaa2c73a5 Add build and test configs for blimp client and engine bots on chromium.fyi.
BUG=649693

Review-Url: https://codereview.chromium.org/2364083002
Cr-Original-Commit-Position: refs/heads/master@{#420703}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4e4cb95c5adb74a53cd8d4a3f3fcd303223e451a
2016-09-23 19:52:41 +00:00
perezju 9d601d07a9 Add mb configuration for headless trybot
BUG=632008

Review-Url: https://codereview.chromium.org/2327093002
Cr-Original-Commit-Position: refs/heads/master@{#417913}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5b8c1c93f68915441a2430ea616fdeb5cc6f3135
2016-09-12 10:39:29 +00:00
altimin 0ba5bf54d0 [headless] Use embedded v8 data for headless.
R=alexclarke@chromium.org,skyostil@chromium.org,torne@chromium.org
BUG=610673

Review-Url: https://codereview.chromium.org/1962343002
Cr-Original-Commit-Position: refs/heads/master@{#416371}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f5c8a3b7f61475a02914f955e2f7c83910f92b65
2016-09-02 22:40:05 +00:00
amineer 4f6a9c759c Update parent waterfall for blimp-engine
BUG=635707
R=dpranke

Review-Url: https://codereview.chromium.org/2229663003
Cr-Original-Commit-Position: refs/heads/master@{#410580}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 15870c20bba2007e404cb37fe65a80b070be9f2d
2016-08-09 05:12:48 +00:00
nyquist 603acacfd8 Rename GN arg for enabling blimp.
Since the enable_blimp flag was only ever supposed to be used for
the blimp client, this makes that abundandtly clear by renaming
the GN arg itself.

BUG=611094,624025,608765

Review-Url: https://codereview.chromium.org/2179843005
Cr-Original-Commit-Position: refs/heads/master@{#407956}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7b77fb9f0d01e24b04f8c48f05c7007f4f5c1dce
2016-07-26 23:11:54 +00:00
nyquist 2f79efbddb Add BlimpClientContext and factory with real and dummy implementation
The BlimpClientContext is the core class which wires up all of the blimp
functionality. When it's created, it will get all its dependencies from
the embedder. It is currently in charge of creating BlimpContents, but
will also own things like the BlimpClientSession. It is part of the
public //blimp/client/public API. It is a KeyedService and is typically
tied to a Profile.

The BlimpClientContextFactory lives in //chrome to be able to access
Profile during construction, since //blimp/client currently does not
depend on //content where BrowserContext lives, and there are upcoming
dependencies that will be implemented by classes in //chrome.

The BlimpClientContext has two implementations in
//blimp/client/core, an actual one and a dummy implementation. The
dummy implementation is to be used when we do not want the blimp
code to be used, and the core implementation is the real blimp
implementation. Which one of these are in use is controlled by the
GN argument enable_blimp which defaults to false.

The BlimpClientContext has a public static create-method that is not
implemented in //blimp/client/public, but instead it is implemented by
//blimp/client/core by both the actual and the dummy implementation,
so the right method will be chosen at link-time. This means that a
target can only link with either the actual or dummy implementation.
Everything in //blimp/client/core is only visible to //blimp/client/*
and embedders should only ever depend on //blimp/client/public, which
will bring in the correct implementation. This works the same for both
C++ and Java, so when using the BlimpClientContextFactory (either in
Java or C++), the right implementation (actual or dummy) will always
be chosen correctly based on the link-time selection of the
Create-method.

The BlimpClientContext has a delegate that it can call out to whenever
it needs specific functionality from the embedder. As an example, this
CL adds a helper for attaching a Profile to every created
BlimpContents to make have similar functionality as what is built into
WebContents so one can get a Profile and thereby services by only
having access to a BlimpContents.

BUG=611094
TBR=erg@chromium.org

Review-Url: https://codereview.chromium.org/2132163002
Cr-Original-Commit-Position: refs/heads/master@{#405860}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9aa0cdee23229ca95a3bea79abcc584a395d016e
2016-07-15 21:21:47 +00:00
sriramsr 0dfa3ed48a Disable udev from Engine builds
udev support in Linux is used to get plug & play notification when an USB device
is plugged in. This is something that is unlikely to be used in Blimp Engine. So
disabling the code from Blimp Engine build.

BUG=625277

Review-Url: https://codereview.chromium.org/2112383003
Cr-Original-Commit-Position: refs/heads/master@{#403983}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a2c19e55cf5e0e87f2b99232182c1be0a94be9f1
2016-07-06 23:44:06 +00:00
haibinlu 81b677d6d1 Removes blimp browser tests from chromium.fyi.
The Blimp FYI slave is being moved to chromium.linux in https://codereview.chromium.org/2044513004/

BUG=617802

Review-Url: https://codereview.chromium.org/2042133003
Cr-Original-Commit-Position: refs/heads/master@{#398447}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 21f0570e45d2cc09a15830f0a43119f4f2ac2419
2016-06-08 01:20:12 +00:00
haibinlu 274d94c428 Adds blimp browser tests to run on Chromium.linux.
BUG=602407

Review-Url: https://codereview.chromium.org/2042873004
Cr-Original-Commit-Position: refs/heads/master@{#398203}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: db7e32cad39ac249f1a016d5c3bd0f4ffef765f6
2016-06-07 02:31:20 +00:00
haibinlu de44ba22d7 Blimp Engine is based on Linux with USE_AURA, and its client is an Android app. It is desirable for end users to see the same Chrome Android external popup menu handling.
Thus, add USE_EXTERNAL_POPUP_MENU flag so that Blimp Engine can follow the same code path of the external Android popup menus before it reaches WebContentsView.

BUG=598764
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/1992393002
Cr-Original-Commit-Position: refs/heads/master@{#397575}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c643d33cf668665bac4562e69a72f9ef29b5bbed
2016-06-03 02:23:50 +00:00
maniscalco 060e1e80a1 Build Engine with symbol_level = 1 to get line numbers in crash reports
TEST=See bug for details on how this was tested.

BUG=616237

Review-Url: https://codereview.chromium.org/2026983003
Cr-Original-Commit-Position: refs/heads/master@{#397013}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4b0c15cc18e8930d5959376d075c6d9672613218
2016-06-01 01:26:01 +00:00
haibinlu a11885a5fd Sets Blimp fyi bot to use goma
BUG=614813

Review-Url: https://codereview.chromium.org/2013983002
Cr-Original-Commit-Position: refs/heads/master@{#396049}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c44d3d15bc6bf9d09a3d5244f4f240ce1731db58
2016-05-26 00:05:49 +00:00
marcinjb 2370cc6c05 Make official Blimp Engine builds have a symbol level of 0
Using the 'is_official_build' gn flag pulls in a bunch of debugging
symbols that we don't need for the engine, and in fact will bloat the
binary size. Using a symbol level of 0 has no effect on the breakpad
symbol file generated by dump_app_syms.py, so we don't lose any of our
desired debugging capabilities.

Tested by building with the buildbot configuration, uploading symbols,
and causing an engine crash with 'kill -6'.

BUG=613186

Review-Url: https://codereview.chromium.org/1987313004
Cr-Original-Commit-Position: refs/heads/master@{#394906}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 379f3f501b387fae1d2807b096f993015dbb3d68
2016-05-19 23:40:04 +00:00
haibinlu 188a18c319 Adds blimp browser tests to run on Blimp Linux bot.
Bot Recipe CL: https://codereview.chromium.org/1987433002/

BUG=611241

Review-Url: https://codereview.chromium.org/1981123002
Cr-Original-Commit-Position: refs/heads/master@{#394686}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3eec1919ad732c5bbe334f8248b1616c1a970d45
2016-05-19 05:24:12 +00:00
marcinjb 01ca9403e7 Add an action to create a symbol file for the Blimp engine
This is modeled after what is done for the official Chrome linux build.
As it stands right now, the breakpad symbol file is roughly 300MB and
takes a couple of minutes to run, so the action should only be triggered
if this is an official release.

BUG=597454

Review-Url: https://codereview.chromium.org/1979773002
Cr-Original-Commit-Position: refs/heads/master@{#394191}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 060ef497fef78501475548ec61dbc8c290f02a9b
2016-05-17 19:41:12 +00:00
altimin 78d6e00bf0 [headless] Use embedded icu data for headless.
R=alexclarke@chromium.org,skyostil@chromium.org
BUG=610673

Review-Url: https://codereview.chromium.org/1964893002
Cr-Original-Commit-Position: refs/heads/master@{#392900}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c29ab96bddc5a4e964a66cb5ed7872771db8ff59
2016-05-11 12:16:44 +00:00
haibinlu 64c139efc2 Configs Blimp Engine official build to use non-debug build with dcheck_always_on
WebP encoding is much slower on debug build. Switches to release build with dcheck on.

BUG=603643

Review-Url: https://codereview.chromium.org/1927323003
Cr-Original-Commit-Position: refs/heads/master@{#392150}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 335a22ae39ad32f0a75f1c7accfc6119e5f00df8
2016-05-06 20:59:11 +00:00
altimin 8cd994834f [headless] Do not use libpci with headless.
Headless doesn't use GPU, therefore it doesn't need libpci.

R=alexclarke@chromium.org,skyostil@chromium.org
BUG=546953

Review-Url: https://codereview.chromium.org/1942283003
Cr-Original-Commit-Position: refs/heads/master@{#391298}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34badeba15b5cd8861b143daeba32093ce9352c4
2016-05-03 18:12:36 +00:00
perezju 56042b74fd Add tests for Headless Linux bot
BUG=594108

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

Cr-Original-Commit-Position: refs/heads/master@{#387563}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b8b863a043b50ec783dc9cacd683700802a27130
2016-04-15 09:21:16 +00:00
dpranke 50d3068a71 Support references to args files in MB.
Eventually we want most of the MB implementation to go away;
in particular, we probably want the bots to pick up their
GN configurations from args files, rather than from configs
in the mb_config.pyl file.

This CL adds support for specifying a given args file for a bot
in the master/builder configs directly, so you can specify
"masters": {"master": {"builder": "//foo/bar/baz.gn"}}. When
MB runs, it'll create an args.gn in the build directory that
contains the line 'import("//foo/bar/baz.gn")', which will
ensure the args are kept in sync.

R=brettw@chromium.org, jessicag@chromium.org, perezju@chromium.org
BUG=602528

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

Cr-Original-Commit-Position: refs/heads/master@{#387234}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9dd5e25ac7e13a059c68e71b8a22955d952c23a3
2016-04-14 04:24:52 +00:00
maniscalco edd2bc64af Update blimp build bot args match build/args/blimp_engine.gn
Reorder args so it's easier to spot differences.

Remove gyp_defines because blimp is not designed to build with gyp.

BUG=602696

Committed: https://crrev.com/55bf089c901fb38204b642edc847b6259697ee9e
Cr-Commit-Position: refs/heads/master@{#386760}

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

Cr-Original-Commit-Position: refs/heads/master@{#387010}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa26b499f5f41c9e62414496df5c4430f9b579cd
2016-04-13 17:09:42 +00:00
nednguyen aa8f13d798 Revert of Update blimp build bot args match build/args/blimp_engine.gn (patchset #4 id:60001 of https://codereview.chromium.org/1878273003/ )
Reason for revert:
Speculative revert: this breaks page_cycler.intl_hi_ru and page_cycler.intl_es_fr_pt-BR benchmarks

Original issue's description:
> Update blimp build bot args match build/args/blimp_engine.gn
>
> Reorder args so it's easier to spot differences.
>
> Remove gyp_defines because blimp is not designed to build with gyp.
>
> BUG=602696
>
> Committed: https://crrev.com/55bf089c901fb38204b642edc847b6259697ee9e
> Cr-Commit-Position: refs/heads/master@{#386760}

TBR=dpranke@chromium.org,maniscalco@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=602696

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

Cr-Original-Commit-Position: refs/heads/master@{#386912}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76edf5cc66829c9a2aed30dab102de2cc16da1c7
2016-04-13 04:07:34 +00:00
maniscalco 0cf2c93f1c Update blimp build bot args match build/args/blimp_engine.gn
Reorder args so it's easier to spot differences.

Remove gyp_defines because blimp is not designed to build with gyp.

BUG=602696

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

Cr-Original-Commit-Position: refs/heads/master@{#386760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55bf089c901fb38204b642edc847b6259697ee9e
2016-04-12 19:36:58 +00:00
kylechar d30a692c4b Only compile ozone_platform_headless for headless.gn.
Ensure that ozone_platform_headless is the only ozone platform compiled
in the sample headless configuration. Other ozone platforms are included
by default and aren't necessarily desired.

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#386672}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7dfdf188b6c9bfc4e208949a1be8af557c0264b0
2016-04-12 13:48:20 +00:00
maniscalco 7f63069e73 Update blimp_engine.gn to use headless ozone platform
Disable ozone auto platform selection for blimp engine builds.  Ensure
blimp does not have a dependency on X11.

BUG=602312

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

Cr-Original-Commit-Position: refs/heads/master@{#386469}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 83282ff073fe045d06df62468e9683db17f18e8c
2016-04-11 21:05:37 +00:00
nyquist 91aeb63d5a Add support for defaulting to low quality image interpolation.
Currently only Android sets the flag for
WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION since it has been the only
platform needing it.

When painting images on one platform, and reproducing them
remotely, the painting side must make sure that the receiving side
is able to render them and ensure that there is no mismatch.

This CL declares a new GN arg so that other platforms may optionally
set this flag as well. The new GN arg is
use_low_quality_image_interpolation and it defaults to is_android.

There should be no changes to existing behavior if the flag is not
set.

BUG=597803
R=dpranke@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#385913}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 384c6056c4e1d0eb347f705c454437ae40e6f7cb
2016-04-07 23:08:51 +00:00
skyostil 2abf5b90a5 headless: Replace is_headless gn setting with an args template
Replace the is_headless setting with a GN args template file which
explicitly lists the settings needed to build the headless
configuration. To make this work, some of the existing settings need to
be moved into declare_args to make them overridable.

BUG=546953

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

Cr-Original-Commit-Position: refs/heads/master@{#384549}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2df951b02d7d03cd35d64e7bfc725eb24e1fd4b3
2016-04-01 11:36:03 +00:00
jessicag 891a3ba53c Add support for Blimp engine metrics reporting in development.
Currently there is no way of recording or reporting metrics for the Blimp engine.

To collect metrics for the Blimp engine in development two things are required. First, for metrics recording and reporting to be enabled on the Blimp engine.  Second, for the metrics logging to flag Blimp engine reports so they can be filtered from other linux metrics reports. These code behavior changes are currently kept between a single build arg, but are controlled via separate defines checks.

These changes will allow metrics to be collected on development instances of Blimp and viewed separately from Linux builds.

BUG=592757

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

Cr-Original-Commit-Position: refs/heads/master@{#380760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ab7a08b61e58d1a50565cb892f3402cebafbcf16
2016-03-11 22:37:09 +00:00
jessicag 28c7f45bed Update to use absolute path in instruction comments.
Currently the comments in the template use a relative path.

Switching to an absolute path brings the comments in line with the blimp build docs and makes usage more robust.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#379705}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6f6fad43de425bca8c4178b95a9f1a5806ae6a2d
2016-03-08 02:34:55 +00:00