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

10923 Коммитов

Автор SHA1 Сообщение Дата
stip 9477596535 Make content_shell_test fit isolate naming convention.
This allows use of the gtest test generator and easy swarming.

https://chromereviews.googleplex.com/412157013/ is the corresponding internal build CL.

BUG=525873

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

Cr-Original-Commit-Position: refs/heads/master@{#389614}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d2e8c4d0b66f07bff4485999a4cdd1294a56762
2016-04-25 23:39:48 +00:00
scottmg 8d97855337 Update Crashpad to 00d458adaf3868999eeab5341fce5bedb81d17a1
f64ef73d8bba Update project status docs for Windows
74c3eb8d0f3e doc: Fix links with plus signs in rendered output
71f6724239bf Disable end-to-end test of extra memory range removal
12536e06e526 Replace base/template_util.h stuff with C++11 type_traits
1fe622550d87 win: Check that UseHandler() has been called in
	 DumpAndCrash()
0d4438b2a547 win: Don't add zero-sized memory ranges to dump
96dba6713abf Make VS2015 build work
dbfcb5d03211 win: Cap indirect memory gathering
6a6a0c27ed0c win: Support dumping another process by causing it to crash
b6089da2bfab Roll mini_chromium to 783fdf3ccc1c
cf452d9a8608 Fix Mac after dbfcb5d03
a4649789a52f Roll mini_chromium to 0a9dc1c4feea
d6d726a0eb83 Update to use base/bit_cast.h to follow to follow
	 https://codereview.chromium.org/399313006
a02ba240062a Convert from scoped_ptr to std::unique_ptr
00d458adaf38 Roll mini_chromium to 964ee49aa24e

BUG=crashpad:104,crashpad:103,crashpad:98

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

Cr-Original-Commit-Position: refs/heads/master@{#389578}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9e3bcaa124626a0e2f1781fbb8c4a390930fc894
2016-04-25 22:13:00 +00:00
hzl 9ab715c994 Raise exception when devices fail to list tests.
Before we only make sure that list of test cases are not None, but then
we realise that list of test cases should not be empty too, since
sometimes when devices fail to list tests, they will not return None,
but will return an empty list.

BUG=585585

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

Cr-Original-Commit-Position: refs/heads/master@{#389576}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d73e44f7177fe1dbb6e868120b985a6c9fb8a30
2016-04-25 22:00:15 +00:00
andrewhayden 3dd6d76a3f Drop support for Compact Language Detector v1.
Compact Language Detector (CLD) v2 has been the only version used by Chromium
for several months. A PSA announcing deprecation was sent in September 2015, see
the bug for more details.

This change should be a no-op for all platforms, since all platforms are already
migrated to CLD v2.

BUG=605688

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

Cr-Original-Commit-Position: refs/heads/master@{#389544}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: edab266c2b432d1200dc1de23fc5424dcd8d3b23
2016-04-25 19:51:05 +00:00
rsesek ef264087bd [iOS/Mac/GN] The framework_bundle template should not force dependencies to link it.
Several targets require a build-time dependency on a framework bundle, but not a
link-time one. This can be if the target is only using the framework for its
resources or if it dlopen()s it at run-time.

framework_bundle now adds another target (target_name+link) that can be used if
something wants a link-time dependency on the framework bundle. By default, only
a build-time dependency is created.

BUG=297668
R=sdefresne@chromium.org,brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#389528}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 152572b1ae44de42b011c667c1d8bf317810851e
2016-04-25 18:54:21 +00:00
agrieve 2bcd89221d Move linux pkg_config() calls into separate BUILD.gn files
This showed up as a bottleneck for gn gen on Android. Refactoring these
out improves gn gen time (avg of 3 trails on my machine) from 2151->1984

BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#389484}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 95ba4446355ffd95eca68d3c3ba7fc3c2e364b6d
2016-04-25 15:48:44 +00:00
justincohen e5689df990 Revert of Add Archive step for iOS builds. (patchset #4 id:60001 of https://codereview.chromium.org/1907053003/ )
Reason for revert:
Downstream iOS CLs aren't ready for this yet.  Reverting for now.

Original issue's description:
> Add Archive step for iOS builds.
>
> Future xctest support will set the test's bundle_loader to Chromium and look
> for Chromium internals.  Setting `-fvisibility=hidden` during compile and
> stripping after linking makes graybox testing from xctest impossible.
>
> Instead, add a new 'Archive' configuration -- the same as what Xcode does --
> where visibility is set to hidden and stripping is done after linking, but skip
> those steps on the remaining configurations.
>
> This CL should land concurrently with an official bot script change to compile
> `ninja -C out/Release-iphoneos ; ninja -C out/Archive-iphoneos chrome`
> and to pull official binaries from out/Archive-iphoneos instead of
> Release-iphoneos.
>
> BUG=
> TBR=thakis@chromium.org
>
> Committed: https://crrev.com/aeaf816fe1be6ef1fc9f71a205bcc21e9625964f
> Cr-Commit-Position: refs/heads/master@{#389404}

TBR=sdefresne@chromium.org,baxley@chromium.org,rohitrao@chromium.org,smut@google.com,mark@chromium.org,thakis@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#389479}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b649ffbfb9492874a09804ca9d5b67bdc7967938
2016-04-25 15:06:06 +00:00
agrieve 3e60b55923 Reland #2 of Generate Android .isolate files used for test()s
Contains fix for ui_base_tests not having data set correctly for android.

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,apacible@chromium.org
NOTRY=true
BUG=589318
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#389470}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e41ae190dadf81f1561c8cdfd8b308b213817210
2016-04-25 14:14:34 +00:00
dpranke 7181610b0c Add MB configs for ClangToTLinux* bots on FYI
The tip-of-tree Clang bots rely on an environment variable
called LLVM_FORCE_HEAD_REVISION to be set in order to know
to fetch the tip-of-tree Clang and use its version in the compile
time defines, rather than the checked-in version.

We don't want GN to use or depend on environment variables,
so this patch modifies the clang update script to also look at
a new command line arg, and adds a GN arg called 'llvm_force_head_revision' to cause the same effect.

However, we need to keep the env var around for `gclient runhooks`
and to keep the existing bots (and devs) working while on GYP,
and, perhaps more importantly, adding a new GYP_DEFINE that
does what we need to build/common.gypi is proving intractable,
so we hack MB to rewrite what the GYP_DEFINE would be if life
made sense back into the env var.

BUG=481692, 582737
R=thakis@chromium.org, brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#389408}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 909bad6afa7124f67c4890f3c1bc244179141978
2016-04-24 23:16:33 +00:00
justincohen c0a35554ce Add Archive step for iOS builds.
Future xctest support will set the test's bundle_loader to Chromium and look
for Chromium internals.  Setting `-fvisibility=hidden` during compile and
stripping after linking makes graybox testing from xctest impossible.

Instead, add a new 'Archive' configuration -- the same as what Xcode does --
where visibility is set to hidden and stripping is done after linking, but skip
those steps on the remaining configurations.

This CL should land concurrently with an official bot script change to compile
`ninja -C out/Release-iphoneos ; ninja -C out/Archive-iphoneos chrome`
and to pull official binaries from out/Archive-iphoneos instead of
Release-iphoneos.

BUG=
TBR=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#389404}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aeaf816fe1be6ef1fc9f71a205bcc21e9625964f
2016-04-24 16:45:41 +00:00
antz 55b374cab9 Add armv8 support for 32-bit building
Updated config to build 32-bit for armv8-a.

BUG=internal b/28255481

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

Cr-Original-Commit-Position: refs/heads/master@{#389330}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fe6d4d102f10b6b746dd35e960abd456ce14cb88
2016-04-23 00:44:52 +00:00
jbudorick 46c1b68465 [Android] Fix lint suppression generation.
BUG=605296

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

Cr-Original-Commit-Position: refs/heads/master@{#389322}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a76c477d15d7c353b468137f3856805e494e219
2016-04-23 00:21:02 +00:00
brucedawson dfb159c55b Fixing gn manifests for many executables
Many executables are missing embedded manifest files when built with gn,
and remoting_desktop is missing the OS compatibility information. This
change cleans up most of these problems.

BUG=602505

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

Cr-Original-Commit-Position: refs/heads/master@{#389306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3eee0c968569c726bd8ca26c0a70b929b87f1427
2016-04-22 23:48:30 +00:00
thakis 95ddad0b10 Revert of clang/win: Disable precompiled headers. (patchset #1 id:1 of https://codereview.chromium.org/1904193002/ )
Reason for revert:
rnk might have fixed this upstream, let's give it a try :-)

Original issue's description:
> clang/win: Disable precompiled headers.
>
> The protobuf3 roll triggered a compiler crash in the pch codepath.
>
> BUG=605570
> R=hans@chromium.org
>
> Committed: https://crrev.com/589ef6b6a9d60b21d6c78b92887de1b9d04b7e0f
> Cr-Commit-Position: refs/heads/master@{#388887}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#389213}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8b6d787f07401e9c72a5858a00a396981bbc018d
2016-04-22 19:43:44 +00:00
agrieve 441c440b71 Revert of Generate Android .isolate files used for test()s (patchset #3 id:200001 of https://codereview.chromium.org/1914573002/ )
Reason for revert:
Broke ui_base_unittests
https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20GN/builds/33923/steps/ui_base_unittests/logs/stdio

Original issue's description:
> Reland of Generate Android .isolate files used for test()s
>
> Now uses gen.runtime rather than gen to be included by
> builder/tester configurations.
>
> TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,agrieve@chromium.org
> NOTRY=true
> BUG=589318

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,apacible@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#389167}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb5809b120c5ffd941d8f43fa651588fc2af551a
2016-04-22 18:17:04 +00:00
agrieve 35723a0875 Reland of Generate Android .isolate files used for test()s
Now uses gen.runtime rather than gen to be included by
builder/tester configurations.

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,agrieve@chromium.org
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#389148}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d205baf70287fec693da0166aa7aa8051b5985e
2016-04-22 17:14:44 +00:00
apacible 8818c3bfc1 Revert of Generate Android .isolate files used for test()s (patchset #4 id:60001 of https://codereview.chromium.org/1904823003/ )
Reason for revert:
WebKit Android (Nexus 4) blink_heap_unittests failing:

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/45633

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/45633/steps/blink_heap_unittests/logs/stdio

Original issue's description:
> Generate Android .isolate files used for test()s
>
> Tests use write_runtime_deps to have GN write out all runtime_deps, then
> use a new script "generate_isolate.py" to filter the files and create a
> .isolate.
>
> TBR=vollick
> BUG=589318
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

TBR=sgurun@chromium.org,vollick@chromium.org,dpranke@chromium.org,jochen@chromium.org,agrieve@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=589318

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

Cr-Original-Commit-Position: refs/heads/master@{#389134}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7aba779e901e0901b98a425193f7b829ba29fa1d
2016-04-22 16:33:40 +00:00
sdefresne 30e02023c7 [iOS] Remove dependency on //mojo on iOS due to build failure.
http://crrev.com/1832703002 introduced a dependency on //third_party/WebKit
that cause build failures when using Xcode version of clang (loading clang
plugin fails).

http://crrev.com/1910843002 tried to disable mojo_public_bindings_unittests
only, but the build present the same breakage after the latest roll. Disable
all mojo targets until the dependency on third_party/WebKit is fixed.

BUG=605508

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

Cr-Original-Commit-Position: refs/heads/master@{#389129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b582bd87eef350aed20c52eb552bf5e101e01b58
2016-04-22 16:10:08 +00:00
rsesek dbd17e82a4 [Mac/GN] Do not specify any default_libs to link.
This is the wrong thing to do. Targets should have control over what they link,
since adding frameworks can have run-time side effects. The only library that is
required is libSystem.dylib, but the linker implicitly adds that unless it
is creating a static executable.

BUG=431177

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

Cr-Original-Commit-Position: refs/heads/master@{#389111}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4806ea270d3151fddb36117261fbebb28ecbb2c4
2016-04-22 15:28:15 +00:00
agrieve b2ccfb2b84 GN(android) Don't run find.py on build/android/ant/empty/res
Shaves ~250ms off of gn gen.

BUG=484854

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

Cr-Original-Commit-Position: refs/heads/master@{#389107}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f59c773ff52a2a9c0f4a89f5d309c5dce5542aed
2016-04-22 15:10:18 +00:00
agrieve 7b6cac068b Generate Android .isolate files used for test()s
Tests use write_runtime_deps to have GN write out all runtime_deps, then
use a new script "generate_isolate.py" to filter the files and create a
.isolate.

TBR=vollick
BUG=589318
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#389105}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 964da0f3923afb10a52dfe81484d7f3dcb18bad6
2016-04-22 14:58:38 +00:00
sdefresne 67c6b5c0c1 [iOS] Remove dependency on //mojo on iOS due to build failure.
http://crrev.com/1832703002 introduced a dependency on //third_party/WebKit
that cause build failures when using Xcode version of clang (loading clang
plugin fails).

As mojo is currently not used on iOS, remove the dependency temporarily
by not building mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests.

BUG=605508

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

Cr-Original-Commit-Position: refs/heads/master@{#389080}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: babe70a9fc6770f67a4ce287c995d2bbcdaf0430
2016-04-22 11:58:04 +00:00
jbudorick 1152b29903 Revert of Implement arflags in the GN build. (patchset #2 id:20001 of https://codereview.chromium.org/1909163002/ )
Reason for revert:
speculatively reverting: issues with linking on the gpu bots again: https://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%206%29/builds/8079

Original issue's description:
> Implement arflags in the GN build.
>
> This flag was recently added in GN. This patch hooks it up to the toolchains
> and moves some flags to use it that previously had to be hardcoded on the
> tool command itself.
>
> Remove concurrent_links variable from gcc_toolchain which was unused.
>
> BUG=598599
> Reland of http://crrev.com/1896163003 with fix.

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

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

Cr-Original-Commit-Position: refs/heads/master@{#389000}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ce39e29422675764e94de94458ce3bb22fe53d3
2016-04-22 02:18:50 +00:00
krasin 0142b02692 build/install-build-deps.sh: support Ubuntu 16.04 (xenial).
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#388983}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eef3d4b229af09da83a2dfee8fe691c2874c0d36
2016-04-22 00:53:34 +00:00
brettw 89ef3456cd Implement arflags in the GN build.
This flag was recently added in GN. This patch hooks it up to the toolchains
and moves some flags to use it that previously had to be hardcoded on the
tool command itself.

Remove concurrent_links variable from gcc_toolchain which was unused.

BUG=598599
Reland of http://crrev.com/1896163003 with fix.

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

Cr-Original-Commit-Position: refs/heads/master@{#388971}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 920a09e4e58f92bf1ece1fcf1f31ec44185a4959
2016-04-22 00:24:54 +00:00
Nico Weber 46630c2866 clang/win: Disable precompiled headers.
The protobuf3 roll triggered a compiler crash in the pch codepath.

BUG=605570
R=hans@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#388887}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 589ef6b6a9d60b21d6c78b92887de1b9d04b7e0f
2016-04-21 20:41:21 +00:00
fsamuel 8e66bb1627 Introduce components/display_compositor
We would like to share BufferQueue, GLHelper and later other parts
of content/browser/compositor in Mus. This CL introduces a new
display_compositor component and moves BufferQueue, GLHelper and
friends to components/display_compositor.

BUG=601867
TBR=ben@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
NOTRY=true
NOTREECHECKS=true

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

Cr-Original-Commit-Position: refs/heads/master@{#388829}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 540b8c11b0418e42e79fa27b84ac4f3c0f7770fa
2016-04-21 18:49:32 +00:00
xlai 7802c871d0 Making CSSValue Pool thread local
CSSValuePool was used to be static instance on main thread
only. But OffscreenCanvas in a worker requires to access
the CSS value caches in a non-main thread. This patch uses
 the ThreadSpecific persistent handles to create static
CSSValuePool instances per thread when needed, and the
cleanup code is handled in ThreadState::cleanup() added by
patch https://codereview.chromium.org/1881933005.

As a result, WebKit unit tests (which does not use the
ThreadState::cleanup() as the worker thread) need to be
modified so that false positive leak errors will not be
reported.

In addition, an indirect memory leak "__strdup
/build/eglibc-3GlaMS/eglibc-2.19/string/strdup.c" is
generated in webkit unit tests; but after printing out the
full error stack trace, we observe that it eventually
originates from libfontconfig, a third_party library that
has leaks and has already been suppressed in
leak_suppression.cc. But the default stack trace is too
short on suppress this indirect memory leak; so we added
one more leak suppression underneath the libfontconfig.

BUG=599659

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

Cr-Original-Commit-Position: refs/heads/master@{#388815}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1174eb6ddb160985b51d1d45321e24c493aa7f83
2016-04-21 18:17:37 +00:00
schenney b22176d939 Remove a non-existent test from android disabled tests
RenderViewTest.onMsgPaintAtSize no longer exists, so the expectation
can be removed.

R=skyostil@chromium.org
BUG=139095

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

Cr-Original-Commit-Position: refs/heads/master@{#388803}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c5fd675b1a146fd1b71265fa256aa988c0444560
2016-04-21 17:32:41 +00:00
agrieve c42f3fc607 Delete unused build/android/pylib/base/base_setup.py
BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#388783}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 346c1908ef792fd99cb878397651f6dc5accbffa
2016-04-21 16:16:13 +00:00
thakis eecd7edee9 Revert of Introduce components/display_compositor (patchset #22 id:410001 of https://codereview.chromium.org/1902463002/ )
Reason for revert:
This added the new test to some FYI bots (but nowhere else?) and claimed that the binary can run on swarming but it doesn't add a _run target or an isolate file to actually run it on swarming. As a consequence, the FYI bots this added the test to that still use gyp now all fail their "isolate tests" step. Example: https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinux/builds/4976

Original issue's description:
> Introduce components/display_compositor
>
> We would like to share BufferQueue, GLHelper and later other parts
> of content/browser/compositor in Mus. This CL introduces a new
> display_compositor component and moves BufferQueue, GLHelper and
> friends to components/display_compositor.
>
> BUG=601867
> TBR=ben@chromium.org
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
> NOTRY=true
> NOTREECHECKS=true

TBR=ben@chromium.org,piman@chromium.org,sky@chromium.org,xhwang@chromium.org,tkent@chromium.org,fsamuel@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=601867

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

Cr-Original-Commit-Position: refs/heads/master@{#388760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b844a929a8e624c6391d5efab8aea49bb883874
2016-04-21 14:00:47 +00:00
jbudorick 0484581402 [Android] Log raw output for instrumentation test failures at info level.
BUG=605172

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

Cr-Original-Commit-Position: refs/heads/master@{#388682}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 25c8be0dd097710e6a0986fa88904565c8b55a3b
2016-04-21 03:15:53 +00:00
hashimoto cbd03dfa59 Use target_sysroot when building for target OS on target CPU
nacl's bootstrap toolchain should also use target_sysroot.

Nacl side change: https://codereview.chromium.org/1902683004/

BUG=604971
TEST=Remove build/linux/debian_wheezy_arm-sysroot, enter chrome-sdk with an arm board, gn gen --args=$GN_ARGS out/gn && ninja -C out/gn

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

Cr-Original-Commit-Position: refs/heads/master@{#388668}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3a1ce21a7cc8c9301173b595764b6545785804e8
2016-04-21 03:05:19 +00:00
fsamuel f65f40d916 Introduce components/display_compositor
We would like to share BufferQueue, GLHelper and later other parts
of content/browser/compositor in Mus. This CL introduces a new
display_compositor component and moves BufferQueue, GLHelper and
friends to components/display_compositor.

BUG=601867
TBR=ben@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
NOTRY=true
NOTREECHECKS=true

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

Cr-Original-Commit-Position: refs/heads/master@{#388662}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec03489356fa45add604aaca28f277a0c9f83dee
2016-04-21 02:46:37 +00:00
tkent ad68c67566 Revert of Introduce components/display_compositor (patchset #21 id:390001 of https://codereview.chromium.org/1902463002/ )
Reason for revert:
Broke Windows x64 build.
c:\b\build\slave\win_x64_builder__dbg_\build\src\components\display_compositor\buffer_queue_unittest.cc(142): error C2220: warning treated as error - no 'object' file generated
c:\b\build\slave\win_x64_builder__dbg_\build\src\components\display_compositor\buffer_queue_unittest.cc(142): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data

https://build.chromium.org/p/chromium.win/builders/Win%20x64%20Builder%20%28dbg%29/builds/20984/steps/compile/logs/stdio

Original issue's description:
> Introduce components/display_compositor
>
> We would like to share BufferQueue, GLHelper and later other parts
> of content/browser/compositor in Mus. This CL introduces a new
> display_compositor component and moves BufferQueue, GLHelper and
> friends to components/display_compositor.
>
> BUG=601867
> TBR=ben@chromium.org
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

TBR=piman@chromium.org,sky@chromium.org,xhwang@chromium.org,ben@chromium.org,fsamuel@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=601867

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

Cr-Original-Commit-Position: refs/heads/master@{#388661}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 442ab50b0b4a5ca8d8b634d6b79dea960918f1f0
2016-04-21 01:52:23 +00:00
friedman 4938a88ade Updating install-build-deps.sh to fix dependency issues in wily
Here's my testing:

% /tmp/case_test.sh precise
dummy-package_1 dummy-package_2

% /tmp/case_test.sh trusty
dummy-package_1 dummy-package_2 g++-4.8-multilib-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf

% /tmp/case_test.sh wily
dummy-package_1 dummy-package_2 g++-5-multilib-arm-linux-gnueabihf gcc-5-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf

% cat /tmp/case_test.sh
lsb_release=$1
arm_list="dummy-package_1
          dummy-package_2"
case $lsb_release in
  trusty)
    arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf
                gcc-4.8-multilib-arm-linux-gnueabihf"
    ;;
  wily)
    arm_list+=" g++-5-multilib-arm-linux-gnueabihf
                gcc-5-multilib-arm-linux-gnueabihf
                gcc-arm-linux-gnueabihf"
    ;;
esac
echo $arm_list

R=dpranke@chromium.org
BUG=435056

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

Cr-Original-Commit-Position: refs/heads/master@{#388652}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bf8b90af01f4e821a56d9c4a3dcfd908ecaa5837
2016-04-21 01:18:38 +00:00
jbudorick f03f2e0cf9 Revert of Implement arflags in the GN build. (patchset #2 id:20001 of https://codereview.chromium.org/1896163003/ )
Reason for revert:
variety of compile failures on Android bots that have been switched to GN, see https://codereview.chromium.org/1896163003/#msg18

Original issue's description:
> Implement arflags in the GN build.
>
> This flag was recently added in GN. This patch hooks it up to the toolchains
> and moves some flags to use it that previously had to be hardcoded on the
> tool command itself.
>
> Remove concurrent_links variable from gcc_toolchain which was unused.
>
> BUG=598599

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

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

Cr-Original-Commit-Position: refs/heads/master@{#388646}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0d539e12630324a0ab446b19cacf765761cf9684
2016-04-21 01:06:15 +00:00
fsamuel 758fd90582 Introduce components/display_compositor
We would like to share BufferQueue, GLHelper and later other parts
of content/browser/compositor in Mus. This CL introduces a new
display_compositor component and moves BufferQueue, GLHelper and
friends to components/display_compositor.

BUG=601867
TBR=ben@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#388641}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ea767b706b88fbeb77655c2193d593dfef54660a
2016-04-21 00:40:32 +00:00
xyzzyz 85fba2b861 Update //third_party/protobuf to version 3.
For context, see https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/zJZPkxEFVxY

For the things to look out for while reviewing this, see the doc https://docs.google.com/document/d/1qjSBV2ioi0mykAT1eSXuMaNqO0BIS-j1PeYfxT-TbW4/edit?usp=sharing

BUG=597321

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

Cr-Original-Commit-Position: refs/heads/master@{#388596}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7cf8148f570a1072928fa9ede6e0760edc137cbd
2016-04-20 23:51:39 +00:00
brettw f2cc0b265f Implement arflags in the GN build.
This flag was recently added in GN. This patch hooks it up to the toolchains
and moves some flags to use it that previously had to be hardcoded on the
tool command itself.

Remove concurrent_links variable from gcc_toolchain which was unused.

BUG=598599

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

Cr-Original-Commit-Position: refs/heads/master@{#388554}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c33bfab4e4dc2702bc6ccc36038defd850837bd2
2016-04-20 19:41:16 +00:00
svaldez df5a73b192 Remove use_openssl variable
This removes the definition of use_openssl from build/common.gypi since
nothing should be relying on it anymore.

R=thakis@chromium.org
BUG=604728

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

Cr-Original-Commit-Position: refs/heads/master@{#388539}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ba3958ab196964def88e432393b110f45f795ef8
2016-04-20 18:38:17 +00:00
svaldez 3cfb03e16c This removes most of the NSS files and both the use_openssl build argument and
macro since we no longer have any platforms using NSS for crypto/SSL.

BUG=604728
TBR=kelvinp@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#388517}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2135be5210856ba79bdb774166af869342c5dddf
2016-04-20 16:36:24 +00:00
bpastene 2f91397926 Expose the return code for gpu tests in bb_run_bot.
BUG=590288

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

Cr-Original-Commit-Position: refs/heads/master@{#388505}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d20f4778b5f60858d3f4f59c8aefd3075542d948
2016-04-20 15:38:59 +00:00
ljagielski 94c1354aa0 Build: disable icf for gcc builds with bundled gold
Gold doesn't respect section alignment when merging symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=17704

BUG=576197

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

Cr-Original-Commit-Position: refs/heads/master@{#388437}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: feea41a011671a28dd15e2bb1d1290d817d601c0
2016-04-20 07:55:12 +00:00
jbudorick 3854e24de2 [Android] Fix device handling in adb_reverse_forwarder.py.
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#388419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 884cfea7f0534a79daff21c7493f14647c56c6f1
2016-04-20 03:30:11 +00:00
hzl 5947ff5bd6 Made --filter-string optional for emma_coverage.
If we set emma_coverage as true, and do not set --filter-string in
args.gn, build will fail because --filter-string is mandatory. In this
cl, I am making --filter-string optional for emma_coverage.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#388413}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a18734145371ec315fb356119e63fb3c0661437
2016-04-20 02:57:27 +00:00
phosek 31ed1f44c1 Support excluding Google Test extensions
GN build of Google Test including Chromium's extensions which make it
impossible to reuse the GN build definition outside of Chromium without
pulling the entire src/testing. We provide a way to exclude these
extensions from the build.

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

Cr-Original-Commit-Position: refs/heads/master@{#388400}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ccff0d0ca88dc927380c9d0d4315af5faeee626d
2016-04-20 01:45:47 +00:00
rsesek 2da8ea927e [Mac/GN] Get //ppapi tests and examples working.
BUG=431177

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

Cr-Original-Commit-Position: refs/heads/master@{#388372}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4a73557574b16b4564842a3920202a93ebacfeb0
2016-04-20 00:19:27 +00:00
thakis b65e4bea2a Disable -Wundefined-var-template on the clang tot bots.
It's a new warning upstream and it fires in several places in Chromium.
Suppress this for now to get the clang tot bots back green.

BUG=604888
TBR=hans@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#388364}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d4e7c5c697e2d59d897a7bbedc77a33d798df85b
2016-04-19 23:53:35 +00:00
brettw c333310122 Add documentation for exec_script and gypi_to_gn
There have been several questions about this recently.

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

Cr-Original-Commit-Position: refs/heads/master@{#388341}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d385ecffc8fbe77cdb5e8b839896291a53b1c988
2016-04-19 22:55:02 +00:00