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

2901 Коммитов

Автор SHA1 Сообщение Дата
cfroussios 38855e64d5 Deprecate DLOPEN_GNOME_KEYRING flag
GnomeKeyringLoader will be moved into a separate utility.
This change makes GnomeKeyringLoader simpler to build on and easier
to move.

Currently, GnomeKeyringLoader compiles different code, depending on
whether keyring is statically linked. Now it will only do dynamic
loading. The only place that requires static linking is tests, and they
don't need GnomeKeyringLoader to do it for them.

BUG=602624

Review-Url: https://codereview.chromium.org/2191873002
Cr-Original-Commit-Position: refs/heads/master@{#408924}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: da4e6a834587d15f7696c5a396099fafa719ddf1
2016-08-01 07:38:45 +00:00
kylechar a76399d292 Delete Ozone egltest platform.
The Ozone X11 platform implements a more complete X11 backend for Ozone
and egltest is unused at this point. Delete the egltest code and all the
accompanying parts of GYP and GN build files.

BUG=none

Review-Url: https://codereview.chromium.org/2167243002
Cr-Original-Commit-Position: refs/heads/master@{#406918}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3f2b800844a8267d98eb2a1bbbcc4e7c499f5654
2016-07-21 18:44:58 +00:00
krasin e609d4bcab Revert of Launch CFI for virtual calls on Linux x86-64. (patchset #2 id:20001 of https://codereview.chromium.org/2140373002/ )
Reason for revert:
Too many blink_perf.layout benchmarks regressed by ~3.5%. While the regressions are within predicted upper bound, there're too many of them to ignore:

https://chromeperf.appspot.com/report?sid=ebf0165d8c96c7a70c790d179a9bdc1f9e58e616182522fd961d17ad648fc28f&start_rev=404312&end_rev=405943

We will need to reevaluate the reason for such consistent slowdown and will make another attempt after it's cleared.

Original issue's description:
> Launch CFI for virtual calls on Linux x86-64.
>
> This is the second incremental step towards the full CFI launch.
> In the first step, we enabled LinkTimeOptimization (LTO) for the
> official Chrome builds. In this step we add Control Flow Integrity
> checks for all virtual calls.
>
> The remaining part is to add bad-cast checks to ensure the forward-edge
> Control Flow Integrity works as planned. That remaining part will
> require more work on reducing the overhead for size and speed by these
> CFI checks, so we don't enable them right away.
>
> The expected Perf impact by this CL:
>
> - Chrome binary size is increased by 5%,
> - Some of the benchmarks are slowed down by up to 3.5%.
>
> Note that before making it slower, we made it faster by implementing
> virtual const propagation and a number of heuristics for automatic
> devirtualization in LLVM which sped up some layout benchmarks by up to 7%
> (see https://crbug.com/580389 and https://crbug.com/617283)
>
> If there's a higher (negative) impact, we'll be willing to roll this
> feature back, but please allow the Perf bots to work for a day or two
> to collect more detailed statistics on the regressions, as it will help
> us to identify ways to speed it up (most likely, by inventing new ways
> for automatic devirtualization).
>
> BUG=464797
>
> Committed: https://crrev.com/01f474c48200a1e556a4cf668e2b5dbda0f38a6f
> Cr-Commit-Position: refs/heads/master@{#405894}

TBR=thakis@chromium.org,esprehn@chromium.org,krasin@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=464797

Review-Url: https://codereview.chromium.org/2154993002
Cr-Original-Commit-Position: refs/heads/master@{#405944}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 532a8777898abba488970f9dc17a067c7c517432
2016-07-16 18:01:00 +00:00
krasin 9fac0b7e49 Launch CFI for virtual calls on Linux x86-64.
This is the second incremental step towards the full CFI launch.
In the first step, we enabled LinkTimeOptimization (LTO) for the
official Chrome builds. In this step we add Control Flow Integrity
checks for all virtual calls.

The remaining part is to add bad-cast checks to ensure the forward-edge
Control Flow Integrity works as planned. That remaining part will
require more work on reducing the overhead for size and speed by these
CFI checks, so we don't enable them right away.

The expected Perf impact by this CL:

- Chrome binary size is increased by 5%,
- Some of the benchmarks are slowed down by up to 3.5%.

Note that before making it slower, we made it faster by implementing
virtual const propagation and a number of heuristics for automatic
devirtualization in LLVM which sped up some layout benchmarks by up to 7%
(see https://crbug.com/580389 and https://crbug.com/617283)

If there's a higher (negative) impact, we'll be willing to roll this
feature back, but please allow the Perf bots to work for a day or two
to collect more detailed statistics on the regressions, as it will help
us to identify ways to speed it up (most likely, by inventing new ways
for automatic devirtualization).

BUG=464797

Review-Url: https://codereview.chromium.org/2140373002
Cr-Original-Commit-Position: refs/heads/master@{#405894}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 01f474c48200a1e556a4cf668e2b5dbda0f38a6f
2016-07-15 23:22:22 +00:00
thakis b5bfeb6156 Revert of Disable "taking address of packed member" clang warning. (patchset #2 id:60001 of https://codereview.chromium.org/2148283002/ )
Reason for revert:
Warning was reverted upstream again.

Original issue's description:
> Reland of Disable "taking address of packed member" clang warning. (patchset #1 id:1 of https://codereview.chromium.org/2066503004/ )
>
> Reason for revert:
> The warning was relanded upstream this morning.
>
> Original issue's description:
> > Revert of Disable "taking address of packed member" clang warning. (patchset #3 id:40001 of https://codereview.chromium.org/2059143003/ )
> >
> > Reason for revert:
> > The warning got reverted upstream.
> >
> > Original issue's description:
> > > Disable "taking address of packed member" clang warning.
> > >
> > > Pending cleanup.
> > >
> > > BUG=619640
> > >
> > > Committed: https://crrev.com/e77a373b7141f2e52f79f5cba5c2577fc16a4f5e
> > > Cr-Commit-Position: refs/heads/master@{#399572}
> >
> > TBR=dpranke@chromium.org,hans@chromium.org,eugenis@google.com,eugenis@chromium.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=619640
> >
> > Committed: https://crrev.com/f999d8350f0fbdefac8875135ca3540c64d2f3f4
> > Cr-Commit-Position: refs/heads/master@{#399686}
>
> TBR=dpranke@chromium.org,hans@chromium.org,eugenis@google.com,eugenis@chromium.org,thakis@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=619640
>
> Committed: https://crrev.com/805bf6aaa5de841e0cf987e0d7005f5abd7df54c
> Cr-Commit-Position: refs/heads/master@{#405538}

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

Review-Url: https://codereview.chromium.org/2145243003
Cr-Original-Commit-Position: refs/heads/master@{#405560}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9055c04e9973804ab9941b18f4b5efc18bfdbdc2
2016-07-14 20:49:43 +00:00
rnk 0e6be92299 Reland of Disable "taking address of packed member" clang warning. (patchset #1 id:1 of https://codereview.chromium.org/2066503004/ )
Reason for revert:
The warning was relanded upstream this morning.

Original issue's description:
> Revert of Disable "taking address of packed member" clang warning. (patchset #3 id:40001 of https://codereview.chromium.org/2059143003/ )
>
> Reason for revert:
> The warning got reverted upstream.
>
> Original issue's description:
> > Disable "taking address of packed member" clang warning.
> >
> > Pending cleanup.
> >
> > BUG=619640
> >
> > Committed: https://crrev.com/e77a373b7141f2e52f79f5cba5c2577fc16a4f5e
> > Cr-Commit-Position: refs/heads/master@{#399572}
>
> TBR=dpranke@chromium.org,hans@chromium.org,eugenis@google.com,eugenis@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=619640
>
> Committed: https://crrev.com/f999d8350f0fbdefac8875135ca3540c64d2f3f4
> Cr-Commit-Position: refs/heads/master@{#399686}

TBR=dpranke@chromium.org,hans@chromium.org,eugenis@google.com,eugenis@chromium.org,thakis@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=619640

Review-Url: https://codereview.chromium.org/2148283002
Cr-Original-Commit-Position: refs/heads/master@{#405538}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 805bf6aaa5de841e0cf987e0d7005f5abd7df54c
2016-07-14 19:28:50 +00:00
kojii fc5978ada8 Add mojo interface to load hyphenation dictionaries on Android
This patch adds a mojo interface to load hyphenation dictionaries on
Android.

Calls to Minikin using the loaded dictionary files will be in following
patches.

BUG=605840

Review-Url: https://codereview.chromium.org/2113933003
Cr-Original-Commit-Position: refs/heads/master@{#405405}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 30add38fedb8b9bd44b931aa3adba40d7c79b929
2016-07-14 02:13:01 +00:00
sebmarchand 54444bddef Disable Full-WPO for the x64 official build (non-PGO).
Disable Full-WPO for the x64 official builds (this doesn't
affect the PGO builds).

This should help me to get an official
"non-PGO & non-WPO" build that I can compare against an official PGO
build.

Also I'm not sure if it's worth keeping WPO turned on for the official
builds at the moment ? We don't ship these builds (we ship the PGO ones)
and so this only slowdown the builders that build an official x64 build
for testing purposes (especially considering that they need to link all the unittests with Full-WPO)

BUG=490934, 617982

Review-Url: https://codereview.chromium.org/2142603002
Cr-Original-Commit-Position: refs/heads/master@{#405164}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0d74d7f71c93bfc3b32653de7958ff84d173937d
2016-07-13 15:42:28 +00:00
tapted 0e258a2cef Remove the "Settings" packaged app
`enable_settings_app` was previously enabled for the app launcher on
non-chromeos platforms. But this hasn't been available on those
platforms for 1 milestone (since r394856), so it's time to purge the
associated code.

Note this is different to the ChromeOS Settings "App"
(chrome://flags/#enable-settings-window), and the arc / Android "App
Settings" App (arc:kSettingsAppId and b/28017599).

BUG=263236, 600915
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2121303003
Cr-Original-Commit-Position: refs/heads/master@{#404968}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 824bea8069b71ecb4f8c94fbeb78d19196304f1c
2016-07-13 03:39:55 +00:00
krasin b8e719fa0c Implement use_cfi_cast to optionally enable cast checks.
This is to allow launching cfi-vcal first, and follow up with additional strictness later.

BUG=626794,464797

Review-Url: https://codereview.chromium.org/2131423002
Cr-Original-Commit-Position: refs/heads/master@{#404956}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59d3718ac1328d46fac147720f078c53f63070cf
2016-07-13 03:28:04 +00:00
skau 8a5e89bdde Enable basic printing on ChromeOS
Rudimentary print support is being implemented for Chrome OS using CUPS.
This enables native printing on Chrome OS.  If CUPS is not enabled, no
differences are noticable.

BUG=607668
R=briannorris@chromium.org

Review-Url: https://codereview.chromium.org/2134513002
Cr-Original-Commit-Position: refs/heads/master@{#404913}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 687d7248d07c24b9c6a5da4e9ee5c4dd939f16e9
2016-07-13 02:29:41 +00:00
thakis 6b931d126f clang/win: It's ok to pass /GS to clang-cl now.
We used to not pass /GS since clang-cl used to not implement buffer security
checks and would warn about this flag being ignored.  Now clang-cl implements
some form of buffer security checking and no longer warns on /GS, so that's
no longer necessary. This reverts the gyp bits of
https://codereview.chromium.org/1828543003/

/GS is also on by default, and as of https://codereview.chromium.org/1957523005
it's no longer explicitly passed in gn builds -- so no .gn files need to be
changed.

Since /GS is on by default, this CL doesn't change behavior.

BUG=598767

Review-Url: https://codereview.chromium.org/2129213002
Cr-Original-Commit-Position: refs/heads/master@{#404413}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc683aecb8e88d03139477b8eba81aeb1e3c2e9c
2016-07-08 16:49:12 +00:00
tzik a51dcaf164 Enable gold multi-threaded link
BUG=161942

Review-Url: https://codereview.chromium.org/2120233002
Cr-Original-Commit-Position: refs/heads/master@{#404208}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ce25823016da06a8f947efba77eaba23c7cec7a1
2016-07-07 19:23:42 +00:00
pcc 133a21f90f Enable whole-program vtable opt when CFI is enabled.
Following the roll to clang r273760, the compiler can now support
both of these features simultaneously.

Discussion thread for CFI: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/pbJqt6ccMII/7iJC2oklCAAJ

BUG=464797,580389
R=thakis@chromium.org,krasin@chromium.org

Review-Url: https://codereview.chromium.org/2106313002
Cr-Original-Commit-Position: refs/heads/master@{#403599}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4811641ea017bef631852cc0ac1aa8f7ac85385d
2016-07-02 03:20:27 +00:00
pcc 87d84544d9 Disable --as-needed for libpthread to work around linker bug.
If a DSO is linked against with --as-needed and the program contains no
strong references to any symbols in the DSO, the documented behaviour
is that the linker should not create a DT_NEEDED entry for that
DSO. However, if the program contains weak references to symbols in
the DSO, this results in an incorrect resolution for that symbol. In
Chromium this happens in particular for the symbol __pthread_key_create
(as a result of code inlined from a pthread header), which causes
the program to segfault. For more details, see the associated bug
and the related LLVM bug: http://llvm.org/pr28335

Work around this by linking against libpthread with --no-as-needed.

Because the problem only affects glibc, only do this when not
targeting NaCl or Android, neither of which normally uses glibc
as the C runtime library (NaCl can use glibc, but we haven't
observed this problem there).

BUG=623236
R=thakis@chromium.org,engedy@chromium.org

Review-Url: https://codereview.chromium.org/2094273003
Cr-Original-Commit-Position: refs/heads/master@{#402650}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ebfaa0c5067c77db1b4891ac6571f8d1b97fc4d
2016-06-29 02:00:33 +00:00
thakis 3867129c58 Roll clang 270823:273743.
Ran `tools/clang/scripts/upload_revision.py 273743`.

BUG=621972
TBR=hans

Review-Url: https://codereview.chromium.org/2093273002
Cr-Original-Commit-Position: refs/heads/master@{#402202}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 167bf10be217f2613024a0b0f729a45da83249c0
2016-06-27 16:59:55 +00:00
manzagop fc9a4be4a1 Remove the Kasko based out of process browser hang instrumentation.
This CL removes the out-of-process browser hang instrumentation used to
capture 20s hangs and failed rendezvous crash reports in one-off canary
releases. The Kasko reporter is deprecated, and CrashPad does not yet
support the use case.

The plan is to restore this functionality once CrashPad supports it.

BUG=622314

Review-Url: https://codereview.chromium.org/2086403002
Cr-Original-Commit-Position: refs/heads/master@{#402189}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 32d4643f0c60110d73c0ce8e01d0f88aa95bd8b0
2016-06-27 15:53:41 +00:00
thakis 34982a1a73 ios: Stop passing -Wno-deprecated-declarations for host builds.
ios used to force a deployment target of OS X 10.7 before we used that for
chrome/mac builds.  Hence, iOS used to get deprecation warnings since we hadn't
cleaned up the mac code for a 10.7 deployment target yet.  Now that we use
the same deployment target for chrome/mac and iOS host builds, suppressing
deprecation warnings in iOS builds is no longer needed.

No behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2099773004
Cr-Original-Commit-Position: refs/heads/master@{#401994}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 121329afa514ffa8a976d2eea4ced9824c6380cb
2016-06-24 22:14:54 +00:00
thakis b73a5f100d clang/win: Stop force-including intrin.h everywhere.
MSVC and clang-cl offer a bunch of functions that are built-in to the compiler: Intrinsics.
When an intrinsic is called, the compiler can emit specialized code for intrinsics.
(It's free to emit a regular call to a function too though.)

intrin.h includes prototypes (and with clang-cl, definitions) for intrinsics. MSVC also supports
`#pragma intrinsics(name)`, which allows marking the intrinsic named "name" as something
that should preferably be treated as an intrinsic (roughly ~inlined) instead of as a call.  With this,
it is possible to manually declare an intrinsic and then use that pragma, and since it'll be
treated as an intrinsic, no linker error will happen.

clang-cl doesn't yet implement `#pragma intrinsic`, so e.g.

  void __cpuidex(int CPUInfo[4], int info_type, int ecxvalue);
  #pragma intrinsic(__cpuidex)
  // later, call __cpuidex()

will result in a linker error, since clang-cl sees the declaration for __cpuidex(), but then
clang-cl ignores the pragma line, and then later it thinks the call is just a call to a function
that isn't defined anywhere.

This is not a problem: Just #include <intrin.h> instead of manually declaring the function.
With clang-cl, intrin.h contains a definition of __cpuidex (and the other intrinsics), and
no linker error will be emitted (and the definition is always_inline, so it's fast).

There is just one wrinkle: Some system headers (e.g. windows.h) do manually declare
intrinsics, mark them `#pragma intrinsic`, and then call them from other inline functions
defined in system headers.  So if some of our code calls one of these other inline functions,
it needs intrin.h without us knowing about it.  Luckily, we know only a single function where
this is an issue in practice: SecureZeroMemory(), which calls __stosb.  So we had to add
explicit and mysterious includes for <intrin.h> to the two files that call that function. If
more examples of this pop up, we can reevaluate if we want to force-include this header
everywhere, but for now it seems overkill to inject this header into every translation unit
just because two translation units need it.

BUG=592745

Review-Url: https://codereview.chromium.org/2076483002
Cr-Original-Commit-Position: refs/heads/master@{#401613}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ac7670452f51ecfd1061749b3d5e15f8544a55ee
2016-06-23 15:37:55 +00:00
mtrofin cf9cc79681 Revert "Provide v8 dependency on tracing."
This reverts commit 6d4418ff859750f445af6e4612a5665ae2f84837.

Using <(DEPTH) on the v8 side is sufficient. We don't need the
extra variable.

BUG=

Review-Url: https://codereview.chromium.org/2072133003
Cr-Original-Commit-Position: refs/heads/master@{#400457}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c4775a0549a5128cf1e36491b85d0b06a501c1fc
2016-06-17 18:14:17 +00:00
justincohen 30f1c75b8f Roll gyp bce1c7793..c61b0b35c and fix default iOS SDK.
Changes rolled:
  - c61b0b35c [gyp-ninja] Set simulator and device SDKROOT for iOS.

Also fixes the default SDK used for xcode-ninja builds.

TBR=thakis@chromium.org
BUG=620741

Review-Url: https://codereview.chromium.org/2075963002
Cr-Original-Commit-Position: refs/heads/master@{#400356}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 446c58e0aa6c5a3b295414c1ef4914a939f5e419
2016-06-17 04:45:11 +00:00
mtrofin b94df78e66 Provide v8 dependency on tracing.
Related to https://codereview.chromium.org/2061933002/. When
that CL lands, the variable introduced by the present CL would provide
the root for the path to the tracing includes, in the context of the
chromium build.

BUG=

Review-Url: https://codereview.chromium.org/2068073002
Cr-Original-Commit-Position: refs/heads/master@{#400355}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6d4418ff859750f445af6e4612a5665ae2f84837
2016-06-17 04:37:41 +00:00
thakis 0363b5d6db clang/win: Use /FIintrin.h instead of /FIIntrin.h
Since Windows uses a case-insensitive file system, this doesn't matter much,
but if we ever want to turn on -Wnonportable-system-include-path we'll need
this.

(clang's lib/Headers/Intrin.h was renamed to intrin.h to match the Microsoft
header in clang r272701.)

BUG=617318

Review-Url: https://codereview.chromium.org/2066213002
Cr-Original-Commit-Position: refs/heads/master@{#399912}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4c33b455ce98383000f33e3519ab320d6b8629c0
2016-06-15 16:08:49 +00:00
apatole 696616b539 GYP changes for arm64 linux build
This change adds support for cross compiling chrome on ARM64 linux.
Temporarily disabled nacl and tcmalloc to fix compilation errors.

BUG=613452

Review-Url: https://codereview.chromium.org/2001523002
Cr-Original-Commit-Position: refs/heads/master@{#399766}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3026e6886f052160a3ff594801d5b4dbe8a20753
2016-06-14 19:43:43 +00:00
thakis d4b6add25b Reland of Suppress -Wnonportable-include-path on clang tot bots (patchset #1 id:1 of https://codereview.chromium.org/2043813002/ )
Reason for revert:
Warning landed again upstream.

Original issue's description:
> Revert of Suppress -Wnonportable-include-path on clang tot bots (patchset #2 id:20001 of https://codereview.chromium.org/2040533003/ )
>
> Reason for revert:
> The Clang warning was removed again in r271761.
>
> Original issue's description:
> > Suppress -Wnonportable-include-path on clang tot bots
> >
> > BUG=617318
> > R=hans@chromium.org
> >
> > Committed: 2bc751024e
>
> TBR=thakis@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=617318
>
> Committed: https://crrev.com/2b359d2e5b4f7639055c9c6ff3ed39a03a2a3a0b
> Cr-Commit-Position: refs/heads/master@{#398065}

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

Review-Url: https://codereview.chromium.org/2069603002
Cr-Original-Commit-Position: refs/heads/master@{#399714}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d9add3bd7c9655d92641fb2aac427d1cb417095
2016-06-14 15:51:57 +00:00
thakis 4bb2d31bf3 Revert of Disable "taking address of packed member" clang warning. (patchset #3 id:40001 of https://codereview.chromium.org/2059143003/ )
Reason for revert:
The warning got reverted upstream.

Original issue's description:
> Disable "taking address of packed member" clang warning.
>
> Pending cleanup.
>
> BUG=619640
>
> Committed: https://crrev.com/e77a373b7141f2e52f79f5cba5c2577fc16a4f5e
> Cr-Commit-Position: refs/heads/master@{#399572}

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

Review-Url: https://codereview.chromium.org/2066503004
Cr-Original-Commit-Position: refs/heads/master@{#399686}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f999d8350f0fbdefac8875135ca3540c64d2f3f4
2016-06-14 12:39:00 +00:00
robliao 98f50382e9 Clean Up Remaining Domain Check Call and netapi32.lib Usage
BUG=none

Review-Url: https://codereview.chromium.org/2056033002
Cr-Original-Commit-Position: refs/heads/master@{#399574}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8245b2d002001ae27d0eb4159237557a2abd2262
2016-06-13 22:23:04 +00:00
eugenis 1f19779a8d Disable "taking address of packed member" clang warning.
Pending cleanup.

BUG=619640

Review-Url: https://codereview.chromium.org/2059143003
Cr-Original-Commit-Position: refs/heads/master@{#399572}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e77a373b7141f2e52f79f5cba5c2577fc16a4f5e
2016-06-13 22:21:11 +00:00
thakis 0cd903a087 gyp: <(GENERATOR) is now always ninja, so simplify some conditionals.
No intended behavior change.

BUG=608380
TBR=rohitrao,thestig

Review-Url: https://codereview.chromium.org/2066533002
Cr-Original-Commit-Position: refs/heads/master@{#399465}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 128c298a0f9cf518d341a785d25d2709bfe5ee6b
2016-06-13 16:21:32 +00:00
ochang 86ed447553 Disable PDFium XFA forms.
There have been a lot of bugs found/reported.

BUG=62400

Review-Url: https://codereview.chromium.org/2052163002
Cr-Original-Commit-Position: refs/heads/master@{#399109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 01c031ab48e032bc73aa39f1d5871ed3b9d4c7e5
2016-06-10 05:17:34 +00:00
milko.leporis b4f8295b6d [MIPS] Don't use Gold for mipsel Android
Accidentally enabled Gold for mipsel Android in
https://codereview.chromium.org/2027173002/
Fixing it here.

BUG=webrtc:5977

Review-Url: https://codereview.chromium.org/2048063002
Cr-Original-Commit-Position: refs/heads/master@{#398607}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cbae59c41c05dcbdd5e245370b45895e4a55d399
2016-06-08 17:26:34 +00:00
sebmarchand 82dee096ae Add a buildflag to use the handle verifier in a per module mode.
The HandleVerifier prevent you from using any ScopedHandle during a module initialization (i.e. if a DLL use one in DllMain this will call back into its host executable that hasn't been initialized yet and things will derail). In this CL I'm adding a build flag to make it possible to use it in a single module mode..

Committed: https://crrev.com/a89708a5c1bfe778ed1615f0bc92f0e9ae2e2192
Cr-Commit-Position: refs/heads/master@{#398361}

BUG=618205

Review-Url: https://codereview.chromium.org/1977833003
Cr-Original-Commit-Position: refs/heads/master@{#398575}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 82ef0204161f34381ab832a576c4789e1063e0ee
2016-06-08 16:01:03 +00:00
battre 2eb9cdd59d Revert of Add a buildflag to use the handle verifier in a per module mode. (patchset #9 id:180001 of https://codereview.chromium.org/1977833003/ )
Reason for revert:
ScopedHandleTest.* tests fail to die on try bots.

BUG=618205

Original issue's description:
> Add a buildflag to use the handle verifier in a per module mode.
>
> The HandleVerifier prevent you from using any ScopedHandle during a module initialization (i.e. if a DLL use one in DllMain this will call back into its host executable that hasn't been initialized yet and things will derail). In this CL I'm adding a build flag to make it possible to use it in a single module mode..
>
> Committed: https://crrev.com/a89708a5c1bfe778ed1615f0bc92f0e9ae2e2192
> Cr-Commit-Position: refs/heads/master@{#398361}

TBR=wfh@chromium.org,chrisha@chromium.org,thakis@chromium.org,sebmarchand@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/2047013003
Cr-Original-Commit-Position: refs/heads/master@{#398496}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71f86049e34c437a0a7498b231bb19353486f81f
2016-06-08 06:56:20 +00:00
sebmarchand 8158e07407 Add a buildflag to use the handle verifier in a per module mode.
The HandleVerifier prevent you from using any ScopedHandle during a module initialization (i.e. if a DLL use one in DllMain this will call back into its host executable that hasn't been initialized yet and things will derail). In this CL I'm adding a build flag to make it possible to use it in a single module mode..

Review-Url: https://codereview.chromium.org/1977833003
Cr-Original-Commit-Position: refs/heads/master@{#398361}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a89708a5c1bfe778ed1615f0bc92f0e9ae2e2192
2016-06-07 19:06:52 +00:00
sebmarchand 89763b3a50 Revert of Use /LTCG:Incremental to speed up the non-clobber official builds. (patchset #2 id:20001 of https://codereview.chromium.org/2045683002/ )
Reason for revert:
I'm seeing some compiler issue on the Win perf builders (https://uberchromegw.corp.google.com/i/chromium.perf/builders/Win%20x64%20Builder/builds/9316/steps/compile/logs/stdio) :

fatal error C1001: An internal error has occurred in the compiler

BUG=616946

Original issue's description:
> Use /LTCG:Incremental to speed up the non-clobber official builds.
>
> /LTCG:Incremental is different from /INCREMENTAL, it speeds-up the link time of the WPO build without affecting the code quality and the performance, see https://blogs.msdn.microsoft.com/vcblog/2014/11/12/speeding-up-the-incremental-developer-build-scenario/ for more details on this.
>
> Committed: https://crrev.com/98fccebb0a5f6f1307ed1e598418fa472a8e1800
> Cr-Commit-Position: refs/heads/master@{#398153}

TBR=brucedawson@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/2035313007
Cr-Original-Commit-Position: refs/heads/master@{#398279}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2e304ec9ca19c8113db6b49405d6b2dd6d8cf2cd
2016-06-07 12:44:18 +00:00
sebmarchand 324e888bd5 Use /LTCG:Incremental to speed up the non-clobber official builds.
/LTCG:Incremental is different from /INCREMENTAL, it speeds-up the link time of the WPO build without affecting the code quality and the performance, see https://blogs.msdn.microsoft.com/vcblog/2014/11/12/speeding-up-the-incremental-developer-build-scenario/ for more details on this.

Review-Url: https://codereview.chromium.org/2045683002
Cr-Original-Commit-Position: refs/heads/master@{#398153}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 98fccebb0a5f6f1307ed1e598418fa472a8e1800
2016-06-06 22:58:57 +00:00
jbudorick 70dcdb2358 [Android] Revert the NDK back to r10e.
BUG=599327

Review-Url: https://codereview.chromium.org/2040043002
Cr-Original-Commit-Position: refs/heads/master@{#398138}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e435da049c2b7f5d2302689be32a80f2424fd9d4
2016-06-06 22:17:55 +00:00
hans aa5a2f1bd6 Revert of Suppress -Wnonportable-include-path on clang tot bots (patchset #2 id:20001 of https://codereview.chromium.org/2040533003/ )
Reason for revert:
The Clang warning was removed again in r271761.

Original issue's description:
> Suppress -Wnonportable-include-path on clang tot bots
>
> BUG=617318
> R=hans@chromium.org
>
> Committed: 2bc751024e

TBR=thakis@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=617318

Review-Url: https://codereview.chromium.org/2043813002
Cr-Original-Commit-Position: refs/heads/master@{#398065}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b359d2e5b4f7639055c9c6ff3ed39a03a2a3a0b
2016-06-06 18:14:10 +00:00
joedow 6bb419752b Removing SAS gyp variables since they are no longer used by Chromoting.
Chromoting no longer relies on the sas.dll so we can clean up some of the
build files and remove these variables.

BUG=

Review-Url: https://codereview.chromium.org/2030423002
Cr-Original-Commit-Position: refs/heads/master@{#398057}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de1387d31ef6fffe415c947ce3af245882f71fcf
2016-06-06 17:48:51 +00:00
dpranke 9f3f50f2d8 Update GN files w/ changes needed to make sanitizers work.
This is a set of build changes that are needed to make the
sanitizers (and sanitizer bots) work correctly. This change
should have no functional effect on the bots, since none of
the sanitizer bots are using GN yet; a follow-on CL will flip
the bots to GN.

R=brettw@chromium.org, inferno@chromium.org, thakis@chromium.org
BUG=605732, 573288

Review-Url: https://codereview.chromium.org/2031903002
Cr-Original-Commit-Position: refs/heads/master@{#397952}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9713aa43a050e81c74689be9ac11294632f44f8f
2016-06-05 22:29:54 +00:00
jbudorick 172fdd0ac9 [Android] Roll the NDK to r11c.
Also rolls breakpad to pick up an NDK fix.

BUG=599327

Review-Url: https://codereview.chromium.org/1991343002
Cr-Original-Commit-Position: refs/heads/master@{#397885}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7caea6eeb8d0cbce90c6749bd21a436a6f372e56
2016-06-04 01:42:41 +00:00
Nico Weber 9655efa13e Suppress -Wnonportable-include-path on clang tot bots
BUG=617318
R=hans@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#397823}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2bc751024e4ddf3f50594abdbf3c54b77df84562
2016-06-03 22:31:56 +00:00
Gordana.Cmiljanovic 6213e7d56b MIPS64EL: Add clang compile flags for MIPS64r6
Adding clang flags for mips64r6 Android in gn and gyp (plus correcting mips32r6 flags in gyp),
though gyp is obsolete.

BUG=compile error
TEST=gn gen out-gn/mips64-android --args="is_debug=false target_os=\"android\" target_cpu=\"mips64el\" chrome_public_apk_use_chromium_linker=false is_clang=true"
     ninja -C out-gn/mips64-android chrome_public_apk

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

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

Review-Url: https://codereview.chromium.org/1992393002
Cr-Original-Commit-Position: refs/heads/master@{#397575}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c643d33cf668665bac4562e69a72f9ef29b5bbed
2016-06-03 02:23:50 +00:00
sebmarchand bef56cca71 Don't use WPO for the Clang builds.
BUG=490934,598772

Review-Url: https://codereview.chromium.org/2033913002
Cr-Original-Commit-Position: refs/heads/master@{#397516}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a8ea9274d69b2209ea4e4f996069274cd08a1a24
2016-06-02 21:44:20 +00:00
sebmarchand e8419662bf Enable WPO for the x64 Official builds.
BUG=490934

Review-Url: https://codereview.chromium.org/2018293002
Cr-Original-Commit-Position: refs/heads/master@{#397460}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ffb89045a543e91c09f2cf2c168a823e7b943f27
2016-06-02 17:48:59 +00:00
milko.leporis b0a75a2944 [MIPS] Use gold as default linker for Linux
Start using bundled gold as default linker for Linux MIPS,
since gold in current bundled binutils (2.26) supports mips32.

BUG=none
TEST=Build Chromium for Linux MIPS

Review-Url: https://codereview.chromium.org/2027173002
Cr-Original-Commit-Position: refs/heads/master@{#397246}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 867134974146cb103320e398e7544b717bbbc0fe
2016-06-01 21:18:56 +00:00
thakis 967bac6e9b mac: Use -fstack-protector-strong instead of -fstack-protector-all.
This should reduce binary size quite a bit, without less security.
We currently use different -fstack-protector flags on different platforms,
and I think -fstack-protector-strong is where we eventually want all platforms
to be.  Chrome OS has been using that flag for a long time already.  Linux
will use it eventually (see bug linked to in the comment I'm adding here.)
clang-cl is very likely going to hook up /GS to -fstack-protector-strong.

BUG=none

Review-Url: https://codereview.chromium.org/2029633002
Cr-Original-Commit-Position: refs/heads/master@{#397174}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53b9133ec5956418541ae10e40547558ae70b387
2016-06-01 17:55:57 +00:00
mmoroz fcc5b5868a [libfuzzer] Add 'vptr' flag to builds with UndefinedBehaviourSanitizer.
security_blacklist.txt is a merge of blacklist.txt and vptr_blacklist.txt.

BUG=609786

Review-Url: https://codereview.chromium.org/2018973002
Cr-Original-Commit-Position: refs/heads/master@{#397090}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 16e7bcd3b68643a269fcec6163f18b16d97234bc
2016-06-01 09:29:01 +00:00
sebmarchand 0671aae0bf Disable warning 4702: Unreachable code for the WPO/PGO builds.
BUG=490934

Committed: https://crrev.com/04269068016b6ee7ac16c1d93c118668ac3a8936
Cr-Commit-Position: refs/heads/master@{#396647}

Review-Url: https://codereview.chromium.org/2023653002
Cr-Original-Commit-Position: refs/heads/master@{#396659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 70bc55033e16ed4696ccbaf7e091d426d538bd08
2016-05-29 16:49:57 +00:00