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

12568 Коммитов

Автор SHA1 Сообщение Дата
Pawel Hajdan, Jr 25bc371334 Unbundle opus
This CL makes it easier for Linux distribution packagers to use system
opus codec library, by providing a drop-in replacement GN file.

build/linux/unbundle is a separate directory tree, so that regular
Chromium developers don't need to worry about this configuration.

Please see https://cs.chromium.org/chromium/src/build/linux/unbundle/README?dr
for more context.

BUG=551343
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2838423002 .
Cr-Original-Commit-Position: refs/heads/master@{#467451}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5e44d52a673058600ca83f0163cded8405c5a8bd
2017-04-26 20:57:44 +00:00
wez 6761650489 Remove enable_frame_pointers and enable frame-pointers under ChromeOS.
As suggested by thakis@, this avoids adding yet another build argument
which can potentially be set inconsistently with other things.

Since ChromeOS needs frame-pointers enabled in x64 builds, to support
CWP, and temporarily in ARM/Thumb builds, to avoid CPU errata, we now
always enable them under ChromeOS. The ChromeOS toolchain already set
frame-pointers always on so this restores the pre-M59 behaviour.

BUG=BUG=710131, 706654, 711784

Review-Url: https://codereview.chromium.org/2845433002
Cr-Original-Commit-Position: refs/heads/master@{#467386}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8f2e1bde3eb4c84fcfe13962a2f6b48223526f9b
2017-04-26 18:28:23 +00:00
thakis 244e0b60be win: Stop passing /wd4206 in PCH builds.
We already don't pass it for blink's PCHs and it seems to work fine there.
No intended behavior change, please revert if this breaks you.

BUG=none

Review-Url: https://codereview.chromium.org/2830733006
Cr-Original-Commit-Position: refs/heads/master@{#467353}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7119231dcd23626b491d050706871c2729601a3
2017-04-26 17:04:25 +00:00
wychen 7f9ac78db8 Revert of Optimize check_gn_headers.py for speed (patchset #1 id:1 of https://codereview.chromium.org/2842513003/ )
Reason for revert:
This optimization was buggy and broke the ninja parsing.

Original issue's description:
> Optimize check_gn_headers.py for speed
>
> Process the output of 'ninja' live through the pipe rather than waiting
> for it to finish.
>
> Before:
> 20.74user 16.36system 0:24.57elapsed 151%CPU
>
> After:
> 16.63user 9.24system 0:13.94elapsed 185%CPU
>
> BUG=661774
>
> Review-Url: https://codereview.chromium.org/2842513003
> Cr-Commit-Position: refs/heads/master@{#466900}
> Committed: 6b609383cf

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

Review-Url: https://codereview.chromium.org/2844623002
Cr-Original-Commit-Position: refs/heads/master@{#467231}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c219b8a1823f884703c3546bf2cb7c17fb737d67
2017-04-26 04:09:45 +00:00
ochang 95c219be89 Add a GN flag to allow sanitizer builds with full debugging symbols.
R=thakis@chromium.org
BUG=692620

Review-Url: https://codereview.chromium.org/2843773003
Cr-Original-Commit-Position: refs/heads/master@{#467178}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a7ed44b0ffb4f4e8f70dd5c0c82ad0046d84964
2017-04-26 00:23:12 +00:00
jcivelli 095a50429c Refactoring ChildProcessConnection.
Splitting the ChildProcessConnectionImpl class in 2 and changing it to
an abstract class instead of an interface.
ChildProcessConnections can now be either:
- ImportantChildProcessConnection: bound BIND_IMPORTANT and used for
  the GPU process. This is equivalent to the previous
  alwaysInForeground ChildProcessConnectionImpl.
- ManagedChildProcessConnection: managed by the BindingManager.
With that split, only ManagedChildProcessConnection are now passed to
the BindingManager.

Also changing the ChildProcessLauncherHelper to keep a reference to the
ChildProcessConnection so that it can determine if it is OOM protected
without the help of the BindingManager. As a result, the BindingManager
does not keep ChildProcessConnections around when they are cleared.

Also changed BindingManagerImplTest to exercise the actual connection
code (instead of mocking some of the logic in the test).

BUG=689758

Review-Url: https://codereview.chromium.org/2828793002
Cr-Original-Commit-Position: refs/heads/master@{#467166}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: faaae321d190728d93ff5b51c961c3d28c016ae5
2017-04-25 23:55:48 +00:00
pcc 6d63724330 build: Enable function sections and data sections during LTO.
This allows the linker to apply --gc-sections to object files created
during LTO. This yields a >8MB reduction in stripped binary size for
official binaries built with ThinLTO.

This change increases the size of an official binary built with regular
LTO by 8192 bytes, but this probably isn't worth worrying about.

BUG=660216,607968
R=thakis@chromium.org,krasin@chromium.org

Review-Url: https://codereview.chromium.org/2840723003
Cr-Original-Commit-Position: refs/heads/master@{#467129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: deda22b114bc8308ad1ae888727a66ceda9189aa
2017-04-25 21:54:04 +00:00
thakis 4544a76339 win: /PROFILE works fine with clang.
BUG=82385

Review-Url: https://codereview.chromium.org/2838673004
Cr-Original-Commit-Position: refs/heads/master@{#467126}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5aabe7f1511ffb880612b9ec8e43fe3f7950e14a
2017-04-25 21:48:12 +00:00
hzl 3b1d8eb828 Make test results presentation enabled for swarming.
In order to enable a script for swarming, a script has to enfore a
certain API. Therefore I am changing test_results_presentation to suite
this API.

BUG=605572

Review-Url: https://codereview.chromium.org/2821533005
Cr-Original-Commit-Position: refs/heads/master@{#467064}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a71da5150bbafbf33e18c97c837dd4f10dc39d49
2017-04-25 18:55:20 +00:00
nicholss a8f1fe795b Update CRD ChromeOS Host build files to be better in line with GN style.
Review-Url: https://codereview.chromium.org/2438773003
Cr-Original-Commit-Position: refs/heads/master@{#467017}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 295ec60d1934341a35781704a0301fdb3cca43a3
2017-04-25 16:44:09 +00:00
sdefresne 10f7f6842f [ios] Add support for filtering codesiging identity.
Add a variable ios_code_signing_identity_description variable to
control how the codesigning identity is selected (defaults to the
old pattern "iPhone Developer").

This can be used to select a specific codesigning identity by name
when a developer has multiple codesigning identities certificates
installed on their machine (using a selection by name means there
is nothing to change when the certificates are refreshed and the
identifier is changed).

BUG=714605

Review-Url: https://codereview.chromium.org/2835893004
Cr-Original-Commit-Position: refs/heads/master@{#467002}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ef9538469f035211a39b09d5f599d553acc23d3
2017-04-25 15:57:54 +00:00
agrieve 9c64b49731 Android: Fix incremental builds not noticing when assets change
BUG=715057

Review-Url: https://codereview.chromium.org/2841883002
Cr-Original-Commit-Position: refs/heads/master@{#466992}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5951c34be6da4c8a59563a1f8abc05918d6b0e8c
2017-04-25 15:07:49 +00:00
richard.townsend c554b04d8f Introduce host_pkg_config variable for cross-compilation
When cross-compiling in the ChromiumOS chroot, it's possible for
host-based compiled_actions targets to pick up libraries in the board
sysroot which causes linker warnings (converted to errors via
--fatal-warnings). To address this, introduce a host_pkg_config
variable, which can override pkg_config when building tools used on
the host as part of the build process.

BUG=710841

Review-Url: https://codereview.chromium.org/2818523002
Cr-Original-Commit-Position: refs/heads/master@{#466947}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0dbb630385d7bd387348b00437e72b611287cb49
2017-04-25 11:58:44 +00:00
wychen dc85c82b26 Optimize check_gn_headers.py for speed
Process the output of 'ninja' live through the pipe rather than waiting
for it to finish.

Before:
20.74user 16.36system 0:24.57elapsed 151%CPU

After:
16.63user 9.24system 0:13.94elapsed 185%CPU

BUG=661774

Review-Url: https://codereview.chromium.org/2842513003
Cr-Original-Commit-Position: refs/heads/master@{#466900}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6b609383cf3669b0670b567249ff868ea4b26e43
2017-04-25 06:30:14 +00:00
krasin 87cefe1eb8 Revert of Enable ThinLTO and LLD for POSIX LTO by default on Linux. (patchset #4 id:60001 of https://codereview.chromium.org/2831213006/ )
Reason for revert:
Code size increase: https://chromeperf.appspot.com/report?sid=7826328365affe1842778994c934cbe08c7f9b78ef5d8895ec85d3094bb8972d&start_rev=466555&end_rev=466782

Postmortem is coming. TL;DR: worse dead code elimination in ThinLTO

Original issue's description:
> Enable ThinLTO and LLD for POSIX LTO by default on Linux.
>
> Eventually, we will enable LLD on Linux even for regular
> builds, but it's natural to make incremental steps here.
>
> ThinLTO brings multi-threaded linking for LinkTimeOptimization
> builds, which allows to speed up codegen considerably (up to 4x).
> ThinLTO also manages a cache inside out/<gn-config>/thinlto-cache
> directory, that improves incremental linking as well.
>
> There's a cache pruning policy that will prevent the cache from
> growing indefinitely. The policy is not yet finalized, and
> complaints / suggestions are welcome.
>
> BUG=660216,607968
>
> Review-Url: https://codereview.chromium.org/2831213006
> Cr-Commit-Position: refs/heads/master@{#466732}
> Committed: 7997bbe88a

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

Review-Url: https://codereview.chromium.org/2842683002
Cr-Original-Commit-Position: refs/heads/master@{#466842}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6aee4d67dcc67850c8ec7b9fc181cb7d91b55734
2017-04-25 00:42:01 +00:00
jbudorick 4841350c40 Revert of [Android] Enable multidex for release builds of chrome_public_test_apk. (patchset #4 id:60001 of https://codereview.chromium.org/2836723002/ )
Reason for revert:
Breaks on O.

Original issue's description:
> [Android] Enable multidex for release builds of chrome_public_test_apk.
>
> BUG=712852
>
> Review-Url: https://codereview.chromium.org/2836723002
> Cr-Commit-Position: refs/heads/master@{#466659}
> Committed: 026ed39fd1

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

Review-Url: https://codereview.chromium.org/2837123003
Cr-Original-Commit-Position: refs/heads/master@{#466791}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 27f4fa45a207b4bd813a5c1bc5875e4696080a4c
2017-04-24 22:19:40 +00:00
jbudorick 2245a109f1 [android] Clean up a couple of unnecessary test runner log warnings.
BUG=

Review-Url: https://codereview.chromium.org/2840573002
Cr-Original-Commit-Position: refs/heads/master@{#466737}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2c4779f7670b5b634ea085c18db88958cc5994a9
2017-04-24 20:24:26 +00:00
jbudorick 356c9eb09f [android] Make main_dex_list.py use the same proguard as everything else.
Realized that main_dex_list was using a different version of proguard
while working on test multidex.

Review-Url: https://codereview.chromium.org/2840533003
Cr-Original-Commit-Position: refs/heads/master@{#466733}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55fc2829afb24aa310dde477d64d07d35a32e46e
2017-04-24 20:21:14 +00:00
krasin 4b1cffdcde Enable ThinLTO and LLD for POSIX LTO by default on Linux.
Eventually, we will enable LLD on Linux even for regular
builds, but it's natural to make incremental steps here.

ThinLTO brings multi-threaded linking for LinkTimeOptimization
builds, which allows to speed up codegen considerably (up to 4x).
ThinLTO also manages a cache inside out/<gn-config>/thinlto-cache
directory, that improves incremental linking as well.

There's a cache pruning policy that will prevent the cache from
growing indefinitely. The policy is not yet finalized, and
complaints / suggestions are welcome.

BUG=660216,607968

Review-Url: https://codereview.chromium.org/2831213006
Cr-Original-Commit-Position: refs/heads/master@{#466732}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7997bbe88aef7eeca37111dcb8426f0430347fb5
2017-04-24 20:19:18 +00:00
jbudorick 6bcc8516d0 [Android] Enable multidex for release builds of chrome_public_test_apk.
BUG=712852

Review-Url: https://codereview.chromium.org/2836723002
Cr-Original-Commit-Position: refs/heads/master@{#466659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 026ed39fd157f3afe2a6315571ddbc1012f9061e
2017-04-24 16:41:22 +00:00
findit-for-me 4636d31671 Revert of Changing default Windows compiler to VS 2017 (patchset #9 id:160001 of https://codereview.chromium.org/2762093003/ )
Reason for revert:

Findit(https://goo.gl/kROfz5) identified CL at revision 466536 as the
culprit for failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzU2MzRiZWNjM2NmNTVkZDE2ZDhlNWY2ZTU2YTcxMDVjNGVmY2Y4YWYM

Original issue's description:
> Changing default Windows compiler to VS 2017
>
> This CL is currently purely for testing purposes.
>
> BUG=683729
>
> Review-Url: https://codereview.chromium.org/2762093003
> Cr-Commit-Position: refs/heads/master@{#466536}
> Committed: 5634becc3c

TBR=thakis@chromium.org,scottmg@chromium.org,dpranke@chromium.org,sebmarchand@chromium.org,brucedawson@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=683729

Review-Url: https://codereview.chromium.org/2832373002
Cr-Original-Commit-Position: refs/heads/master@{#466538}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a9d5d30b3deb074bb9eea410b75cd1d2220ac9ea
2017-04-22 18:40:21 +00:00
brucedawson c8eb68f4d4 Changing default Windows compiler to VS 2017
This CL is currently purely for testing purposes.

BUG=683729

Review-Url: https://codereview.chromium.org/2762093003
Cr-Original-Commit-Position: refs/heads/master@{#466536}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5634becc3cf55dd16d8e5f6e56a7105c4efcf8af
2017-04-22 04:29:53 +00:00
shenghuazhang e3e598a0a6 [Instrumentation Test Speed] Add trace event to the setup logic
BUG=

Review-Url: https://codereview.chromium.org/2833773004
Cr-Original-Commit-Position: refs/heads/master@{#466463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0db41d57152ce8627b01a5a221424d5787ab236a
2017-04-21 22:12:55 +00:00
hzl 9d4c4b5910 [Android] Fix tombstone streaming to logdog.
BUG=631213

Review-Url: https://codereview.chromium.org/2834143002
Cr-Original-Commit-Position: refs/heads/master@{#466435}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 726fecd251f8e697b3be0f23525a906f230c8ea3
2017-04-21 20:37:27 +00:00
ctzsm 45efa92cd4 Rename android_webview_apk and android_webview_test_apk
To webview_instrumentation_apk and webview_instrumentation_test_apk

BUG=701938

Review-Url: https://codereview.chromium.org/2802093008
Cr-Original-Commit-Position: refs/heads/master@{#466368}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34f54d6d0964d6dcd779482a884819dcf973c05f
2017-04-21 17:04:07 +00:00
ortuno ff3857b96f bluetooth: Add RSSI icon for bluetooth choosers.
So that users can more easily identify the devices that are near them.

BUG=629689

Review-Url: https://codereview.chromium.org/2821973003
Cr-Original-Commit-Position: refs/heads/master@{#466230}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a973e918a51467c001a313ba91ebb69c69478b65
2017-04-21 02:13:20 +00:00
lod d30df16423 Fix official builds on ios 8.3+
Conditionally disable the warning based on the value of the
"xcode_version" variable. To be reverted when all bots are on 8.3.

BUG=712731

Review-Url: https://codereview.chromium.org/2833833002
Cr-Original-Commit-Position: refs/heads/master@{#466157}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b1eb09e2deb0335502f6b744a902dd0251a209f3
2017-04-20 22:08:53 +00:00
wez b835b26ddf Enable frame pointers explicitly under ARM32.
This replaces the quick-fix in crrev.com/2820803003, to address issues
with ARM32 builds when frame pointers are disabled.

This CL explicitly enables frame pointers in ARM32 builds, and pulls out
the ARM32 and ARM64 special-cases to be handling separately from Debug,
profiling and sanitizer build configurations, for clarity.

BUG=710131, 706654, 711784

Review-Url: https://codereview.chromium.org/2829433003
Cr-Original-Commit-Position: refs/heads/master@{#466080}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 38f02400540606a7c418f9fa5148d3a07fd8b4fa
2017-04-20 18:41:09 +00:00
thakis 37d07da7ab lastchange: Remove more unused SVN code.
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2826263003
Cr-Original-Commit-Position: refs/heads/master@{#466079}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad4c20785bdd5472bf4a79fa1422285b93cb8280
2017-04-20 18:38:42 +00:00
thakis 33a6a290ec Remove enable_media_router.
It was set to false only on iOS and cast, but the define is mostly used
in chrome/ which isn't used in neither iOS nor cast builds.

No intended behavior change.

BUG=461815,704958
TBR=cpu

Review-Url: https://codereview.chromium.org/2760403003
Cr-Original-Commit-Position: refs/heads/master@{#466043}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 678822e951c8943cc2b80657eeaec130d82b7385
2017-04-20 17:20:34 +00:00
jbudorick 3f3d1e1cf5 [Android] Rename package_name in java_cpp_template to package_path.
I'm working on a change that will require android_apk clients to
pass the actual package name (e.g. "org.chromium.base") to support
a java_cpp_template client that requires the package name. This CL
should prevent confusion or suboptimal names.

BUG=710811
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2822343002
Cr-Original-Commit-Position: refs/heads/master@{#466015}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1e5e1dcfccdb9ec8625bda61a0afda98bf05ffb1
2017-04-20 15:24:48 +00:00
zpeng e4a8107de7 Reland "Update third_party/checkstyle to 7.6.1"
Reverted in:
https://codereview.chromium.org/2807753003/

Reason for reland:
1. No longer uses Android-related wrapper script for downloading
checkstyle binary file.
2. chromium_presubmit bot now supports Java 8.

TBR=klobag@chromium.org
BUG=703238

Review-Url: https://codereview.chromium.org/2820583002
Cr-Original-Commit-Position: refs/heads/master@{#465999}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ccf6d26c344204648d226c7b1903179f389230c2
2017-04-20 14:17:22 +00:00
paulmiller 98f2769027 Get Proguard flags from GMS clients (upstream part)
Update the GMS preprocessing script to enumerate the proguard files that
come with the client libs, and put them in a generated .gni file. Use
the generated file to pull in the recommended flags, and remove them
from apk_proguard.flags. This will preclude some human error in the GMS
roll process.

In v9, each GMS client has its own proguard.txt file, with common flags
duplicated accross clients. In v10, most clients don't have their own
proguard.txt, with common flags only in the "basement" client.

BUG=708349

Review-Url: https://codereview.chromium.org/2827793005
Cr-Original-Commit-Position: refs/heads/master@{#465814}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3278d07f94c85839bac14d4f9495056c82977b56
2017-04-19 23:48:51 +00:00
brucedawson c43d9e5efb Copy dbghelp.dll to output directory
Chrome's tests sometimes symbolize call stacks. In order to support new
PDB formats such as PDB's generated by VS 2017's updated /debug:fastlink
we need to use a recent version of dbghelp.dll. This change restores a
modified version of _CopyDebugger that was removed a few weeks ago, thus
avoiding a CPU busy hang in the system version of dbghelp.dll.

R=jochen@chromium.org
BUG=712905

Review-Url: https://codereview.chromium.org/2834513003
Cr-Original-Commit-Position: refs/heads/master@{#465784}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6db4113f95a5fd90ec2e0df495ba1982c651ccee
2017-04-19 22:27:40 +00:00
thakis d3811cf261 Get rid of LASTCHANGE.blink
Now that blink lives in the src repo, there's no need to generate a
separate LASTCHANGE file for it.

The LASTCHANGE line makes it into the user agent. LASTCHANGE.blink
used --git-hash-only to only have the git hash in there.  Remove
that now-unused flag and use version.py's -e flag to get the same
effect for webkit_version.h

Reverts parts of https://chromiumcodereview.appspot.com/14973005/
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/1982423002
Cr-Original-Commit-Position: refs/heads/master@{#465739}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 69e2570d4b5e50cd708e4c467e567d810c4b2134
2017-04-19 20:48:47 +00:00
mark d4c29e54e6 Update Crashpad to f487da4ff2c47a129e2f8f3a7e0c769b54e4585f
ffe4c1018c1b net: Update Blink source code references
e04194afd91d win: Wrap TerminateProcess() to accept cdecl patches on x86
74fddc3fed2a win: Wrap test::ChildLauncher::Start() in
             ASSERT_NO_FATAL_FAILURE()
f487da4ff2c4 win handler: Move test targets to handler_test.gyp

BUG=crashpad:179

Review-Url: https://codereview.chromium.org/2833533003
Cr-Original-Commit-Position: refs/heads/master@{#465723}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e672411293885c984f074000d465b789c2cefb7d
2017-04-19 20:08:05 +00:00
wnwen b458249b49 Android: Add module "_all" for Android Studio
Adding all sources to a "_all" pseudo module fixes Studio's code analysis
functions (imports, refactoring).

In order to have things build properly in gradle, the "_all" module has
all sources excluded (gradle applies the filters, studio does not).

Also fix "--all" targets to include tests. Make it easier to make sweeping
java refactors in Android Studio.

BUG=620034

Review-Url: https://codereview.chromium.org/2812133003
Cr-Original-Commit-Position: refs/heads/master@{#465700}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 03427bcc41560b36b5c595eda92e35f563a6303e
2017-04-19 19:22:24 +00:00
sebmarchand 7db8c546e8 Remove Speedometer from the PGO training set.
This benchmark has been failing (timing out) for months now, so removing it won't affect the performance.

The issue seem to be that Speedometer takes a while to tun, and it's much slower in a PGI build, so we timeout after 10 minutes and at this
point the benchmark is still running. We could increase the timeout
but as mentioned above this has been failing for months and we haven't noticed a performance regression.

BUG=650432

Review-Url: https://codereview.chromium.org/2814103003
Cr-Original-Commit-Position: refs/heads/master@{#465682}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa335b32311ded1c056247d4a8baca404de732c6
2017-04-19 18:55:48 +00:00
sakal 62ec1e1e77 Change dummy package name so it doesn't include a reserved word.
Using dummy.package as a package name causes problems in Android Studio
2.3.

BUG=webrtc:7498, 700438

Review-Url: https://codereview.chromium.org/2827923002
Cr-Original-Commit-Position: refs/heads/master@{#465624}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7acdbdd51897c2abc030f06ecfec9116ea5bee26
2017-04-19 15:55:54 +00:00
mark bca1cbe2aa Update Crashpad to b8aaa22905308cc400f880006a84dddac834bd6b
bc7c6e235d64 mac: Prevent the same report from being uploaded multiple
             times
5d07d81458dc Fix Doxygen warnings after 30385d4e4772
2ec34e32c2f4 linux: Support 4.10 format for empty Groups: lines in
             /proc/pid/status
8297b19a5e85 Don’t attempt to do periodic tasks in a secondary
             crashpad_handler
c64fd3f9b4d5 Update mini_chromium to dc3d480305b2
ddcc74f08f4f mac: Tolerate dead names for reply ports in the exception
             handler server
b8aaa2290530 mac handler: Record a file-limits annotation (temporarily)

BUG=crashpad:30,crashpad:143,crashpad:167,crashpad:180

Review-Url: https://codereview.chromium.org/2825103002
Cr-Original-Commit-Position: refs/heads/master@{#465308}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22d1fa7cd581238076db274a3932ae45a9966cd5
2017-04-18 18:55:05 +00:00
estevenson 15013685bd Android: update patch size reference APKs for m59.
Also change the CURRENT_MILESTONE to 59 and make the docs a little
easier to follow.

BUG=
TBR=agrieve@chromium.org

Review-Url: https://codereview.chromium.org/2820163003
Cr-Original-Commit-Position: refs/heads/master@{#465039}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fb11d048bac3ddc72bb78399e5b7e8057fd050c7
2017-04-17 22:08:30 +00:00
alexmos 0cca6c6674 Revert of (Reland) Expose resources in Robolectric/JUnit tests. (patchset #2 id:20001 of https://codereview.chromium.org/2819983002/ )
Reason for revert:
Appears to be breaking chrome_junit_tests: https://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/40695

Stack trace from failed tests:
android.content.res.Resources$NotFoundException: Resource ID #0x7f0a0153
	at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:190)
	at android.content.res.Resources.getDimensionPixelSize(Resources.java:667)
	at org.chromium.chrome.browser.suggestions.TileGroup.<init>(TileGroup.java:192)
	at org.chromium.chrome.browser.suggestions.TileGroupTest.testReceiveNewTilesWithoutChanges(TileGroupTest.java:110)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:515)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:316)
	at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:236)
	at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:41)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:176)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.chromium.testing.local.GtestComputer$GtestSuiteRunner.run(GtestComputer.java:46)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.chromium.testing.local.JunitTestMain.main(JunitTestMain.java:105)

Original issue's description:
> (Reland) Expose resources in Robolectric/JUnit tests.
>
> Will let people use Android resources in Robolectric tests.
> To use, specify package_name GN variable in junit_binary
> targets with your apps package name.
>
> This change will also (basically) require that you use the
> generated wrappers from out_dir/bin/run_<suite name> to run
> the tests since GN will be generating many arguments to
> pass along to the test runner.
>
> BUG=693573
>
> Review-Url: https://codereview.chromium.org/2819983002
> Cr-Commit-Position: refs/heads/master@{#464973}
> Committed: 30bba37e58

TBR=jbudorick@chromium.org,nyquist@chromium.org,mikecase@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/2824863002
Cr-Original-Commit-Position: refs/heads/master@{#465027}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3781c029a68e4ea22f3e36db45a561723b610667
2017-04-17 21:30:47 +00:00
mikecase 3af457013f (Reland) Expose resources in Robolectric/JUnit tests.
Will let people use Android resources in Robolectric tests.
To use, specify package_name GN variable in junit_binary
targets with your apps package name.

This change will also (basically) require that you use the
generated wrappers from out_dir/bin/run_<suite name> to run
the tests since GN will be generating many arguments to
pass along to the test runner.

BUG=693573

Review-Url: https://codereview.chromium.org/2819983002
Cr-Original-Commit-Position: refs/heads/master@{#464973}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 30bba37e58b51483b1ec77bc3f697deb8e4033c1
2017-04-17 19:22:01 +00:00
thestig d13465f39b Make gn_run_binary.py print out the exit code on error.
Review-Url: https://codereview.chromium.org/2820753004
Cr-Original-Commit-Position: refs/heads/master@{#464890}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b43ecb203b3ee459e3564e7957ab2cfbd2b040f6
2017-04-16 21:39:29 +00:00
wez a9eff4d3d2 Remove explicit -fomit_frame_pointer from ARM 32-bit builds.
-fomit_frame_pointer causes the assembly generated from SkEdge::setLine
to trigger a CPU errata in ARM A12/A17 devices, so we are temporarily
removing the flag until the toolchain can be fixed to avoid that.

Revert this when issue 711784 is resolved.

BUG=710131, 706654, 711784

Review-Url: https://codereview.chromium.org/2820803003
Cr-Original-Commit-Position: refs/heads/master@{#464832}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bec44505ea17b6b8fbd366ab22ca724f3c448fe6
2017-04-14 23:55:20 +00:00
bsazonov 61a199d3b2 Fix out-of-source Android builds
This CL removes resource file path rebasing while creating temporary directory
for upacking resources. It fixes out-of-source builds on Android (see
http://crbug.com/690925 for details).

BUG=690925

Review-Url: https://codereview.chromium.org/2821653002
Cr-Original-Commit-Position: refs/heads/master@{#464727}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9352bae3ebd8ae0dcfe70b115f9ad78af9f82e12
2017-04-14 14:53:07 +00:00
estevenson 0875ea1284 Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py.
Since the Blink rename, enum entry names now use the kCamelCase naming
convention instead of SHOUTY_CASE. This doesn't match well with Java
naming conventions and Java constants created by java_cpp_enum.py look
out of place with the rest of the Java codebase.

This CL modifies java_cpp_enum.py so that C++ enum naming conventions
don't leak into the Java side, specifically translating kCamelCase and
CamelCase enum entries to SHOUTY_CASE.

BUG=710335

Review-Url: https://codereview.chromium.org/2815103004
Cr-Original-Commit-Position: refs/heads/master@{#464661}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23b8f65ce75fc2ff04a28cb5a940861c134e0797
2017-04-14 02:40:13 +00:00
drbasic d9f7991400 Get Chrome compiling on VS2017 Community edition
R=scottmg@chromium.org
BUG=683729

Review-Url: https://codereview.chromium.org/2815873002
Cr-Original-Commit-Position: refs/heads/master@{#464657}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 461b329afc65973c9d25edbae1eff9e0b6979d07
2017-04-14 02:13:01 +00:00
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