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

2101 Коммитов

Автор SHA1 Сообщение Дата
mikecase f16469fa2c Revert of Expose resources in Robolectric/JUnit tests. (patchset #12 id:220001 of https://codereview.chromium.org/2767613002/ )
Reason for revert:
crbug/711372

Original issue's description:
> Expose resources in Robolectric/JUnit tests.
>
> BUG=693573
>
> Review-Url: https://codereview.chromium.org/2767613002
> Cr-Commit-Position: refs/heads/master@{#464422}
> Committed: 0d81d90a4b

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

Review-Url: https://codereview.chromium.org/2819593002
Cr-Original-Commit-Position: refs/heads/master@{#464486}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b67ca3636e3ec5dc8f38a1ffd9db79a1208620e9
2017-04-13 18:59:45 +00:00
pennymac 04e8679421 [Windows MSVC CFG] Link with CFG only on executables.
Adjust GN configs to only link with Control Flow Guard for executables.
This will still support CFG compiled into Microsoft system DLLs, in all
Chromium processes (e.g. chrome.exe).

This should prevent sporadic official clang build problems in DLLs, related
to CFG.  Further investigation/fixes to follow.

TEST=CFGSupportTests.MsIndirectFailure in sbox_integration_tests suite.
BUG=584575,708098

Review-Url: https://codereview.chromium.org/2813823006
Cr-Original-Commit-Position: refs/heads/master@{#464475}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 723503ec2956cc8b66e53a5ee97985ec262a599d
2017-04-13 18:23:10 +00:00
mikecase 2e92b04fb0 Expose resources in Robolectric/JUnit tests.
BUG=693573

Review-Url: https://codereview.chromium.org/2767613002
Cr-Original-Commit-Position: refs/heads/master@{#464422}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0d81d90a4b60f8dbcf75f92405cb441db3d08cd3
2017-04-13 15:53:05 +00:00
rnk decabde775 Fix Skia WinASan build, remove -fno-sanitize-address-use-after-scope
Hopefully Skia doesn't have use-after-scope bugs on Windows, but this
will at least fix the build.

TBR=hans@chromium.org,krasin@chromium.org,mmoroz@chromium.org
BUG=710928

Review-Url: https://codereview.chromium.org/2813203003
Cr-Original-Commit-Position: refs/heads/master@{#464118}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f93904f5895990201c1e8df1c13352cba68ceb76
2017-04-12 19:53:24 +00:00
bcf 6aff78628a [Chromecast] Make static_config a noop for clang builds
Previously this was guarded with use_clang on shared_library_config, but
some targets use static_config directly.

BUG=b/37232530
TEST=Build and run device. Check {C/LD}FLAGS

Review-Url: https://codereview.chromium.org/2808253003
Cr-Original-Commit-Position: refs/heads/master@{#463795}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58a97b349697f6764d0d0304a8374da957ef2207
2017-04-11 22:09:51 +00:00
mbjorge 2be7145c45 [Chromecast] Build with check-ipc clang plugin flag on Chromecast.
Increase build parity between chromecast and non-chromecast build. Also
adds more checks. Internal builds all compiled without issue.

BUG=581409, internal b/37211660

Review-Url: https://codereview.chromium.org/2810923002
Cr-Original-Commit-Position: refs/heads/master@{#463515}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be7bac4630c397e4cb8773fc93e1c559c3bfebdb
2017-04-11 03:21:46 +00:00
wez f689b3fe71 Cleaner fall-back stack capture for --enable-heap-profiling=native.
This generalizes the fall-back to using base::debug::StackTrace to
capture stack traces in builds which lack frame pointers, allowing
native heap profiling to generate useful data, albeit with a more
significant performance penalty.

Changes made in the earlier patch for native heap profiling stack
capture under Windows are un-done in favour of the following:
1. MemoryDumpManager always allows native heap profiling[1].
2. HeapProfilerAllocationContextTracker chooses whether to use
   base::debug::StackTrace or TraceStackFramePointers() based on
   the value of BUILDFLAG(CAN_UNWIND_WITH_FRAME_POINTERS).
3. BUILDFLAG(CAN_UNWIND_WITH_FRAME_POINTERS) is no longer defined in
   configurations which we cannot use frame pointers for unwinding[2].

[1] Though note that only certain build configs actually support
    the necessary allocator shims; this will be addressed later.
[2] Frame pointers are only available in profiling & Debug builds on
    some platforms, and are available but unsuitable for us to use for
    stack unwinding, on others.

BUG=686208

Review-Url: https://codereview.chromium.org/2757123002
Review-Url: https://codereview.chromium.org/2757123002
Cr-Original-Commit-Position: refs/heads/master@{#463411}
Committed: 22b017b9b2
Cr-Original-Original-Commit-Position: refs/heads/master@{#460311}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 460b12442f72be8185a80cbf1ec0be6d11a27515
2017-04-10 21:55:36 +00:00
sbc deed2da4bf Refactor target_sysroot_dir gn argument
This change was motivated by the need to remove the
references to wheezy.  I noticed that the target_sysroot_dir
argument could be generalized which avoids the extra
conditional in sysroot.gni.

BUG=697494

Review-Url: https://codereview.chromium.org/2810633004
Cr-Original-Commit-Position: refs/heads/master@{#463368}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 75cc3b096e245801afa0607dc4f8adc03566ae16
2017-04-10 19:44:17 +00:00
erikchen 1314c9a287 Explicitly specify whether to emit frame pointers by default.
All platforms now specify whether to emit frame pointers by default, rather than
relying on default compiler options.

This CL moves the logic from config("default_stack_frames") into compiler.gni.
The former is actually the right place for the logic to live, but there exists
code that relies on whether a frame pointer is emitted by default. Right now,
that logic is being duplicated/guessed by the code in question. This CL at least
unifies the logic in a single location.

There current exists code that uses a preprocessor definition
HAVE_TRACE_STACK_FRAME_POINTERS. Despite the name, the code really wants to know
if most stacks can be unwound using stack pointers. I've renamed it to
CAN_UNWIND_WITH_FRAME_POINTERS. Arguably, any code that uses
CAN_UNWIND_WITH_FRAME_POINTERS is broken and should be removed, since it relies
on the assumption that all stacks will either have or not have frame pointers,
but that can vary TU by TU.

BUG=706116, 706654

Review-Url: https://codereview.chromium.org/2782063005
Cr-Original-Commit-Position: refs/heads/master@{#462622}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f7c8a0df4253be5271276dc7f3c1da5ce9b677c1
2017-04-06 21:15:27 +00:00
thomasanderson 9fd03dc810 Allow building with is_clang=false, use_sysroot=true
Building with the wheezy sysroot and is_clang=false results in errors
like this:

../../base/process/process_iterator.h:12:16: fatal error: list: No
such file or directory
 #include <list>

[1] added a restriction that use_sysroot must be false when building
with is_clang=false.  However, as of [2], the wheezy sysroot has been
removed, and these compilation errors are not present on the Jessie
sysroot.  This CL removes the restriction added by [1].

[1] https://codereview.chromium.org/1476923005
[2] https://codereview.chromium.org/2597523003

BUG=575778
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2804633005
Cr-Original-Commit-Position: refs/heads/master@{#462343}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c2c8a4d94797d67f76e061be40cfed0378eccd81
2017-04-06 03:31:22 +00:00
krasin 7aa63b4fb8 Turn off use-after-scope check on Mac.
It was disabled in BUILD.gn, because there are known failures,
but recently Clang enabled it by default, so we have to opt out.

Eventually, we need to clean up these failures and reenable the
check as it's useful.

BUG=708216,708707

Review-Url: https://codereview.chromium.org/2797253002
Cr-Original-Commit-Position: refs/heads/master@{#462187}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 69faa6a6ffc1ceebf4d499618a5d17c8a1e7af67
2017-04-05 19:48:01 +00:00
baxley 5ab348ff9e Reland [iOS] Disable NSAssert and GTMDevAssert on release builds.
This was present in build/common.gypi and was inadvertently dropped
during the conversion to GN (removed by http://crrev.com/2355673003,
but hadn't been added to GN).

patch from issue 2637853002 at patchset 20001
(http://crrev.com/2637853002#ps20001)

BUG=673253

Review-Url: https://codereview.chromium.org/2770733003
Cr-Original-Commit-Position: refs/heads/master@{#461841}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 45196266f164836fca6d41e8f9cfad0eee0b91a6
2017-04-04 21:15:56 +00:00
kjellander 4f5e7234df Don't use --gdb-index for Gold and LLVM linker
It appears --gdb-index is not supported for Gold or the LLVM linker.
This was discovered after https://codereview.chromium.org/2786603003
and affected builds configurations like Linux ARM64 Debug.

BUG=708104

Review-Url: https://codereview.chromium.org/2791403004
Cr-Original-Commit-Position: refs/heads/master@{#461781}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c4b5eb17214fa0aedea5193628c74312f71a2d2
2017-04-04 18:36:33 +00:00
Mike Case 58260eddc7 Update webview_public_framework_jar to N-MR1.
Adding frameworks jar build from the android-7.1.1_r28 tag
in AOSP.

Bug:707823

Change-Id: Ifbe2c91aa1b495b0959b5de026bc9fd690474b12
Reviewed-on: https://chromium-review.googlesource.com/466631
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Selim Gurun <sgurun@chromium.org>
Commit-Queue: Michael Case <mikecase@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#461605}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a2b501b65e0987b4f2a23561a4906eb02f955a40
2017-04-04 01:39:51 +00:00
michaeldo d654a617b8 Use framework style includes in ios/web_view/public.
BUG=704946

Review-Url: https://codereview.chromium.org/2791323002
Cr-Original-Commit-Position: refs/heads/master@{#461494}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b48b353161948224246626099272017cb9fbbb4f
2017-04-03 18:56:38 +00:00
brucedawson a7ee81bf6d Clarify the implications of symbol_level = 1
It is obvious in hindsight that symbol_level = 1 means that functions
with internal linkage won't show up in back traces.

R=scottmg@chromium.org
BUG=706744

Review-Url: https://codereview.chromium.org/2785263003
Cr-Original-Commit-Position: refs/heads/master@{#461218}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de6de9d3f907de08bce627cb096586c65eabc89a
2017-03-31 20:49:58 +00:00
Nico Weber 362f572ab6 Reland of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #1 id:1 of https://codereview.chromium.org/2754973002/ )
Reason for revert:
pnacl should no longer complain about this switch.

Original issue's description:
> Revert of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #1 id:1 of https://codereview.chromium.org/2756713002/ )
>
> Reason for revert:
> Still breaks pnacl-ld on Windows: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chrome%2FGoogle_Chrome_Win%2F16241%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
> pnacl-ld: "--build-id=sha1" affects translation. To allow, specify --pnacl-allow-native
>
>
> Original issue's description:
> > Reland of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #1 id:1 of https://codereview.chromium.org/2732023004/ )
> >
> > Reason for revert:
> > With https://bugs.chromium.org/p/nativeclient/issues/detail?id=4391#c1 fixed, this might now work.
> >
> > Original issue's description:
> > > Revert of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #2 id:20001 of https://codereview.chromium.org/2732293002/ )
> > >
> > > Reason for revert:
> > > https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/30394/steps/compile/logs/stdio
> > >
> > > pnacl-ld: Unrecognized option: --build-id=sha1
> > >
> > > gn args:
> > > goma_dir = "/b/c/goma_client"
> > > is_chrome_branded = true
> > > is_debug = false
> > > is_official_build = true
> > > target_os = "chromeos"
> > > use_goma = true
> > >
> > > Original issue's description:
> > > > build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON
> > > >
> > > > BUG=622775
> > > >
> > > > Review-Url: https://codereview.chromium.org/2732293002
> > > > Cr-Commit-Position: refs/heads/master@{#455154}
> > > > Committed: 4e5c4a1545
> > >
> > > TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=622775
> > >
> > > Review-Url: https://codereview.chromium.org/2732023004
> > > Cr-Commit-Position: refs/heads/master@{#455172}
> > > Committed: e806d46df5
> >
> > TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=622775
> >
> > Review-Url: https://codereview.chromium.org/2756713002
> > Cr-Commit-Position: refs/heads/master@{#457493}
> > Committed: c3cb7d84db
>
> TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=622775
>
> Review-Url: https://codereview.chromium.org/2754973002
> Cr-Commit-Position: refs/heads/master@{#457523}
> Committed: c9650610e0

TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=622775

Review-Url: https://codereview.chromium.org/2790473005 .
Cr-Original-Commit-Position: refs/heads/master@{#461188}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1bafcfdfcc6867b9be120e54c73b0ea526cd886e
2017-03-31 19:48:18 +00:00
thakis 27b4e10e80 Enable -Wdeprecated-register in CrOS builds.
This was blocked on the CrOS build not using the jessie sysroot,
but now it does.

BUG=705812

Review-Url: https://codereview.chromium.org/2794543002
Cr-Original-Commit-Position: refs/heads/master@{#461153}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e2aa9636a2086da87bba7d5ebca09fd831504d4a
2017-03-31 17:04:46 +00:00
thakis 1c890e6217 Enable warning on reserved user-defined literals for CrOS.
This was blocked on making CrOS use the jessie sysroot, which is now done.

BUG=263960

Review-Url: https://codereview.chromium.org/2786313004
Cr-Original-Commit-Position: refs/heads/master@{#461149}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b3fc618111c6c50e9e05a8afb72f6fb40fd3b585
2017-03-31 16:48:26 +00:00
thakis 383b3e6432 Enable -Wdeprecated-register (except on CrOS and 32-bit Linux).
No behavior change.

BUG=255186,705812

Review-Url: https://codereview.chromium.org/2780623003
Review-Url: https://codereview.chromium.org/2780623003
Review-Url: https://codereview.chromium.org/2780623003
Cr-Original-Original-Commit-Position: refs/heads/master@{#460879}
Committed: 76ad12fee7
Committed: a46872ca96
Cr-Original-Commit-Position: refs/heads/master@{#461102}
Cr-Original-Original-Original-Commit-Position: refs/heads/master@{#459973}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 755d274e7b3e893719322489b07a5d929328caa0
2017-03-31 12:51:55 +00:00
thakis 2b76f608a8 Use new jessie sysroot for cros-desktop builds too.
BUG=706006,598033

Review-Url: https://codereview.chromium.org/2772403002
Cr-Original-Commit-Position: refs/heads/master@{#461095}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 17498ec3190acff0ae88d3083543a50da9d0af83
2017-03-31 11:09:13 +00:00
thakis 673a8f4c6b Enable -Wshift-negative-value.
But not on chromeos, since it uses the old libjpeg were this isn't fixed yet.

BUG=507717

Review-Url: https://codereview.chromium.org/2774223005
Cr-Original-Commit-Position: refs/heads/master@{#460989}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e28bd95d56cc19730ccc89f3bd8d8db47b7ef502
2017-03-31 01:52:06 +00:00
mikecase ed0abc36a0 Roll Android SDK to N-MR1
BUG=688263
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2760383003
Cr-Original-Commit-Position: refs/heads/master@{#460934}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c263053681fd4e5297e2f69268587604123e1c0
2017-03-30 23:46:11 +00:00
findit-for-me ac1759b778 Revert of Enable -Wdeprecated-register (except on CrOS). (patchset #7 id:120001 of https://codereview.chromium.org/2780623003/ )
Reason for revert:

Findit identified CL at revision 460879 as the culprit for
failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2E0Njg3MmNhOTZkODYyODE2Zjk5M2MxNmQ2YzI3MGFmMjYyOTAyNDcM

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

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,705812

Review-Url: https://codereview.chromium.org/2786273002
Cr-Original-Commit-Position: refs/heads/master@{#460910}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0c64e3912571118d628f513ccc3a7eb6224099d8
2017-03-30 22:52:26 +00:00
thakis 6b1f9eeba1 Enable -Wdeprecated-register (except on CrOS).
No behavior change.

BUG=255186,705812

Review-Url: https://codereview.chromium.org/2780623003
Review-Url: https://codereview.chromium.org/2780623003
Cr-Original-Commit-Position: refs/heads/master@{#460879}
Committed: 76ad12fee7
Cr-Original-Original-Commit-Position: refs/heads/master@{#459973}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a46872ca96d862816f993c16d6c270af26290247
2017-03-30 21:16:17 +00:00
brucedawson 0ad304ccdc Disable /analyze when building with clang
When doing x64 builds of Chrome with VC++ we compile some modules
(currently just libyuv) with clang, in order to get inline assembly
support. This causes problems on /analyze builds because clang-cl
doesn't understand the /analyze compiler switches. This change
disables /analyze for those files that are compiled with clang.

With this change I can do a /analyze build of libyuv without
hitting any errors, but warnings are emitted as appropriate.

R=brettw@chromium.org
BUG=427616

Review-Url: https://codereview.chromium.org/2786733005
Cr-Original-Commit-Position: refs/heads/master@{#460874}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb4bb0ebf2bfc2881100122e1513ee3f694744a0
2017-03-30 21:06:55 +00:00
thakis edb8be2cdc Reland of "Update linux sysroot from Wheezy to Jessie" (patchset #1 id:1 of https://codereview.chromium.org/2780763002/ )
Reason for revert:
V8 bots are upgraded.

Original issue's description:
> 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-Commit-Position: refs/heads/master@{#460070}
> Committed: 75a1434be0

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

Review-Url: https://codereview.chromium.org/2783193002
Cr-Original-Commit-Position: refs/heads/master@{#460795}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2183884b24334db9eb57f544388c963dd2694f8e
2017-03-30 16:50:47 +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
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
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
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
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
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
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
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
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
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