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

12522 Коммитов

Автор SHA1 Сообщение Дата
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
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
perezju 5b1dce3687 [devil refactor] Prepare clients for DeviceUnreachableError
The catapult CL [1] will introduce a change where running adb commands
may now raise device_errors.DeviceUnreachableError if the device is
no longer found.

This change adjusts clients that were hoping to catch this kind of
error as a device_errors.[Adb]CommandFailedError.

[1]: https://codereview.chromium.org/2808763004/

BUG=https://github.com/catapult-project/catapult/issues/3476

Review-Url: https://codereview.chromium.org/2811993002
Cr-Original-Commit-Position: refs/heads/master@{#464383}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46865bb32b95d0ce0f16e12c8a59bf30a6fd8da4
2017-04-13 12:19:51 +00:00
dgn 8cf8b0fa8b [Dependencies] Add the Google Play services Location API
BUG=708373

Review-Url: https://codereview.chromium.org/2815163002
Cr-Original-Commit-Position: refs/heads/master@{#464229}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3807f86ebdb6b8e00e49b47014fb8a3b3c72499
2017-04-13 01:22:47 +00:00
Pawel Hajdan, Jr 2273a5bbb6 Fix build with system libjpeg
This updates the unbundle file to get back in sync with mainline,
so that targets that depend on libjpeg_config continue to work.

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2808383006 .
Cr-Original-Commit-Position: refs/heads/master@{#464152}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c8dd8f2427404cbc64f103733124c6c4e0f51621
2017-04-12 21:09:59 +00:00
Pawel Hajdan, Jr 03cb0b45c6 build/linux/unbundle: make ffmpeg.gn define USE_SYSTEM_FFMPEG
This will make it possible for distro-specific patch to be applied
unconditionally.

This does not affect any build at Google. build/linux/unbundle
is a completely parallel directory tree intended to be used
by Linux distribution packagers. Please see
https://cs.chromium.org/chromium/src/build/linux/unbundle/README
for more context.

BUG=none
R=thestig@chromium.org

Review-Url: https://codereview.chromium.org/2811423002 .
Cr-Original-Commit-Position: refs/heads/master@{#464151}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 038501c2703a4439409cd0d7c002b303ffc6377f
2017-04-12 21:06:11 +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
hzl d8122f1aa4 Reland of Add back buttons and load new 'pages' by calling javascript. (patchset #1 id:1 of https://codereview.chromium.org/2814903002/ )
Reason for reland:
Error downstream has been fixed. So it should be able to reland now.

TBR=mikecase@chromium.org,jbudorick@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
BUG=605572

Review-Url: https://codereview.chromium.org/2815073003
Cr-Original-Commit-Position: refs/heads/master@{#464107}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e646a34701985a47d695ef0cbafdd8db5c7886e3
2017-04-12 19:28:04 +00:00
siggi 61f62e4ef7 Update Crashpad to 1f28a123a4c9449e3d7ddad4ff00dacd366d5216
46f403377367 posix: Add ScopedDIR for managing open directories
ab9c03f8827b win: Promote WinMultiProcessWithTempDir to test/win for
             reuse
9c6d190b9570 linux: Add ScopedPtraceAttach to manage ptrace attachments
fd9f952393ea Fix crashpad_util_test build with GCC after 4b450c813795
e142aa87d663 linux: Fix crashpad_util_test ScopedPtraceAttach.* with the
             Yama LSM
a5d81370beda linux: Use pread64() instead of pread() in ProcessMemory
30385d4e4772 handler: Add user extensibility stream call-out
79425e4d9737 win: Free an old buffer before attempting to allocate a
             resized one
1f28a123a4c9 designdoc: Add description of user data sources

BUG=crashpad:167,crashpad:30

Review-Url: https://codereview.chromium.org/2814043003
Cr-Original-Commit-Position: refs/heads/master@{#464059}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bcba287825394261983a99443cb1be450de1083c
2017-04-12 17:07:54 +00:00
brucedawson b2881bd3eb Specify the SDK version when running vcvarsall.bat
Chromium requires the 10.0.14393.0 SDK to build. Previous versions don't
have all of the required declarations, and 10.0.15063.0 is buggy (it
includes a file that it doesn't ship with). So, we request 10.0.14393.0
exactly. This will fail if that SDK version is not installed.

The bug for the brokenness of 15063 is here:
https://developercommunity.visualstudio.com/content/problem/42961/15063-sdk-is-broken-bitsh-indirectly-references-no.html

Old SDKs (such as 14393) can be found here:
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive

R=scottmg@chromium.org

Review-Url: https://codereview.chromium.org/2814843003
Cr-Original-Commit-Position: refs/heads/master@{#463830}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b70a415b3e9b474d2de29120f625b48c1b476c0e
2017-04-11 23:21: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
hzl 29afa4899b Revert of Add back buttons and load new 'pages' by calling javascript. (patchset #12 id:220001 of https://codereview.chromium.org/2799153008/ )
Reason for revert:
Reverting because it broke stuff.

Original issue's description:
> Add back buttons and load new 'pages' by calling javascript.
>
> Previously when we want to see the details inside a specific suite, we
> will go to a url '.../?suite=xxx'. This may not work in google storage.
>
> In this cl, I am changing the logic by calling javascript directly to
> change the content of the page, if the user wants to see a specific
> suite.
>
> Because we are not changing urls anymore, we need to have a "Back"
> button to go back to the main page.
>
> BUG=605572
>
> Review-Url: https://codereview.chromium.org/2799153008
> Cr-Commit-Position: refs/heads/master@{#463781}
> Committed: 9b4e899d21

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

Review-Url: https://codereview.chromium.org/2814903002
Cr-Original-Commit-Position: refs/heads/master@{#463792}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ed038bc007f21c911007959447efa64fdfec4b3f
2017-04-11 22:04:47 +00:00
hzl 080b71b2f4 Add back buttons and load new 'pages' by calling javascript.
Previously when we want to see the details inside a specific suite, we
will go to a url '.../?suite=xxx'. This may not work in google storage.

In this cl, I am changing the logic by calling javascript directly to
change the content of the page, if the user wants to see a specific
suite.

Because we are not changing urls anymore, we need to have a "Back"
button to go back to the main page.

BUG=605572

Review-Url: https://codereview.chromium.org/2799153008
Cr-Original-Commit-Position: refs/heads/master@{#463781}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b4e899d21ec602a49cd050b800085cd22130c69
2017-04-11 21:42:19 +00:00
agrieve 9879e62d2f Add README.md for //build/android/incremental_install
Review-Url: https://codereview.chromium.org/2809973002
Cr-Original-Commit-Position: refs/heads/master@{#463747}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b6b927cc9cf4442b160da02285ae62613f90d5f
2017-04-11 20:20:01 +00:00
megjablon 4f58cb5b36 Create a new Data Saver settings page that adds the site breakdown
The new Data Saver settings page moves the savings percent and stats above the
graph, changes formatting, and adds a reset button and site breakdown. The site
breakdown displays the top ten sites with the most data usage and their data
savings. The compression stats in native are quieried and a list of
DataReductionDataUseItem is passed to the view to display.

BUG=615560

Review-Url: https://codereview.chromium.org/2781323004
Cr-Original-Commit-Position: refs/heads/master@{#463732}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1956acf3a49b71307e53b33129dad628b64326e8
2017-04-11 19:48:32 +00:00
ortuno ab0b06d1c0 bluetooth: Add connected icon to Bluetooth Chooser on Android
Adds the ability to show rows with icons to ItemChooserDialog.

Changes BluetoothChooserDialog to pass in an icon for connected devices.

BUG=543466

Review-Url: https://codereview.chromium.org/2704263004
Cr-Original-Commit-Position: refs/heads/master@{#463554}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a9620b50d02828a39914e3764dea3ef4cf2bdc3b
2017-04-11 06:38:30 +00:00
shenghuazhang 9cddc7cae2 [Instrumentation Test Speed] Install apks in parallel with concurrent_adb enabled
The current install_apk installs all apks one by one. This CL enables
apks installation in parallel when execute the test with
command '--enable-concurrent-adb'. In this way, the total
individial_device_set_up time decreases.

BUG=670302

Review-Url: https://codereview.chromium.org/2791613003
Cr-Original-Commit-Position: refs/heads/master@{#463529}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ff10a8c4f7295430af4d3bac32ffb713fb42761
2017-04-11 04:12:11 +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
dgn 94c06fe70f [Android] Simplify naming of generated java enums IntDefs
Allows to use @EnumType as IntDef annotation instead of
@EnumType.EnumTypeEnum

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

Review-Url: https://codereview.chromium.org/2792583002
Cr-Original-Commit-Position: refs/heads/master@{#463490}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 14f477472e0e8612c98763b68e9a51bcae954c24
2017-04-11 01:38:50 +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
thakis 5edc6803c4 lastchange: Remove two flags that look unused.
Removes --git-svn-go-deeper and -d/--default-lastchange.
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2808193002
Cr-Original-Commit-Position: refs/heads/master@{#463362}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 007754f7d6f8116be3dc08b553e262156966706c
2017-04-10 19:32:22 +00:00
scottkirkwood 8e55e126f1 Add a way to get the test data folder from junit.
BUG=

Review-Url: https://codereview.chromium.org/2788733002
Cr-Original-Commit-Position: refs/heads/master@{#463328}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a92e7bd9d7d0c02f5350179b0fecbdef0e14b1ff
2017-04-10 18:14:34 +00:00
thakis 3a13ac2f74 win: Remove tool_wrapper.py cl-compile, it is unused.
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2810723003
Cr-Original-Commit-Position: refs/heads/master@{#463327}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dfd67dbe4d4cd2a2ad36a5382cc72f01f8260fa0
2017-04-10 18:13:02 +00:00
thakis 4b335d8ccb lastchange.py: Remove SVN support.
We've been on git for a long time now, this code has been unused for years.
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2814503002
Cr-Original-Commit-Position: refs/heads/master@{#463319}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d48b1ebf6fd1f326a7b437b438c05c7296ecaba
2017-04-10 17:58:10 +00:00
csharrison 7e28face51 [subresource_filter] replace custom infobar icon with chrome icon
Note that this only changes the icon for the mini infobar, not for
the entire feature (content settings, desktop UI, etc).

BUG=689992

Review-Url: https://codereview.chromium.org/2791093002
Cr-Original-Commit-Position: refs/heads/master@{#463317}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8088cc1ba912e866ea7c5daef7a7b4beba74525c
2017-04-10 17:53:19 +00:00
estevenson d1584e681b Android: update static initializer checks in resource_sizes.py.
In resource_sizes.py, we check for static initializers using readelf
and using dump-static-initializers.py. The latter requires an
unstripped .so file. In some 64 bit APKs (i.e. MonochromePublic.apk), a
32 bit binary is also included but since this binary isn't located in
the normal location ($OUTDIR/lib.unstripped/), we currently just check
the 64 bit binary twice.

This also makes |_VerifyBuildIdsMatch()| fail (which was previously
added incorrectly in https://codereview.chromium.org/2706243013) since
we try to verify the build ids of two different binaries (32 and 64 bit
versions).

To simplify this, we ignore 32 bit .so files when 64 bit .so file are
present since the 32 bit .so files will be checked by other bots.

BUG=708942

Review-Url: https://codereview.chromium.org/2797163006
Cr-Original-Commit-Position: refs/heads/master@{#463284}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ad22b20258b96ac8c6da01059e0eb1b321e56f1
2017-04-10 16:14:02 +00:00
jzfeng 6c97effd09 Let users to print a webpage into pdf through PrintToPDF devtools command
under headless chrome.

This patch includes:
1) adding a new print manager, i.e., HeadlessPrintManager to handle all the
   printing related IPCs for headless.
2) plumbing through the pdf data from HeadlessPrintManager to
   HeadlessDevToolsManagerDelegate to handle the PrintToPDF command.
3) adding a new option to PrintWebViewHelper on Mac to return all the printed
   pages in the first PrintHostMsg_DidPrintPage message as a single file.
   This makes it conform to Linux and Windows, which simplify the logic in
   HeadlessPrintManager.

This patch guarantees that HeadlessPrintManager is the only IPC entry point.
In the future, if there are requirements to support the same devtools command
in regular chrome, we may consider a framework to ensure multiple print managers
to work properly under a content embedder.

BUG=603559

Review-Url: https://codereview.chromium.org/2780433002
Cr-Original-Commit-Position: refs/heads/master@{#463105}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0cbec8b353f24515cc77a67ee95addc4f7a714ab
2017-04-08 01:59:02 +00:00
dpranke 9505c73046 Add component and team info to some //testing, //tools OWNERS files.
This adds some basic TEAM and COMPONENT info for the top-level
//testing and //tools files and a few subdirectories, where either
the right owners are in infra or we don't really have good owners
but might as well pick something. This also adds a TEAM entry
for //build.

R=phajdan.jr@chromium.org

Review-Url: https://codereview.chromium.org/2800973004
Cr-Original-Commit-Position: refs/heads/master@{#463048}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9d705ef39020eddba9be5d940b88d1bfd82b6834
2017-04-07 23:29:02 +00:00
jbauman 3e95643700 Add TSAN suppression for deadlocks in libGLX.so
This software isn't under our control, so suppress deadlock warnings we
can't fix.

BUG=691029

Review-Url: https://codereview.chromium.org/2807523002
Cr-Original-Commit-Position: refs/heads/master@{#462960}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b3d846d907794a018dca0793f45320064dc882f8
2017-04-07 19:28:17 +00:00
sbc b3da76f147 Remove support for Ubuntu/Precise sysroot
BUG=564904

Review-Url: https://codereview.chromium.org/2596653002
Cr-Original-Commit-Position: refs/heads/master@{#462884}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc51e877f354bd818135a324c3a16d4a1f8abf30
2017-04-07 16:20:20 +00:00
twellington e8e5f8228b Remove crushed sprite resource and layer
Crushed sprite resources and layers were only used for Contextual
Search. CS no longer has a use for a the animated sprite, so this
removes the crushed sprite resources and layers and replaces
the CS use with a static icon.

BUG=707001

Review-Url: https://codereview.chromium.org/2798123002
Cr-Original-Commit-Position: refs/heads/master@{#462861}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ce5ab6e1b8c7f699c838b8086d42ed1866d21ba
2017-04-07 14:59:47 +00:00
jochen c7e63285c4 Add global status comments for owners
BUG=694222
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2797673002
Cr-Original-Commit-Position: refs/heads/master@{#462800}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fb96ed753ed737db5befc119248c110e41134814
2017-04-07 07:03:46 +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
zpeng 893613514d Filter extra output introduced by updating proguard
This CL filters encoded binary protobuf signaled by "***BINARY RUN
STATS***" and program class information signaled by "ProgramClass:".
This extra output is introduced by updating proguard.

BUG=674152

Review-Url: https://codereview.chromium.org/2801443002
Cr-Original-Commit-Position: refs/heads/master@{#462620}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 749473a927734754dfcb323b16bdf747b7248d5a
2017-04-06 21:11:33 +00:00
perezju 8313f506a0 [build/android] Load/dump pickles directly form/to files
No need to build intermediate (possibly quite large) strings. This
might also help with large objects failing to pickle.

BUG=680935

Review-Url: https://codereview.chromium.org/2805533003
Cr-Original-Commit-Position: refs/heads/master@{#462553}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be6dcf5eec3df0153f9e67b0b1a15cf4416144b7
2017-04-06 18:31:42 +00:00
jbudorick 3e16f6a546 [Android] Fix resource_sizes for APKs that have no native library.
BUG=

Review-Url: https://codereview.chromium.org/2804623003
Cr-Original-Commit-Position: refs/heads/master@{#462520}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53e27679ab677a1cf3664e2db808dd86e1c5d2b5
2017-04-06 17:13:54 +00:00
perezju 54ef8f5b47 [build/android] Update build/android/test_runner.pydeps
Review-Url: https://codereview.chromium.org/2803033002
Cr-Original-Commit-Position: refs/heads/master@{#462502}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8d547e161dbe03d5887207c72c3bc4af33fbfea0
2017-04-06 16:04:02 +00:00
agrieve 64483172f1 Revert of resource_sizes.py: Fix typo causing BuildId to not actually verify (patchset #1 id:1 of https://codereview.chromium.org/2799743002/ )
Reason for revert:
Breaks 64-bit monochrome / webview (uncovered a bug)

Original issue's description:
> resource_sizes.py: Fix typo causing BuildId to not actually verify
>
> Review-Url: https://codereview.chromium.org/2799743002
> Cr-Commit-Position: refs/heads/master@{#462284}
> Committed: 21e4391b8b

TBR=estevenson@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/2803013003
Cr-Original-Commit-Position: refs/heads/master@{#462463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2400df3e07cbda738c7089f1f8a71ba9e19357c4
2017-04-06 14:28:10 +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
agrieve 2a0adf94bf resource_sizes.py: Fix typo causing BuildId to not actually verify
Review-Url: https://codereview.chromium.org/2799743002
Cr-Original-Commit-Position: refs/heads/master@{#462284}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 21e4391b8b8f91da2b4fe626aacb64e78667591e
2017-04-06 00:04:30 +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
sbc c94c268736 Remove wheezy sysroot images support
We have switched to a debian/jessie sysroot so
wheezy support is not longer needed.

BUG=697494

Review-Url: https://codereview.chromium.org/2597523003
Cr-Original-Commit-Position: refs/heads/master@{#462181}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 325bd8b938ccfecfaa698ebb482c5b1cb0337022
2017-04-05 19:36:16 +00:00
jbudorick de75d6353f [Android] Fix tombstone streaming to logdog.
BUG=631213

Review-Url: https://codereview.chromium.org/2799673002
Cr-Original-Commit-Position: refs/heads/master@{#462109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dae287d8e707b2b9774b6d26bfd6240aa366c12c
2017-04-05 16:37:21 +00:00
sanfin 45a45b9297 Remove -no-audio option for headless Android emulators.
When passing --headless to avd.py, it fails to start an emulator
and this message is printed:

  qemu-system-i386: -audio: invalid option

Taking out the -no-audio option allows the emulator to launch
successfully.

BUG=NONE

Review-Url: https://codereview.chromium.org/2799453003
Cr-Original-Commit-Position: refs/heads/master@{#462106}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e5a1eaf77cc75b28dc7c40a14fdc412fe9a58242
2017-04-05 16:31:00 +00:00
mark 6d4b705398 Update Crashpad to b4095401639ebe2ad33169e5c1d994065cbff1b8
9104d53d1c60 Fix thread startup in snapshot reader test
542a91e20e39 Fix the race causing flaky CrashpadClient tests
270490ff79df win: Be more careful about child process exit codes
6c8a3f700738 win: Use a semaphore for synchronization in
             ProcessSnapshotTest
f14eda221fe7 win: Be more careful about exit codes in end_to_end_test.py
449dfc4b5dc1 Remove BUG_LINE_FORMAT from codereview.settings
d6837b2b869f mac: Fix SystemSnapshotMacTest.TimeZone on macOS 10.12.4
96dc950eaf26 posix: Add ScopedMmap for managing memory-mapped regions
3127026a95c1 Convert generate_doxygen.sh to generate_doxygen.py
1a6ae8ce0ba8 posix: Don’t accumulate zombies in ProcessInfo.Forked
             test
aa2bc55777b9 posix: Allow ScopedMmap::ResetAddrLen() to deal with
             overlap
385fe6615f11 posix: DCHECK for (addr + len) overflow in
             ScopedMmap::ResetAddrLen()
c39e4dc9769e mac: Remove obsolete comment about
             mach_msg_header_t::msgh_reserved
46883516231e “Promote” test::Paths::Executable() to
             Paths::Executable()
fa8ef92dc7f1 linux: Add ProcessMemory which reads another process'
             memory
4b450c813795 test: Use (actual, [un]expected) in gtest
             {ASSERT,EXPECT}_{EQ,NE}
76a67a37b1d0 Add the --monitor-self argument to crashpad_handler
45305395ad87 win: Determine length of unloaded module names
8f07f7481ab4 handler: Add --monitor-self-annotations
b4095401639e handler: Reuse existing annotations SimpleStringDictionary

BUG=crashpad:30,crashpad:143

Review-Url: https://codereview.chromium.org/2804713002
Cr-Original-Commit-Position: refs/heads/master@{#462093}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a4d005995302373474923a31d642c8f49071a0ce
2017-04-05 16:09:49 +00:00
jbudorick e5abd5e518 [Android] Remove org.apache.http from proguard flags and gn.
BUG=468861
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2793033003
Cr-Original-Commit-Position: refs/heads/master@{#462056}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a18c3d5b04f0c161502f6f88f788b5612ba44ce1
2017-04-05 13:54:29 +00:00