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

12489 Коммитов

Автор SHA1 Сообщение Дата
Pawel Hajdan, Jr 850c04f334 Unbundle libdrm
BUG=551343
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2782923002 .
Cr-Original-Commit-Position: refs/heads/master@{#460751}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a50f192a882b65f021c0c13345762c3a4d7a499
2017-03-30 14:31:51 +00:00
kjellander 53b5a6a762 Fix case error in install-build-deps.sh
It appears the "*" path in the case statement is never
matched due to the double-quotes (tested with bash 4.3.11 on
Trusty 14.04). Removing the quoting aligns with other case
statements in the script, and solves the problem. This bug
made https://codereview.chromium.org/2650823010 not have any
effect, which was discovered when deploying ARM 64 bots for
WebRTC.

BUG=684356,webrtc:7024

Review-Url: https://codereview.chromium.org/2790453002
Cr-Original-Commit-Position: refs/heads/master@{#460733}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 95504aea9818ec4e593358d0373f9c41531a3b67
2017-03-30 12:30:31 +00:00
krasin a634e44492 (Really) disable gdb-index for LTO.
This is a follow up to https://codereview.chromium.org/2782483002,
where only official LTO builds had got gdb-index disabled.

BUG=660216

Review-Url: https://codereview.chromium.org/2786603003
Cr-Original-Commit-Position: refs/heads/master@{#460421}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 95e4983f85e5afb97b37df59b5666b2f3d2949a1
2017-03-29 16:37:40 +00:00
wychen 133db8fa95 Add script fix_gn_headers.py to fix GN missing headers
The script is based on CLs authored by thakis@chromium.org:
- https://codereview.chromium.org/2770693003/
- https://codereview.chromium.org/2771373003/

BUG=661774

Review-Url: https://codereview.chromium.org/2781603003
Cr-Original-Commit-Position: refs/heads/master@{#460256}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b663358c89e05334e8cfff0f1f855fe4c72c192a
2017-03-29 01:06:58 +00:00
brucedawson bd82dfa88e New VS 2017 toolchain with dbghelp.dll fixes
This updates the package used when building Chrome with VS 2017 based
on the changes in https://chromium-review.googlesource.com/461385.

This packages versions of dbghelp.dll that can handle VS 2017's
/debug:fastlink binaries without hanging. This avoids hangs in windbg
and in base_unittests, and elsewhere.

See this bug for details:
https://developercommunity.visualstudio.com/content/problem/36255/chromes-base-unittests-fails-with-vs-2017-due-to-s.html

R=scottmg@chromium.org
BUG=683729

Review-Url: https://codereview.chromium.org/2778323002
Cr-Original-Commit-Position: refs/heads/master@{#460236}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a01e98bf1f7cd1b9418698808ae83fca54fb626
2017-03-28 23:28:26 +00:00
drott 2715439e5a Allow FreeType compilation and linkage from third_party on Windows
Create an OWNERS file for this directory and add myself as well. This is
preparation for using a shared FreeType between Blink and PDFium, but
not actually used as a depedency to any Windows targets yet.

BUG=700926

Review-Url: https://codereview.chromium.org/2781773003
Cr-Original-Commit-Position: refs/heads/master@{#460211}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e15f5107bfba9080481fd78ed35c69c81fc41ac3
2017-03-28 20:42:41 +00:00
thomasanderson ee47daef90 install-build-deps: Remove support for EOL distros
This CL
* Removes support for Precise, Utopic, Vivid, and Wily.
  * Precise is not really EOL, but Chrome no longer supports it.
* Fixes install-build-deps.sh on Yakkety.

R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2774743002
Cr-Original-Commit-Position: refs/heads/master@{#460187}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 05c4029f2ac708568f984a5ce4d75eabca12a915
2017-03-28 19:28:45 +00:00
mikecase f7ef9cb43e Add logging for logdog link to logcat.
Currently, logcats are very difficult to find in bot logs. Adding
logging to log the logdog links.

In the future, these links will get moved out of the python logs
and into the result detail HTML page.

Review-Url: https://codereview.chromium.org/2777103004
Cr-Original-Commit-Position: refs/heads/master@{#460151}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2753f4dd3d49fddb16c538feddb125c92cc0fe23
2017-03-28 17:22:37 +00:00
krasin c66ea07ede Use llvm-ar when building with Clang.
llvm-ar is faster and is capable of handling
LLVM bitcode files without a need for a Gold plugin.

BUG=660216,607968

Review-Url: https://codereview.chromium.org/2766333002
Cr-Original-Commit-Position: refs/heads/master@{#460129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8968cd5170f4a22b1c508ffa3bc240b346c44b1b
2017-03-28 16:46:15 +00:00
sdefresne 947f28d085 [ios] Add framework_dir flag to all_dependent_configs (-F).
When building a custom framework, the framework and the framework_dir
flags need to be added to the command-line of every linkable target
the depends directly or indirectly on it. GN propagates properly the
framework as it knows about "libs", but the -F flag added to ldflags
need to be propagated using all_dependent_configs.

BUG=704946

Review-Url: https://codereview.chromium.org/2778813002
Cr-Original-Commit-Position: refs/heads/master@{#460071}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5376139411f2b362d24abc27425f3827697a46d4
2017-03-28 12:44:55 +00:00
machenbach a58c37fd20 Revert of "Update linux sysroot from Wheezy to Jessie" (patchset #2 id:240001 of https://codereview.chromium.org/2776773002/ )
Reason for revert:
Breaks V8 perf testing:
http://crbug.com/705870

Original issue's description:
> Reland of "Update linux sysroot from Wheezy to Jessie" (patchset #1 id:1 of https://codereview.chromium.org/2772113002/ )
>
> Reason for revert:
> Relanding with fixed deps
>
> Original issue's description:
> > Revert of "Update linux sysroot from Wheezy to Jessie" (patchset #1 id:1 of https://codereview.chromium.org/2772503005/ )
> >
> > Reason for revert:
> > expected_deps_x64_jessie changes are causing a failure on the official builder
> >
> > https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chrome%2FGoogle_Chrome_Linux_x64%2F16997%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
> >
> > Original issue's description:
> > > Reland of "Update linux sysroot from Wheezy to Jessie"
> > >
> > > The last version of this change was:
> > > https://codereview.chromium.org/2748183005
> > >
> > > Which was reverted in:
> > > https://codereview.chromium.org/2776503002
> > >
> > > I've updated the expected package deps again, this
> > > time being sure to use is_chrome_branded=true when
> > > testing (which oddly seems to effect the deps).
> > >
> > > TBR=thestig (since this is effectively a reland)
> > > BUG=701894
> > >
> > > Review-Url: https://codereview.chromium.org/2772503005
> > > Cr-Commit-Position: refs/heads/master@{#459492}
> > > Committed: 7f43e46a78
> >
> > TBR=thakis@chromium.org,dpranke@chromium.org,thestig@chromium.org,sbc@chromium.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=701894
> >
> > Review-Url: https://codereview.chromium.org/2772113002
> > Cr-Commit-Position: refs/heads/master@{#459553}
> > Committed: f2296e4fca
>
> TBR=thakis@chromium.org,dpranke@chromium.org,thestig@chromium.org,thomasanderson@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=701894
>
> Review-Url: https://codereview.chromium.org/2776773002
> Cr-Commit-Position: refs/heads/master@{#459584}
> Committed: b0d4ad8b38

TBR=thakis@chromium.org,dpranke@chromium.org,thestig@chromium.org,thomasanderson@chromium.org,thomasanderson@google.com,sbc@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=701894

Review-Url: https://codereview.chromium.org/2780763002
Cr-Original-Commit-Position: refs/heads/master@{#460070}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 75a1434be05f2ef09c307f7b70713385232a5b84
2017-03-28 12:43:32 +00:00
Michael Achenbach c559cf2546 Whitespace change to trigger more bots
Bug: 705891
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
TBR=dsansome@chromium.org

Change-Id: I531807bd0760726f811b67802af7e87229605c77
Reviewed-on: https://chromium-review.googlesource.com/461179
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#460043}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 40677416942bd3f8e184e6c59b10261cea0054b9
2017-03-28 09:04:23 +00:00
Michael Achenbach 4f17d44eec Whitespace change to trigger bots
Bug: 705891
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
TBR=dsansome@chromium.org

Change-Id: I8a1df29b9a3252f50ec504baa675c70aa388e6e3
Reviewed-on: https://chromium-review.googlesource.com/461820
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#460042}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f67cfef3e420d140d949d10b47ea6c1ed8398642
2017-03-28 08:56:39 +00:00
satorux 5dd7ff3b70 Revert of Enable -Wdeprecated-register. (patchset #5 id:80001 of https://codereview.chromium.org/2780623003/ )
Reason for revert:
Broke os="chromeos" build: crbug.com/705812

Original issue's description:
> Enable -Wdeprecated-register.
>
> No behavior change.
>
> BUG=255186
>
> Review-Url: https://codereview.chromium.org/2780623003
> Cr-Commit-Position: refs/heads/master@{#459973}
> Committed: 76ad12fee7

TBR=dcheng@chromium.org,rouslan@chromium.org,kbr@chromium.org,thakis@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=255186

Review-Url: https://codereview.chromium.org/2778053003
Cr-Original-Commit-Position: refs/heads/master@{#459989}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9a94c24489a558b43f6938e86d6c4e69cc52afb
2017-03-28 02:29:37 +00:00
thakis 30d5728d7f Enable -Wdeprecated-register.
No behavior change.

BUG=255186

Review-Url: https://codereview.chromium.org/2780623003
Cr-Original-Commit-Position: refs/heads/master@{#459973}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76ad12fee73e4512dbb9c7a79ffb6cec33fae6f2
2017-03-28 01:35:35 +00:00
brucedawson 9f91eb223d Remove VS 2013 from vs_toolchain.py
Chrome has not built with VS 2013 for a while now, so no need to carry
that baggage around as we add VS 2017 support.

Review-Url: https://codereview.chromium.org/2771333002
Cr-Original-Commit-Position: refs/heads/master@{#459876}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e7c0d998d5416b380ffefe1f6acd6126e35d11ed
2017-03-27 20:59:15 +00:00
Nico Weber 9a841b4a32 Disable -Wl,--gdb-index with LTO.
Follow-up to https://codereview.chromium.org/2770933009/

https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chrome%2FGoogle_Chrome_Linux_x64%2F17053%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout

[1695/31073] LINK ./tls_edit
FAILED: tls_edit tls_edit.map.gz
python "../../build/toolchain/gcc_link_wrapper.py" --output="./tls_edit" --map-file "./tls_edit.map.gz" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=all -flto -fwhole-program-vtables -Wl,-plugin-opt,O1 -Wl,-plugin-opt,-function-sections -m64 -pthread -Werror -Wl,-O1 -Wl,--gc-sections -Wl,--gdb-index --sysroot=../../build/linux/debian_jessie_amd64-sysroot -L/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/lib/x86_64-linux-gnu -L/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/usr/lib -Wl,-rpath-link=/b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot/usr/lib -fsanitize=cfi-vcall -Wl,-rpath-link=. -Wl,--disable-new-dtags -o "./tls_edit" -Wl,--start-group @"./tls_edit.rsp"  -Wl,--end-group  -ldl -lrt
../../third_party/binutils/Linux_x64/Release/bin/ld.gold: warning: /tmp/lto-llvm-0b5201.o: corrupt debug info in .debug_info
../../third_party/binutils/Linux_x64/Release/bin/ld.gold: warning: /tmp/lto-llvm-0b5201.o: corrupt debug info in .debug_info
../../third_party/binutils/Linux_x64/Release/bin/ld.gold: warning: /tmp/lto-llvm-0b5201.o: corrupt debug info in .debug_info

BUG=none
TBR=krasin

Review-Url: https://codereview.chromium.org/2782483002 .
Cr-Original-Commit-Position: refs/heads/master@{#459866}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d9dbcf9e54cef6adb8f50288a6d907004cbfeb88
2017-03-27 20:23:00 +00:00
Nico Weber e4011c8550 linux: Improve gdb startup time for debug builds from over 4 minutes to 35s.
This change contains two parts, for full-symbol (symbol_level=2, default)
and reduced-symbol (symbol_level=1) debug builds. It has no effect on release
builds.

1.) For symbol_level=2, pass -Wl,--gdb-index to the linker. This lets the linker
write an index that lets it load binaries much faster.
gdb startup time for target chrome from goes from 60s to 10s and time from
`run` in gdb to the program actually starting from 270s to 45s.
In return, this slows down linking a bit, but for target chrome in a
debug build, it increases link time from 37s to 42s, which is better than
making people who want to use gdb wait several minutes every time they start
gdb.

There's some history here: We used to pass -Wl,--gdb-index long ago, and
then removed it in https://codereview.chromium.org/335903002/, with the
recommendation that people who want to use gdb could run build/gdb-add-index.
But running `gdb-add-index chrome` takes 73s nowadays, a lot more than the 5s
that gold needs. (Back then, gdb-add-index was faster, and gold, due to us
not yet defaulting to component builds in debug builds, was slower. Also,
people were on an older default Ubuntu and used an older gdb version.)

People who don't use gdb should use symbol_level=1 for their builds anyhow
(and bots do too), so this small regression in link time shouldn't affect
them.

Remove the explicit gdb_index gn arg now that this has a good default.

2) For symbol_level=1, make this mode actually work again after the gn swtich.
In symbol_level=1 builds, gn would pass `-g1 -gsplit-dwarf` to clang (*).
Surprisingly, -gsplit-dwarf implies -g2 with clang, so the -g1 gets
overriden by -g2 immediately.

Before this, symbol_level=1 in debug builds would produce full debug info.
Since all bots set symbol_level=1, this might help with build speed
on debug bots.  For people who set this locally, it'll also speed up
gdb startup time for target chrome from 39s to 13s and time from
`run` in gdb to the program actually starting from 255s to 35s.

*: clang always writes stack debug info to both .o and .dwo files, and lets
the linker link them into the executable, so -g1 -gsplit-dwarf would make
no sense. This was used as justification to make -gsplit-dwarf imply -g2,
as it otherwise wouldn't have an effect.

BUG=374952
R=piman@chromium.org, tansell@chromium.org

Review-Url: https://codereview.chromium.org/2770933009
Review-Url: https://codereview.chromium.org/2770933009 .
Cr-Original-Commit-Position: refs/heads/master@{#459824}
Committed: 7b26c51270
Cr-Original-Original-Commit-Position: refs/heads/master@{#459790}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b9f7581b93ae8096afed29d415791803caf2e2e3
2017-03-27 17:58:27 +00:00
jwd 08a8d1e1b8 Revert of linux: Improve gdb startup time for debug builds from over 4 minutes to 35s. (patchset #4 id:60001 of https://codereview.chromium.org/2770933009/ )
Reason for revert:
Suspicion that it cause a compile failure on https://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20%28dbg%29%2832%29/builds/65207

Original issue's description:
> linux: Improve gdb startup time for debug builds from over 4 minutes to 35s.
>
> This change contains two parts, for full-symbol (symbol_level=2, default)
> and reduced-symbol (symbol_level=1) debug builds. It has no effect on release
> builds.
>
> 1.) For symbol_level=2, pass -Wl,--gdb-index to the linker. This lets the linker
> write an index that lets it load binaries much faster.
> gdb startup time for target chrome from goes from 60s to 10s and time from
> `run` in gdb to the program actually starting from 270s to 45s.
> In return, this slows down linking a bit, but for target chrome in a
> debug build, it increases link time from 37s to 42s, which is better than
> making people who want to use gdb wait several minutes every time they start
> gdb.
>
> There's some history here: We used to pass -Wl,--gdb-index long ago, and
> then removed it in https://codereview.chromium.org/335903002/, with the
> recommendation that people who want to use gdb could run build/gdb-add-index.
> But running `gdb-add-index chrome` takes 73s nowadays, a lot more than the 5s
> that gold needs. (Back then, gdb-add-index was faster, and gold, due to us
> not yet defaulting to component builds in debug builds, was slower. Also,
> people were on an older default Ubuntu and used an older gdb version.)
>
> People who don't use gdb should use symbol_level=1 for their builds anyhow
> (and bots do too), so this small regression in link time shouldn't affect
> them.
>
> Remove the explicit gdb_index gn arg now that this has a good default.
>
> 2) For symbol_level=1, make this mode actually work again after the gn swtich.
> In symbol_level=1 builds, gn would pass `-g1 -gsplit-dwarf` to clang (*).
> Surprisingly, -gsplit-dwarf implies -g2 with clang, so the -g1 gets
> overriden by -g2 immediately.
>
> Before this, symbol_level=1 in debug builds would produce full debug info.
> Since all bots set symbol_level=1, this might help with build speed
> on debug bots.  For people who set this locally, it'll also speed up
> gdb startup time for target chrome from 39s to 13s and time from
> `run` in gdb to the program actually starting from 255s to 35s.
>
> *: clang always writes stack debug info to both .o and .dwo files, and lets
> the linker link them into the executable, so -g1 -gsplit-dwarf would make
> no sense. This was used as justification to make -gsplit-dwarf imply -g2,
> as it otherwise wouldn't have an effect.
>
> BUG=374952
>
> Review-Url: https://codereview.chromium.org/2770933009
> Cr-Commit-Position: refs/heads/master@{#459790}
> Committed: 7b26c51270

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

Review-Url: https://codereview.chromium.org/2776193002
Cr-Original-Commit-Position: refs/heads/master@{#459800}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 745ab003bddd9043058e1f19db831a9b4f0f6dbf
2017-03-27 16:30:48 +00:00
thakis 5950c42fc4 linux: Improve gdb startup time for debug builds from over 4 minutes to 35s.
This change contains two parts, for full-symbol (symbol_level=2, default)
and reduced-symbol (symbol_level=1) debug builds. It has no effect on release
builds.

1.) For symbol_level=2, pass -Wl,--gdb-index to the linker. This lets the linker
write an index that lets it load binaries much faster.
gdb startup time for target chrome from goes from 60s to 10s and time from
`run` in gdb to the program actually starting from 270s to 45s.
In return, this slows down linking a bit, but for target chrome in a
debug build, it increases link time from 37s to 42s, which is better than
making people who want to use gdb wait several minutes every time they start
gdb.

There's some history here: We used to pass -Wl,--gdb-index long ago, and
then removed it in https://codereview.chromium.org/335903002/, with the
recommendation that people who want to use gdb could run build/gdb-add-index.
But running `gdb-add-index chrome` takes 73s nowadays, a lot more than the 5s
that gold needs. (Back then, gdb-add-index was faster, and gold, due to us
not yet defaulting to component builds in debug builds, was slower. Also,
people were on an older default Ubuntu and used an older gdb version.)

People who don't use gdb should use symbol_level=1 for their builds anyhow
(and bots do too), so this small regression in link time shouldn't affect
them.

Remove the explicit gdb_index gn arg now that this has a good default.

2) For symbol_level=1, make this mode actually work again after the gn swtich.
In symbol_level=1 builds, gn would pass `-g1 -gsplit-dwarf` to clang (*).
Surprisingly, -gsplit-dwarf implies -g2 with clang, so the -g1 gets
overriden by -g2 immediately.

Before this, symbol_level=1 in debug builds would produce full debug info.
Since all bots set symbol_level=1, this might help with build speed
on debug bots.  For people who set this locally, it'll also speed up
gdb startup time for target chrome from 39s to 13s and time from
`run` in gdb to the program actually starting from 255s to 35s.

*: clang always writes stack debug info to both .o and .dwo files, and lets
the linker link them into the executable, so -g1 -gsplit-dwarf would make
no sense. This was used as justification to make -gsplit-dwarf imply -g2,
as it otherwise wouldn't have an effect.

BUG=374952

Review-Url: https://codereview.chromium.org/2770933009
Cr-Original-Commit-Position: refs/heads/master@{#459790}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7b26c51270cebd5de672a155b34f30bc8282c35a
2017-03-27 16:06:15 +00:00
Andrii Shyshkalov 55558c4eb0 Chromium whitespace test of git cl land.
TBR=sergiyb@chromium.org
BUG=682934

Review-Url: https://codereview.chromium.org/2775213002 .
Cr-Original-Commit-Position: refs/heads/master@{#459735}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eaf7753c64f3d2a1d334e76e2a3882b74148454b
2017-03-27 10:00:14 +00:00
halliwell ad3a39abce [Chromecast] Apply exclude_unwind_tables for appropriate builds
This reduces our installed APK size from ~90MB to 65 on ATV.  It
reduces earth OTA size by 1.5MB and earth cast_shell size by 5MB.

Leave unwind tables for builds where we regularly use a debugger (x86
and ATV debug).

BUG=internal b/36082628

Review-Url: https://codereview.chromium.org/2770833003
Cr-Original-Commit-Position: refs/heads/master@{#459619}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a13b58bb24fb7bc0bbc7d68296ef11a64df4989e
2017-03-25 01:51:51 +00:00
brucedawson e176b47d66 Add VS 2017 toolchain hash
This change adds a hash for the VS 2017 RTM toolchain download in depot
tools. This allows Googlers to use VS 2017 to build Chrome without
needing to install it, and lets build machines use VS 2017 (although
they continue to default to VS 2015.

The package was created on a Windows Server 2016 VM. One would hope that
the OS used wouldn't matter, but ...? Previous installs of VS 2015 or
the platform SDK are likely to leave files lying around that will alter
the hash so a clean VM is needed. Then follow these steps:

Install VS 2017 Professional RTM, selecting the "Desktop development with
C++" component, and add the MFC and ATL support option.

After this is done you need to install the debugger packages from the
Windows 10 SDK. Go to:
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
and be sure to check the Debugging Tools option. Once the installers
have downloaded you can find the x86 and x64 debugger installers in the
download directory in "Windows Kits\10\StandaloneSDK\Installers" - run
them both.

Then run the packaging script, like this:
> python depot_tools\win_toolchain\package_from_installed.py 2017

Note that this packages the 10.0.14393.0 SDK, but this is not the same
10.0.14393.0 SDK that was used in the previous VS 2015 packaging. The
SDK was updated without changing the version number. Most of the changes
should not matter, but be aware.

To use this package set these two environment variables:
    DEPOT_TOOLS_WIN_TOOLCHAIN=1
    GYP_MSVS_VERSION=2017

Then run "gclient runhooks" to download the new package. The .ninja
files will not automatically update so you may need to run gn gen on
your output directories.

The 'chrome' target should build cleanly without warnings. However
VS 2017 is not yet a supported toolchain so warnings may appear. You
may want to use the treat_warnings_as_errors = false build flag.

To run VS 2017 tests on the buildbots you need to change the
CURRENT_DEFAULT_TOOLCHAIN_VERSION in build\vs_toolchain.py to '2017'
and you need to add a landmine to force a rebuild.

The build process was tested on two separate VMs to ensure that the
results were consistent. They were.

BUG=683729

Review-Url: https://codereview.chromium.org/2777643002
Cr-Original-Commit-Position: refs/heads/master@{#459593}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 560bb951d9a6625633fcad4e4168fb7054bb4dfa
2017-03-24 23:10:01 +00:00
sbc 3fc61c9b14 Reland of "Update linux sysroot from Wheezy to Jessie" (patchset #1 id:1 of https://codereview.chromium.org/2772113002/ )
Reason for revert:
Relanding with fixed deps

Original issue's description:
> Revert of "Update linux sysroot from Wheezy to Jessie" (patchset #1 id:1 of https://codereview.chromium.org/2772503005/ )
>
> Reason for revert:
> expected_deps_x64_jessie changes are causing a failure on the official builder
>
> https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chrome%2FGoogle_Chrome_Linux_x64%2F16997%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
>
> Original issue's description:
> > Reland of "Update linux sysroot from Wheezy to Jessie"
> >
> > The last version of this change was:
> > https://codereview.chromium.org/2748183005
> >
> > Which was reverted in:
> > https://codereview.chromium.org/2776503002
> >
> > I've updated the expected package deps again, this
> > time being sure to use is_chrome_branded=true when
> > testing (which oddly seems to effect the deps).
> >
> > TBR=thestig (since this is effectively a reland)
> > BUG=701894
> >
> > Review-Url: https://codereview.chromium.org/2772503005
> > Cr-Commit-Position: refs/heads/master@{#459492}
> > Committed: 7f43e46a78
>
> TBR=thakis@chromium.org,dpranke@chromium.org,thestig@chromium.org,sbc@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=701894
>
> Review-Url: https://codereview.chromium.org/2772113002
> Cr-Commit-Position: refs/heads/master@{#459553}
> Committed: f2296e4fca

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

Review-Url: https://codereview.chromium.org/2776773002
Cr-Original-Commit-Position: refs/heads/master@{#459584}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b0d4ad8b38bfaf4c66ab07fdbe892aee8d207bed
2017-03-24 22:50:06 +00:00
lgarron f792848af8 Rename WebsiteSettings code to PageInfo.
This was automated using a script [1] that does the following:
- Rename relevant files in the following folders from website_settings* to
  page_info*:
  - chrome/browser/ui/page_info
  - chrome/browser/ui/cocoa/page_info
  - chrome/browser/ui/views/page_info
  - chrome/browser/ui/android/page_info
  - chrome/android/java/res/layout
- Run `./tools/git/mass-rename.py` to update e.g. includes, build files, header
  guards.
  - mass-rename.py does not handle test files (https://crbug.com/701529) or
    Java, so those are handled separately, either in an early step are as part
    of the later renames.
  - `page_info_bubble_controller.h` needs a separate header guard fix.
- Use `sed` to rename classes, enums, non-UMA strings, and comments *WebsiteSettings* to *PageInfo* across the entire Chromium project.
  - Since several content settings classes are also called "WebsiteSettings", this is done by taking a full list of all occurrences of full tokens containing "WebsiteSettings", "website_settings", or "website settings" and whitelisting individual replacements.
  - To avoid modifying strings, all lines containing the relevant tokens *following at least one quote mark on the same line* are preserved, except two individually handled cases. There do not appear to be any affected multi-line strings.
- `git cl format`
- Remove two long-standing TODO comments about this rename, in:
  - PageInfoPopup.java
  - page_info_bubble_controller.h

This CL does not attempt to reflow comments; all changes stay within 80 lines, though.

[1] https://github.com/lgarron/website-settings-to-page-info/blob/master/page_info.fish

BUG=571506
TBR=jochen@chromium.org

Review-Url: https://codereview.chromium.org/2754383004
Cr-Original-Commit-Position: refs/heads/master@{#459562}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 617a30f35e5cec5df6c15a8d7fbb222cdbabcccc
2017-03-24 21:42:07 +00:00
thomasanderson 5434f3c02d Revert of "Update linux sysroot from Wheezy to Jessie" (patchset #1 id:1 of https://codereview.chromium.org/2772503005/ )
Reason for revert:
expected_deps_x64_jessie changes are causing a failure on the official builder

https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chrome%2FGoogle_Chrome_Linux_x64%2F16997%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout

Original issue's description:
> Reland of "Update linux sysroot from Wheezy to Jessie"
>
> The last version of this change was:
> https://codereview.chromium.org/2748183005
>
> Which was reverted in:
> https://codereview.chromium.org/2776503002
>
> I've updated the expected package deps again, this
> time being sure to use is_chrome_branded=true when
> testing (which oddly seems to effect the deps).
>
> TBR=thestig (since this is effectively a reland)
> BUG=701894
>
> Review-Url: https://codereview.chromium.org/2772503005
> Cr-Commit-Position: refs/heads/master@{#459492}
> Committed: 7f43e46a78

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

Review-Url: https://codereview.chromium.org/2772113002
Cr-Original-Commit-Position: refs/heads/master@{#459553}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f2296e4fcaef7fdced40ebf3ca736d5dc58c66cd
2017-03-24 21:16:03 +00:00
sbc ab5bc5821c Reland of "Update linux sysroot from Wheezy to Jessie"
The last version of this change was:
https://codereview.chromium.org/2748183005

Which was reverted in:
https://codereview.chromium.org/2776503002

I've updated the expected package deps again, this
time being sure to use is_chrome_branded=true when
testing (which oddly seems to effect the deps).

TBR=thestig (since this is effectively a reland)
BUG=701894

Review-Url: https://codereview.chromium.org/2772503005
Cr-Original-Commit-Position: refs/heads/master@{#459492}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7f43e46a7830cb92c08b8245f7f48f0d3a2fab47
2017-03-24 18:45:44 +00:00
drott aaab5fcbd1 Control FreeType linkage globally in //build/config/freetype
Preparation for linking FreeType on Windows.

BUG=700926

Review-Url: https://codereview.chromium.org/2773123002
Cr-Original-Commit-Position: refs/heads/master@{#459471}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53207ce64fc1d03d0fce3f8596a4a3ba1f917543
2017-03-24 17:50:23 +00:00
brettw 1c401440cf Enable noexcept on Windows, use for a few move constructors.
MSVC complains if you use noexcept with no exception handling mode specified (as we do).
This code disables the warning. noexcept on move constructors allows better optimizations
in some cases.
http://en.cppreference.com/w/cpp/language/noexcept_spec

Updates a few common classes' move constructors to use this.

Reland of https://codereview.chromium.org/2771643002 with landmine. There were some
reports of PCH headers not getting updated and the warning change no taking effect.
I investigated briefly but could not see why PCH dependencies are incorrect.

Review-Url: https://codereview.chromium.org/2769283002
Cr-Original-Commit-Position: refs/heads/master@{#459455}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f78cc27d15ccbd1fd0c5c93aa03b939cd89b9b89
2017-03-24 16:36:42 +00:00
lambroslambrou 96aa45c609 [remoting android] Make Android credits a GN template.
BUG=697128

Review-Url: https://codereview.chromium.org/2763623003
Cr-Original-Commit-Position: refs/heads/master@{#459335}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6d34234ffabc40b20a7e7e82794d3f7dc06f13b4
2017-03-24 01:58:03 +00:00
hzl a18678dc18 (Reland) Use logdog butler subcommand to run tests.
Previously we ran tests, without setting butler environment variables.
This will run into NotBootstrappedError when we try to upload test
results through logdog.

In this cl, we use logdog butler subcommand to run tests, which will set
butler environment variables before hand.

BUG=692287

Review-Url: https://codereview.chromium.org/2695963003
Cr-Commit-Position: refs/heads/master@{#456976}
Committed: de2df28c86

patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001)

Review-Url: https://codereview.chromium.org/2767833002
Cr-Original-Commit-Position: refs/heads/master@{#459281}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b15df5f68a23a7c75af0e09ee52b4add1a6f1d6
2017-03-23 23:43:04 +00:00
mark b291aaae6f Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98
3eaee58970c2 doc: Update Android developer documentation for NDK 14
87c75552ad70 Implement ProcessInfo for Linux/Android
bad4fd00113a linux: Fix ProcessInfo for x86[_64]
48781dc182c2 linux: Fix process start time computation
9be4745be0f7 linux: Lazily initialize ProcessInfo’s Is64Bit() and
             StartTime()
d7467ba7e485 linux: Use user_regs instead of pt_regs for 32-bit ARM in
             ProcessInfo
5938c6e9933a linux: Support ProcessInfo::Is64Bit() for ARM on pre-3.5.0
             Linux
82009cd14de5 android: Support builds with NDK API versions older than 21
             (compat)
b10d9118dea4 minidump: Ignore attempts to add user streams with type
             collisions
51b21d887467 Add DelimitedFileReader and use it in Linux/Android’s
             ProcessInfo
00b64427523b Make file_io reads more rational and predictable
4f90f1514692 Remove WeakStdioFileReader and WeakStdioFileWriter
88bc09fb8615 posix: Fix StdioFileHandle() for GCC
14138936b5c4 test: Compare ProcessInfo::Arguments() to main()’s
             argc/argv on POSIX
bc5b7b06db68 Fix racy WorkerThread test
542306626df8 minidump: Make the MemoryListStream the caboose once again
39f13a77a449 Make run_tests.py work with paths instead of configuration
             names
3983b80ca2fc util/file: Handle oversized reads and writes gracefully
e4cad9e51483 doc: Standardize on “macOS” in comments
c1157e87f164 Crashpad overview design doc
af66c4b74028 Add overview design doc link to root README.md
cca10659c739 android: Fix gmock-using tests’ use of MOCK_METHODn()
             with clang
db8c54e142d9 android: Add gyp_crashpad_android.py for easier Android
             development
013d5e14a30c #include <stddef.h> where offsetof() is used
7a7815506bf2 GCC fix: Don’t use arraysize() on packed structs
fa3413e14a22 GCC fix for -Wunused-but-set-variable
810d4815df8a minidump: Allow for user extension streams computed at
             crash time
cedfd7b9cd71 android: Don’t use OPEN_MAX
f8ef834ef5dd android: Support “unified headers” with GCC build
8e37886d418d linux: Don’t make assumptions about the CPU revision

BUG=crashpad:30, crashpad:167, crashpad:169, crashpad:171, chromium:703890

Review-Url: https://codereview.chromium.org/2773813002
Cr-Original-Commit-Position: refs/heads/master@{#459244}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a53e839bbe97b3936efad635e8feed3551cf545
2017-03-23 22:06:41 +00:00
wittman 853ebed1b0 Revert of Update linux sysroot from Wheezy to Jessie (patchset #3 id:40001 of https://codereview.chromium.org/2748183005/ )
Reason for revert:
Breaks the Official Linux build. Expected deps aren't matching up:

[30924/30936] ACTION //chrome/installer/linux:stable_rpm(//build/toolchain/linux:clang_x64)
FAILED: google-chrome-stable_59.0.3050.0-1.x86_64.rpm
python ../../chrome/installer/linux/flock_make_package.py linux_package.lock installer/rpm/build.sh -o . -b . -a x64 -c stable -d google_chrome
Staging common install files in '/tmp/rpm.build.PQ88Wk'...
Staging RPM install files in '/tmp/rpm.build.PQ88Wk'...
Packaging x86_64...
--- /b/c/b/Google_Chrome_Linux_x64/src/out/Release/installer/rpm/expected_deps_x86_64	2017-03-23 06:48:22.885425473 -0700
+++ /dev/fd/63	2017-03-23 08:04:33.320136041 -0700
@@ -15,7 +15,9 @@
 libasound.so.2()(64bit)
 libatk-1.0.so.0()(64bit)
 libc.so.6()(64bit)
+libc.so.6(GLIBC_2.11)(64bit)
 libc.so.6(GLIBC_2.14)(64bit)
+libc.so.6(GLIBC_2.15)(64bit)
 libc.so.6(GLIBC_2.2.5)(64bit)
 libc.so.6(GLIBC_2.3)(64bit)
 libc.so.6(GLIBC_2.3.2)(64bit)

ERROR: Shared library dependencies changed!
If this is intentional, please update:
chrome/installer/linux/rpm/expected_deps_i386
chrome/installer/linux/rpm/expected_deps_x86_64

[30925/30936] ACTION //chrome/installer/linux:unstable_deb(//build/toolchain/linux:clang_x64)
FAILED: google-chrome-unstable_59.0.3050.0-1_amd64.deb
python ../../chrome/installer/linux/flock_make_package.py linux_package.lock installer/debian/build.sh -o . -b . -a x64 -c unstable -d google_chrome -s /b/c/b/Google_Chrome_Linux_x64/src/build/linux/debian_jessie_amd64-sysroot
dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory
--- /b/c/b/Google_Chrome_Linux_x64/src/out/Release/installer/debian/expected_deps_x64_jessie	2017-03-23 06:48:22.885425473 -0700
+++ actual	2017-03-23 08:04:37.504250895 -0700
@@ -1,17 +1,17 @@
 gconf-service
 libasound2 (>= 1.0.16)
 libatk1.0-0 (>= 1.12.4)
-libc6 (>= 2.14)
+libc6 (>= 2.15)
 libcairo2 (>= 1.6.0)
 libcups2 (>= 1.4.0)
-libdbus-1-3 (>= 1.2.14)
+libdbus-1-3 (>= 1.1.4)
 libexpat1 (>= 2.0.1)
 libfontconfig1 (>= 2.11)
-libfreetype6 (>= 2.4.2)
+libfreetype6 (>= 2.3.9)
 libgcc1 (>= 1:4.1.1)
 libgconf-2-4 (>= 3.2.5)
 libgdk-pixbuf2.0-0 (>= 2.22.0)
-libglib2.0-0 (>= 2.31.8)
+libglib2.0-0 (>= 2.28.0)
 libgtk-3-0 (>= 3.3.16)
 libnspr4 (>= 2:4.9-2~)
 libnss3 (>= 2:3.13.4-2~)

ERROR: Shared library dependencies changed!
If this is intentional, please update:
chrome/installer/linux/debian/expected_deps_ia32_jessie
chrome/installer/linux/debian/expected_deps_ia32_wheezy
chrome/installer/linux/debian/expected_deps_x64_jessie
chrome/installer/linux/debian/expected_deps_x64_wheezy

Original issue's description:
> Update linux sysroot from Wheezy to Jessie
>
> This is an attempt to reland a change that was attempted
> several times already.  It now includes changes to the
> linux packaging expectations which previously caused
> failed on the official bots.
>
> TESTED=ninja linux_packages_all
> BUG=701894
>
> Review-Url: https://codereview.chromium.org/2748183005
> Cr-Commit-Position: refs/heads/master@{#459062}
> Committed: 94c4fa81c4

TBR=thestig@chromium.org,thomasanderson@chromium.org,dpranke@chromium.org,thakis@chromium.org,sbc@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=701894

Review-Url: https://codereview.chromium.org/2776503002
Cr-Original-Commit-Position: refs/heads/master@{#459128}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2365c833788230fc4e09d563fd2fcd4a80f06a31
2017-03-23 17:24:33 +00:00
agrieve 4087692444 Add optional --no-static-initializer-check to resource_sizes.py
Convenient when running it locally and you want it to be fast, but you
don't want to disable via --no-output-dir so that it still looks at .pak
files.

Review-Url: https://codereview.chromium.org/2764913002
Cr-Original-Commit-Position: refs/heads/master@{#459115}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6935a6b5c4cac7b654a002b7c80c133d458bfe39
2017-03-23 16:39:59 +00:00
scottmg 6252d1e0e5 Revert of Enable noexcept on Windows, use for a few move constructors. (patchset #3 id:40001 of https://codereview.chromium.org/2771643002/ )
Reason for revert:
Seems to have broken Windows build with args.gn as:

> is_debug = true
> is_component_build = true
> enable_nacl = false
> is_chrome_branded = true
> symbol_level = 2
> target_cpu = "x86"
> is_win_fastlink = true
> is_clang = false
> win_console_app = true
> win_linker_timing = true

Original issue's description:
> Enable noexcept on Windows, use for a few move constructors.
>
> MSVC complains if you use noexcept with no exception handling mode specified (as we do).
> This code disables the warning. noexcept on move constructors allows better optimizations
> in some cases.
> http://en.cppreference.com/w/cpp/language/noexcept_spec
>
> Updates a few common classes' move constructors to use this.
>
> Review-Url: https://codereview.chromium.org/2771643002
> Cr-Commit-Position: refs/heads/master@{#458956}
> Committed: 76aac97386

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

Review-Url: https://codereview.chromium.org/2769703007
Cr-Original-Commit-Position: refs/heads/master@{#459101}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 12c27f45b2cd8fea6c833a47d5270da42d791740
2017-03-23 16:03:38 +00:00
sbc 568ed23e5f Update linux sysroot from Wheezy to Jessie
This is an attempt to reland a change that was attempted
several times already.  It now includes changes to the
linux packaging expectations which previously caused
failed on the official bots.

TESTED=ninja linux_packages_all
BUG=701894

Review-Url: https://codereview.chromium.org/2748183005
Cr-Original-Commit-Position: refs/heads/master@{#459062}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 94c4fa81c45284d0fe1e5616f52fcad56745077b
2017-03-23 13:01:18 +00:00
brettw 4a2354d6ce Enable noexcept on Windows, use for a few move constructors.
MSVC complains if you use noexcept with no exception handling mode specified (as we do).
This code disables the warning. noexcept on move constructors allows better optimizations
in some cases.
http://en.cppreference.com/w/cpp/language/noexcept_spec

Updates a few common classes' move constructors to use this.

Review-Url: https://codereview.chromium.org/2771643002
Cr-Original-Commit-Position: refs/heads/master@{#458956}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76aac97386e2788241161420c5e7e0bfee16f88c
2017-03-23 00:37:36 +00:00
yolandyan 9ec913a1c3 Add findbugs filter to exclude UiThreadTestRule in java tests
BUG=640116

Review-Url: https://codereview.chromium.org/2764213002
Cr-Original-Commit-Position: refs/heads/master@{#458766}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: efd0b94f06c0d6566d9f7beeda45f5be337490c4
2017-03-22 16:18:41 +00:00
Michael Achenbach a53333d847 [build] Make using PIC configurable
BUG=v8:6105

Change-Id: I94805b744f7162c6a6270f30888548736886c30a
Reviewed-on: https://chromium-review.googlesource.com/457041
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#458667}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b20b416dd11de24ecbcfb254b60d4493f4cc0f9
2017-03-22 07:29:01 +00:00
jbudorick 4ae7d8e15c Revert of (Reland) Use logdog butler subcommand to run tests. (patchset #18 id:340001 of https://codereview.chromium.org/2753993002/ )
Reason for revert:
https://build.chromium.org/p/chromium.android/builders/Marshmallow%2064%20bit%20Tester/builds/10403

Original issue's description:
> (Reland) Use logdog butler subcommand to run tests.
>
> Previously we ran tests, without setting butler environment variables.
> This will run into NotBootstrappedError when we try to upload test
> results through logdog.
>
> In this cl, we use logdog butler subcommand to run tests, which will set
> butler environment variables before hand.
>
> BUG=692287
>
> Review-Url: https://codereview.chromium.org/2695963003
> Cr-Commit-Position: refs/heads/master@{#456976}
> Committed: de2df28c86
>
> patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001)
>
> Review-Url: https://codereview.chromium.org/2753993002
> Cr-Commit-Position: refs/heads/master@{#458264}
> Committed: 1ad3437632

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

Review-Url: https://codereview.chromium.org/2767633003
Cr-Original-Commit-Position: refs/heads/master@{#458607}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 86ea5a365e6c928bca676dd4621e6d9ef848e357
2017-03-22 00:13:49 +00:00
thakis b1d3acf6ee Remove checked-in .isolate files.
If anyone still needs them, please tell me about your use case
(and feel free to revert).

Ran `git ls-files -- '*.isolate' | xargs git rm`

BUG=703799
NOTRY=true
TBR=jochen,davidben

Review-Url: https://codereview.chromium.org/2766673003
Cr-Original-Commit-Position: refs/heads/master@{#458595}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f526c497b9eae3805d18f71c1cefdf88cfaf8ab5
2017-03-21 23:05:44 +00:00
estevenson 5adb067285 Reland of Android: Add APK patch size estimates to resource_sizes.py.
Original issue:
https://codereview.chromium.org/2757293002

Reason for reland:
Updated arg names properly.

APK patch size estimates will be used on certain perf builders, and will
track estimated patch size based on a reference APK (built by the same
builder) for the current milestone.

BUG=695188

Review-Url: https://codereview.chromium.org/2764913003
Cr-Original-Commit-Position: refs/heads/master@{#458488}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0700eafcdc29d804767a7eeb5f20e7abd87fbb00
2017-03-21 18:41:34 +00:00
krasin bff107b209 Enable ThinLTO cache.
This allows to reuse some codegen work when
linking multiple targets with the intersecting set of
object files, resulting in a reduce of overall build time.

This creates a thinlto-cache directory inside src/out/<gn-config-name>/ and keeping a lot of llvmcache* files there.

BUG=672158

Review-Url: https://codereview.chromium.org/2761893002
Cr-Original-Commit-Position: refs/heads/master@{#458418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 33d8074e449407ac84ad0e6f3ea7ab3dbda19f28
2017-03-21 15:18:13 +00:00
estevenson 537a8175cb Revert of Android: Add APK patch size estimates to resource_sizes.py. (patchset #4 id:60001 of https://codereview.chromium.org/2757293002/ )
Reason for revert:
Didn't update arg names properly.

Original issue's description:
> Android: Add APK patch size estimates to resource_sizes.py.
>
> APK patch size estimates will be used on certain perf builders, and will
> track estimated patch size based on a reference APK (built by the same
> builder) for the current milestone.
>
> BUG=695188
>
> Review-Url: https://codereview.chromium.org/2757293002
> Cr-Commit-Position: refs/heads/master@{#458181}
> Committed: d5240cc0a6

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

Review-Url: https://codereview.chromium.org/2764923002
Cr-Original-Commit-Position: refs/heads/master@{#458403}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a2f897d567a9cf89932703ee62982b3bc63400d
2017-03-21 14:28:08 +00:00
rockot 7d7e53f565 Move some basic early process init into Service Manager
Introduces the beginnings of an embedder API for the Service Manager,
consisting of a single entry point (service_manager::Main) which in
turn delegates to its embedder for arbitrary initialization and
process execution logic.

This is the first of several incremental steps to remove content from
the generic process startup flow. Future patches will rework various
main entry points to go through service_manager::Main directly, rather
than going ContentMain -> service_manager::Main.

This will also allow us to introduce new process types which run the
Service Manager or arbitrary services directly without touching any
part of content.

BUG=654986

Review-Url: https://codereview.chromium.org/2613653003
Review-Url: https://codereview.chromium.org/2613653003
Cr-Original-Commit-Position: refs/heads/master@{#458331}
Committed: c6026704ff
Cr-Original-Original-Commit-Position: refs/heads/master@{#458252}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60d92c2f3ff60c2fcc0b3cddd05738403fb1f0c3
2017-03-21 06:44:43 +00:00
horo 9e7f0b1fae Revert of Move some basic early process init into Service Manager (patchset #5 id:220001 of https://codereview.chromium.org/2613653003/ )
Reason for revert:
Introduced crashes of webkit_tests on Mac.

BUG=703465

Original issue's description:
> Move some basic early process init into Service Manager
>
> Introduces the beginnings of an embedder API for the Service Manager,
> consisting of a single entry point (service_manager::Main) which in
> turn delegates to its embedder for arbitrary initialization and
> process execution logic.
>
> This is the first of several incremental steps to remove content from
> the generic process startup flow. Future patches will rework various
> main entry points to go through service_manager::Main directly, rather
> than going ContentMain -> service_manager::Main.
>
> This will also allow us to introduce new process types which run the
> Service Manager or arbitrary services directly without touching any
> part of content.
>
> BUG=654986
>
> Review-Url: https://codereview.chromium.org/2613653003
> Cr-Commit-Position: refs/heads/master@{#458252}
> Committed: c6026704ff

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

Review-Url: https://codereview.chromium.org/2763883002
Cr-Original-Commit-Position: refs/heads/master@{#458278}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c92dd551abe4a1581981b945076719dff7b4422
2017-03-21 02:11:12 +00:00
hzl 60afaf9e44 (Reland) Use logdog butler subcommand to run tests.
Previously we ran tests, without setting butler environment variables.
This will run into NotBootstrappedError when we try to upload test
results through logdog.

In this cl, we use logdog butler subcommand to run tests, which will set
butler environment variables before hand.

BUG=692287

Review-Url: https://codereview.chromium.org/2695963003
Cr-Commit-Position: refs/heads/master@{#456976}
Committed: de2df28c86

patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001)

Review-Url: https://codereview.chromium.org/2753993002
Cr-Original-Commit-Position: refs/heads/master@{#458264}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ad3437632699fb98fdd46a3ba6ad8d63cf10ee5
2017-03-21 00:58:23 +00:00
thomasanderson 8605a88eaa Linux UI: Switch to the Gtk3 theme
Sets "use_gtk3 = true" by default.

BUG=79722
TBR=dpranke@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_msan_rel_ng;master.tryserver.chromium.linux:linux_chromium_dbg_32_ng

> > Review-Url: https://codereview.chromium.org/2670623002
> > Cr-Commit-Position: refs/heads/master@{#452118}
> > Committed: 872a494bba

> Review-Url: https://codereview.chromium.org/2670623002
> Cr-Commit-Position: refs/heads/master@{#454491}
> Committed: 89be63a39b

Review-Url: https://codereview.chromium.org/2670623002
Review-Url: https://codereview.chromium.org/2670623002
Cr-Original-Commit-Position: refs/heads/master@{#458263}
Committed: 0725228010
Cr-Original-Original-Commit-Position: refs/heads/master@{#455596}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0ff8b19608421be5fa5b53e90c097e4992723b90
2017-03-21 00:55:27 +00:00
rockot 068550ee95 Move some basic early process init into Service Manager
Introduces the beginnings of an embedder API for the Service Manager,
consisting of a single entry point (service_manager::Main) which in
turn delegates to its embedder for arbitrary initialization and
process execution logic.

This is the first of several incremental steps to remove content from
the generic process startup flow. Future patches will rework various
main entry points to go through service_manager::Main directly, rather
than going ContentMain -> service_manager::Main.

This will also allow us to introduce new process types which run the
Service Manager or arbitrary services directly without touching any
part of content.

BUG=654986

Review-Url: https://codereview.chromium.org/2613653003
Cr-Original-Commit-Position: refs/heads/master@{#458252}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c6026704ff452d402924ce2d88b0168baf227b1e
2017-03-21 00:29:35 +00:00
estevenson 5db5d6b060 Android: Add APK patch size estimates to resource_sizes.py.
APK patch size estimates will be used on certain perf builders, and will
track estimated patch size based on a reference APK (built by the same
builder) for the current milestone.

BUG=695188

Review-Url: https://codereview.chromium.org/2757293002
Cr-Original-Commit-Position: refs/heads/master@{#458181}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d5240cc0a6bd41103e36d53cd56de9994bec89d4
2017-03-20 21:07:10 +00:00