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

10968 Коммитов

Автор SHA1 Сообщение Дата
scottmg d10dcf7dad Revert of Add FrameHost mojo service (patchset #23 id:490001 of https://codereview.chromium.org/1964273002/ )
Reason for revert:
Async request for zoom level doesn't work in all cases https://crbug.com/614348 https://crbug.com/613979.

I thought https://www.chromium.org/developers/design-documents/mojo/chrome-ipc-to-mojo-ipc-cheet-sheet#TOC-Threading-Model implied the ordering would be correct, but it seems that was too hopeful.

Original issue's description:
> Add FrameHost mojo service
>
> Adds new frame-level service with one initial method to handle host zoom
> level.
>
> This moves zoom level supply from async_resource_handler.cc to being a
> request made when render_frame_impl handles a willSendRequest.
>
> The goal of this change is to remove the dependency of
> content/browser/loader on the rest of content/browser in particular
> here, removing the use of c/b/host_zoom_map_impl.h in
> content/browser/loader/async_resource_handler.cc.
>
> BUG=598073,609607
> CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
>
> Committed: https://crrev.com/68c6f2ce16d9807b5cb82679099c82c40f39e911
> Cr-Commit-Position: refs/heads/master@{#394547}

TBR=dcheng@chromium.org,ben@chromium.org,jam@chromium.org,nasko@chromium.org,wjmaclean@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=598073,609607,614348,613979
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2007203002
Cr-Original-Commit-Position: refs/heads/master@{#395761}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34ce95dd9c2ca3b90fc87169f1e4ed266e7bb94b
2016-05-25 01:08:42 +00:00
hzl 12e9cc4d86 Added the --screenshot-directory option for Android instrumentation tests.
--screenshot option was broken for instrumentation tests. In this cl,
the option is enabled. With argument --screenshot, the device will take
a screenshot whenever an instrumentation test fails.

BUG=613405

Review-Url: https://codereview.chromium.org/1998383002
Cr-Original-Commit-Position: refs/heads/master@{#395662}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 35d5e3dd14ae616db29806f3052b400f2de1945a
2016-05-24 19:05:01 +00:00
tedchoc d2ab5bf923 Enhance the error message if the build fails due to a bad zip file.
I killed an ongoing build and a zip file got corrupted.  Then all
subsequent builds were failing, but I didn't know where.

This adds/clears up the message IMO.

Previous output:
  File "/...../src/build/android/gyp/util/build_utils.py", line 228, in
ExtractAll
    with zipfile.ZipFile(zip_path) as z:
  File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
    self._RealGetContents()
  File "/usr/lib/python2.7/zipfile.py", line 811, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file

New output:
  File "../../build/android/gyp/javac.py", line 90, in
_ExtractClassFiles
    build_utils.ExtractAll(jar_path, path=dest_dir,
predicate=extract_predicate)
  File "/...../src/build/android/gyp/util/build_utils.py", line 229, in
ExtractAll
    raise Exception('Invalid zip file: %s' % zip_path)
Exception: Invalid zip file: gen/base/base_java__compile_java.javac.jar

BUG=

Review-Url: https://codereview.chromium.org/2001353002
Cr-Original-Commit-Position: refs/heads/master@{#395545}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e8198a4d058fb88e7d4314587a0f0e8992a31c15
2016-05-24 08:39:43 +00:00
weili 012e6582cc Make the dependency of enable_print_preview and enable_pdf explicit
Print preview needs pdf module enabled to function. Also, the
utility component depends on pdf module only when print_preview is
enabled implicitly (on Windows only) or explicitly. Make the gn build
file changes to reflect these dependencies.

BUG=609726

Review-Url: https://codereview.chromium.org/1994713002
Cr-Original-Commit-Position: refs/heads/master@{#395519}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5addafe27695c6caf4f6d1b757b4cef54b6b598b
2016-05-24 02:47:51 +00:00
dpranke 400b785b94 Add cros_{target,host,v8_snapshot}_{nm,readelf} vars to GN build.
So that the CrOS ebuild builds can customize paths to nm and readelf
as needed.

R=stevenjb@chromium.org, llozano@chromium.org
BUG=608596

Review-Url: https://codereview.chromium.org/2003193002
Cr-Original-Commit-Position: refs/heads/master@{#395505}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d3de89f668f8e8923a8baa70e1e2b31b5a72fd0
2016-05-24 01:34:47 +00:00
brettw 0e129e3196 Fix some TODO(GYP) in the GN build.
BUG=

Review-Url: https://codereview.chromium.org/2001323002
Cr-Original-Commit-Position: refs/heads/master@{#395504}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb7dc65850d9e76836e2b75d315b6e3bb69753ec
2016-05-24 01:21:54 +00:00
pkotwicz f2db5d1d84 Always suppress DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED
According to the docs, using AccessController is discouraged:
https://developer.android.com/reference/java/security/AccessController.html

BUG=None

Review-Url: https://codereview.chromium.org/1989403004
Cr-Original-Commit-Position: refs/heads/master@{#395469}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76a016568a6b224945dd21b04e3eb783673f0e37
2016-05-23 23:57:53 +00:00
brettw b1067679c5 Remove user32 delay imports for XP, more GN imports match GYP.
This delay loads additional libraries so the set of delay-loaded and non-delay-loaded libraries is the same between GYP and GN for 32-bit Windows official builds of chrome.exe and chrome.dll. I checked the imported libraries but not the individual functions.

Remove user32 delay imports. This was a hack for Windows XP. I checked all the functions in the list of imports and they are all available on Windows 7. There was a lot of machinery required for this that was removed.

BUG=512861
Reland of https://crrev.com/080e7e885be49295f8373eb0fa54e6772206bc64 with fix.

Review-Url: https://codereview.chromium.org/2008643002
Cr-Original-Commit-Position: refs/heads/master@{#395432}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc84b6cdb2ba06927c498632c86cb0c81e50e9ec
2016-05-23 22:15:02 +00:00
hzl 4dba02b9c7 Fixed coverage dir for instrumentation tests.
Fixed coverage dir option for instrumentation tests, so that we should
be able to pull run time coverage data from devices to bot.

BUG=608072

Review-Url: https://codereview.chromium.org/1964183003
Cr-Original-Commit-Position: refs/heads/master@{#395419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 111b5841249ab4c8e14ed1b0af2328d5e739a140
2016-05-23 21:38:07 +00:00
Aaron Gable 0332260e27 Delete third_party/html_office.
This is an old gitlink entry referring to a revision in another git repository,
but it doesn't appear to be used, and causes git submodule to fail.

$ git ls-files -s third_party/html_office
160000 1d04f3dfbd8bd604190dfb6f5a030d30233ba6ea 0       third_party/html_office

(mode 160000 is a gitlink, see git-fast-import(1))

R=agable@chromium.org
TBR=agable@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#395409}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ac0106a1dd9ea8c3c0b829985d257c4592872e06
2016-05-23 21:02:23 +00:00
estade 706ae7a9f1 Retry of 2b0e51237fa07b4fb9f6c20edcefce094f6cf5f5
Remove enable_topchrome_md build flag

Actually use of MD is still controlled by a runtime flag.

Also get rid of Material Design resource build step (on !osx). These drop-in png replacements are no longer used (they've all been converted to vectorized images).

BUG=613980
TBR=sky@chromium.org,scottmg@chromium.org,blundell@chromium.org

Review-Url: https://codereview.chromium.org/2004143002
Cr-Original-Commit-Position: refs/heads/master@{#395392}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 476ef356a5b0d6fb075844a4099d1f38c811301f
2016-05-23 19:55:56 +00:00
krasin 5fc69c43cd Enable LTO on Linux for the official builds.
This CL turns on Link-Time Optimization for official
builds, which makes the resulting binaries to run faster.

On the dark side, the change increases the link time by 3x-5x,
and is also very memory-hungry. All official bots were
upgraded to have 200+ GB RAM to handle LTO builds. Timeouts
were also accordingly increased.

This CL might cause timeouts / OOMs, if some slaves still
have not enough RAM. Please, revert the CL with pointing
out to the slaves / bots broken by this change.

BUG=453195

Review-Url: https://codereview.chromium.org/2003733004
Cr-Original-Commit-Position: refs/heads/master@{#395365}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c163521444b7277f2c33bc7bc05667673db7d48
2016-05-23 18:21:04 +00:00
jdonnelly e32954514f Move the Google Payments URL functions out of content.
According to a comment in the code, switches::kReduceSecurityForTesting
(which is the only requirement for this class to be in content) was used
for requestAutocomplete testing. Now that requestAutocomplete has been
removed, these functions can be moved out of components/autofill/content
into components/autofill/core.

Also, remove the kWalletServiceUrl and kWalletSecureServiceUrl switches.
The former isn't referenced by any code and the while the latter is still
referenced, the only mention I can find for the use of that flag is in a
3 year old thread* that later goes on to specify a different set of
instructions that don't include the use of the flag.

Finally, make some progress on s/Wallet/Payments.

BUG=613281
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/1999923002
Cr-Original-Commit-Position: refs/heads/master@{#395343}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 65639ea0c7f964b96243603dec17ec449ec2ced4
2016-05-23 17:04:55 +00:00
jbudorick fe9f2205ce [Android] Expose each try result in test results JSON.
BUG=609588

Review-Url: https://codereview.chromium.org/1987763002
Cr-Original-Commit-Position: refs/heads/master@{#395328}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 999e16207089e4c849084033f74d6a1f2a95d00f
2016-05-23 15:25:01 +00:00
kolos d1f258c397 Revert of Remove enable_topchrome_md build flag (patchset #5 id:80001 of https://codereview.chromium.org/1991573002/ )
Reason for revert:
Linux builder failing (isolated tests).
https://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20%28dbg%29?numbuilds=100

https://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20%28dbg%29/builds/101069

Tests failed because of missing chrome_material_100_percent.pak.

Original issue's description:
> Remove enable_topchrome_md build flag
>
> Actually use of MD is still controlled by a runtime flag.
>
> Also get rid of Material Design resource build step (on !osx). These drop-in png replacements are no longer used (they've all been converted to vectorized images).
>
> BUG=none
>
> Committed: https://crrev.com/2b0e51237fa07b4fb9f6c20edcefce094f6cf5f5
> Cr-Commit-Position: refs/heads/master@{#395146}

TBR=thestig@chromium.org,varkha@chromium.org,scottmg@chromium.org,sky@chromium.org,blundell@chromium.org,estade@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=613980

Review-Url: https://codereview.chromium.org/2001093002
Cr-Original-Commit-Position: refs/heads/master@{#395308}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 09b5d078e074eb8a89d0b0ffcfc4b6fb1e23b727
2016-05-23 12:56:33 +00:00
yhirano 298aeabfe2 Ship "Response construction with ReadableStream".
Intent-To-Ship thread: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/0S-jPuCy8ws
BUG=564479, 596832

Review-Url: https://codereview.chromium.org/1993033003
Cr-Original-Commit-Position: refs/heads/master@{#395223}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0cb6a355deab56251cea1ac5b2bcc4b605c76e2
2016-05-21 01:36:08 +00:00
ianwen b75c55f905 [Android] Coordinate Infobars and Snackbars
CoordinatorLayout in android design support library makes it possible to
coordinate views' animation. This CL makes CompositorViewHolder a
CoordinatorLayout, and adds several behaviors to control the interaction
between snackbars and infobars.

After this change, CompositorViewHolder will first check if a touch
event is handled by behaviors in the children views, then give the
touchevent to fullscreen manager and layout manager afterwards.

BUG=581227

Review-Url: https://codereview.chromium.org/1983353002
Cr-Original-Commit-Position: refs/heads/master@{#395210}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 87ee877992e41f3037a23a164abf4689c1ba603c
2016-05-20 23:56:25 +00:00
brucedawson 0f49abeb34 Fix clobber.py to restore args.gn on failure
If delete_dir or os.mkdir throw an exception then the code to restore
args.gn, build.ninja, and build.ninja.d will not run. This breaks a
design goal of gn which is that the args.gn files should not be
deleted.

The fix is to catch the exception and raise it after the files have
been restored.

To test the code leave chrome.exe or base_unittests.exe running in one
window and run this in another:

    python build\clobber.py d:\src\chromium\src\out

Note that if you do this without the patch applied then all args.gn
files may be deleted, so consider backing them up. Also note that
args.gn files won't be restored unless build.ninja and build.ninja.d
files are also present, so back them up.

Just apply the patch first - it's easier.

BUG=612940

Review-Url: https://codereview.chromium.org/1996833002
Cr-Original-Commit-Position: refs/heads/master@{#395177}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 562df4f33e0a29669b83d451d33c81648a9e023e
2016-05-20 22:02:33 +00:00
estade 4b8ac34d91 Remove enable_topchrome_md build flag
Actually use of MD is still controlled by a runtime flag.

Also get rid of Material Design resource build step (on !osx). These drop-in png replacements are no longer used (they've all been converted to vectorized images).

BUG=none

Review-Url: https://codereview.chromium.org/1991573002
Cr-Original-Commit-Position: refs/heads/master@{#395146}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b0e51237fa07b4fb9f6c20edcefce094f6cf5f5
2016-05-20 20:05:18 +00:00
Hans Wennborg 75485295df Fix isolate_tests for app_list_presenter_unittests
After https://codereview.chromium.org/1934213002/ enable_app_list
is on longer set on Linux, and the condition for building
app_list_presenter_unittests is now only "use_aura==1". Update
gn_migration.gypi accordingly to make app_list_presenter_unittests_run
part of "all" when app_list_presenter_unittests is.

BUG=600915
R=dpranke@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#395144}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 54fbd40e15a5f19df183e01caac9289f82a03d91
2016-05-20 20:00:54 +00:00
sdefresne f41d82c992 [GN] Use build/config/locales.gni to simplify grit invocations.
Uses the variables defined in build/config/locales.gni to simplify
the grit invocations and remove the conditional to deal with the
different names for the "es-419" and "pt-BR" locales on iOS.

BUG=525492

Review-Url: https://codereview.chromium.org/2003433003
Cr-Original-Commit-Position: refs/heads/master@{#395127}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de51485fd1db9d4a22ce90764f767ad80e823acf
2016-05-20 19:06:15 +00:00
agrieve 52554fc7a6 GN: Fix java_library() when supplied with a generated .java
Currently, the deps of the internal targets are setup inccorrectly:
    ERROR Input to target not generated by a dependency.

BUG=none

Review-Url: https://codereview.chromium.org/2001573003
Cr-Original-Commit-Position: refs/heads/master@{#395113}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76d9b76939631c27efafd994fbebef6bdafb4696
2016-05-20 18:00:50 +00:00
sdefresne 314f8018d1 [iOS/GN] Update build/config/locales.gni for Chrome on iOS.
Chrome on iOS only ships with a subset of locales compared to Chrome
(as the corresponding locales are not supported by the system) and
uses different names for "es-419" and "pt-BR".

BUG=459705,525492

Review-Url: https://codereview.chromium.org/2000603002
Cr-Original-Commit-Position: refs/heads/master@{#395095}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23deef3518c543a32ef86a5839d778931b37fef3
2016-05-20 16:40:54 +00:00
sdefresne 08b013a661 [GN] Allow configuration of the output of ios_info_plist template.
Allowing the invoker of ios_info_plist output can help remove one
intermediate target when generating some bundles.

BUG=459705

Review-Url: https://codereview.chromium.org/1996913003
Cr-Original-Commit-Position: refs/heads/master@{#395073}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59302f49921ea20fe7b6a722892c912f8ca84656
2016-05-20 15:00:13 +00:00
jbudorick f81cc40000 Revert of Added the --screenshot option. (patchset #7 id:120001 of https://codereview.chromium.org/1981043004/ )
Reason for revert:
breaks downstream

Original issue's description:
> Added the --screenshot option.
>
> --screenshot option was broken for instrumentation tests. In this cl,
> the option is enabled. With argument --screenshot, the device will take
> a screenshot whenever an instrumentation test fails.
>
> BUG=611538
>
> Committed: https://crrev.com/09891bc02742f34a11a6d8ffd8993066f6c1b62c
> Cr-Commit-Position: refs/heads/master@{#394843}

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

Review-Url: https://codereview.chromium.org/1998903002
Cr-Original-Commit-Position: refs/heads/master@{#394956}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5a6fa1e0d268e6ef3f15aff3bb63fae8b94396cd
2016-05-20 01:43:41 +00:00
jmadill 55d2c546e7 gn: Move dcheck_always_on to it's own gni file.
This will allow us to use the build arg in ANGLE's BUILD.gn file to
enable Release ASSERTs under a different define.

BUG=angleproject:790
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/1998803003
Cr-Original-Commit-Position: refs/heads/master@{#394919}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c8efd83fa06aa0f80fae0e740d96eccb6661501b
2016-05-20 00:15:19 +00:00
sammc c7a3455a09 Correctly set -stdlib=libc++ when building with a custom libc++.
The libcxx_proxy target used to set the link-time configuration to
correctly link libc++ sets it as a public_config. However, the sanitizer
deps targets have only private dependencies on libcxx_proxy so the
config does not apply to their dependents. This changes those
dependencies to be public.

This disables sanitizers for all non-default gcc_toolchain toolchains;
the android host toolchain build does not support building with libc++
and the GYP build does not use sanitizers for building host targets.

BUG=573288

Review-Url: https://codereview.chromium.org/1979973002
Cr-Original-Commit-Position: refs/heads/master@{#394910}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34099cc1fb570af8990d5fad1b1e11fe4290680b
2016-05-19 23:54:29 +00:00
marcinjb 2370cc6c05 Make official Blimp Engine builds have a symbol level of 0
Using the 'is_official_build' gn flag pulls in a bunch of debugging
symbols that we don't need for the engine, and in fact will bloat the
binary size. Using a symbol level of 0 has no effect on the breakpad
symbol file generated by dump_app_syms.py, so we don't lose any of our
desired debugging capabilities.

Tested by building with the buildbot configuration, uploading symbols,
and causing an engine crash with 'kill -6'.

BUG=613186

Review-Url: https://codereview.chromium.org/1987313004
Cr-Original-Commit-Position: refs/heads/master@{#394906}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 379f3f501b387fae1d2807b096f993015dbb3d68
2016-05-19 23:40:04 +00:00
slan 1b39554158 [Chromecast] Update the default value of use_gold for Cast builds.
Chromecast builds require that target toolchains not use gold. Other
options do not work:
  1) toolchain_args are ignored when the toolchain is default, so
     setting use_gold explicitly for our target toolchains is infeasible.
  2) We want host toolchains to take the default value for use_gold, so
     overriding with a GN arg is infeasible.

Setting use_gold on a per-toolchain basis is ideal, but until the issue
in (1) is resolved, this will need to be our workaround.

BUG=NONE

Review-Url: https://codereview.chromium.org/1994623004
Cr-Original-Commit-Position: refs/heads/master@{#394872}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2dcea1128cc5021fc1baef55fd78166397712817
2016-05-19 21:31:08 +00:00
tapted 61aa76ac03 Set enable_app_list=1 now only on ChromeOS.
Turn down app_list_unittests on Mac. Moves app_list_unittests and
app_list_presenter_unittests to the same place as ash_unittests on other
non-ChromeOS bots.

BUG=600915

Review-Url: https://codereview.chromium.org/1934213002
Cr-Original-Commit-Position: refs/heads/master@{#394856}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 87ca2d6836730fb7cacf7c76e33e100df599b754
2016-05-19 20:50:14 +00:00
hzl 6298b2d7ab Added the --screenshot option.
--screenshot option was broken for instrumentation tests. In this cl,
the option is enabled. With argument --screenshot, the device will take
a screenshot whenever an instrumentation test fails.

BUG=611538

Review-Url: https://codereview.chromium.org/1981043004
Cr-Original-Commit-Position: refs/heads/master@{#394843}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 09891bc02742f34a11a6d8ffd8993066f6c1b62c
2016-05-19 20:00:19 +00:00
machenbach 3568b535ad gn: Explicitly pass rtti compiler flag
GCC doesn't turn on rtti by default, while clang does.
Setting it explicitly to make sure we always compile as
desired.

BUG=chromium:474921

Review-Url: https://codereview.chromium.org/1992083003
Cr-Original-Commit-Position: refs/heads/master@{#394819}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 819abfc903928d84bebbef58fe53ca86843d4531
2016-05-19 18:36:40 +00:00
jbudorick 6d3275dc6e [Android] Raise more shard timeouts on Lollipop Low-End Tester.
BUG=
TBR=dpranke@chromium.org,mdjones@chromium.org

Review-Url: https://codereview.chromium.org/1996013003
Cr-Original-Commit-Position: refs/heads/master@{#394809}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8932b41af57792b3f5522d577c6b4b4178b319cd
2016-05-19 17:53:53 +00:00
agrieve afa9b4a9c0 Fix resource_sizes.py resource ID lookups when whitelist Pragmas exist
Affects official release bots, which use:
  enable_resource_whitelist_generation=true

BUG=609365

Review-Url: https://codereview.chromium.org/1997713002
Cr-Original-Commit-Position: refs/heads/master@{#394783}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 12ff4bb705b167690adbf35f5eaedaab69aac865
2016-05-19 15:58:57 +00:00
haibinlu 188a18c319 Adds blimp browser tests to run on Blimp Linux bot.
Bot Recipe CL: https://codereview.chromium.org/1987433002/

BUG=611241

Review-Url: https://codereview.chromium.org/1981123002
Cr-Original-Commit-Position: refs/heads/master@{#394686}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3eec1919ad732c5bbe334f8248b1616c1a970d45
2016-05-19 05:24:12 +00:00
agrieve 86ffb80c8b Reland of Merge android's use_gold settings with the main use_gold GN arg logic
This also fixes Android setting -Wl,--icf=all in a different spot.

Reason for reland:
Removed --icf=safe for x86

BUG=606749,576197,611668

Review-Url: https://codereview.chromium.org/1996433002
Cr-Original-Commit-Position: refs/heads/master@{#394655}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 10371eae8d24d0ea7efa880571d51d62ce8f197c
2016-05-19 03:36:10 +00:00
agrieve b2d1568643 GN(android): Filter R.class files before obfuscating via proguard
I haven't heard of this causing issues for us yet, but I realized that
filtering after proguarding could have the result that proguard renames
a class to "R.class", and then filtering strips it out.

BUG=585576

Review-Url: https://codereview.chromium.org/1993893002
Cr-Original-Commit-Position: refs/heads/master@{#394638}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2142bcde69837585c1571a46cf59715a81d573f9
2016-05-19 02:19:39 +00:00
twellington cdadc1d3b1 Update checks for N+
Replace checks for Build.VERSION.CODENAME.equals("N") wieth
Build.VERSION.CODENAMES.equals("N") || Build.VERSION.SDK_INT > Build.VERSION_CODES.M.

Eventually we will want the check to be just for SDK_INT, but for M51 we'll
use the ||.

BUG=586703

Review-Url: https://codereview.chromium.org/1989203003
Cr-Original-Commit-Position: refs/heads/master@{#394615}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96a31a443985b11f125797d32f837eff42f2efb3
2016-05-19 00:20:49 +00:00
vadimsh 0b6bad6e2f Always install xfonts-mathml package if it is available.
It contains "Symbol" font used by gfx_unittests.

The package was effectively removed from install-build-deps in
https://codereview.chromium.org/1580663002. Looks like it doesn't exist in
Ubuntu 15.10. So use 'package_exists' check before attempting to install it.

R=dpranke@chromium.org
BUG=610784

Review-Url: https://codereview.chromium.org/1998443002
Cr-Original-Commit-Position: refs/heads/master@{#394611}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 278ff066e18d726f7273263c6e2b9c71a7722397
2016-05-19 00:08:05 +00:00
thakis 1bd3cb1315 mac: Make `find_sdk.py --print_sdk_path` much faster.
Use xcrun instead of xcodebuild if --print_sdk_path is passed.  Reduces time
to run `gn gen` from 2.2s to 1.95s on my MacBook Pro.

(In the gyp build, we don't pass --print_sdk_path to this script, so I didn't
notice this script had this slow path until now.)

While here, also stop pretending that we support Xcodes older than 4.3.

BUG=609541

Review-Url: https://codereview.chromium.org/1988023006
Cr-Original-Commit-Position: refs/heads/master@{#394565}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d50140bae570f519cea29a8b20e58511032cbfd7
2016-05-18 22:02:37 +00:00
Robert Sesek c04a224d04 [Mac/GN] Set breakpad_uploads in tweak_info_plist for official Chrome builds.
BUG=431177
R=mark@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#394555}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ce0bc2f8a57d842653797449043b58bc24c98da4
2016-05-18 21:32:14 +00:00
scottmg c059bd24e5 Add FrameHost mojo service
Adds new frame-level service with one initial method to handle host zoom
level.

This moves zoom level supply from async_resource_handler.cc to being a
request made when render_frame_impl handles a willSendRequest.

The goal of this change is to remove the dependency of
content/browser/loader on the rest of content/browser in particular
here, removing the use of c/b/host_zoom_map_impl.h in
content/browser/loader/async_resource_handler.cc.

BUG=598073,609607
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/1964273002
Cr-Original-Commit-Position: refs/heads/master@{#394547}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 68c6f2ce16d9807b5cb82679099c82c40f39e911
2016-05-18 21:11:37 +00:00
dpranke 5cb2ea1147 Rework the way ChromiumOS toolchains will work in GN.
This CL reworks the way ChromiumOS toolchains work in GN, in such a way
that they might actually have all the flags they need for the
ChromiumOS ebuild files to be able to set all of the flags it needs
(though there are still some missing GN build_args).

Specifically, the ebuild will now need to set the following in args.gn:

  host_toolchain = "//build/toolchain/cros:host"
  v8_snapshot_toolchain = "//build/toolchain/cros:v8_snapshot"

in order to support boards other than the amd64-generic build. The
ebuild should actually set these variables all the time; it just
happens that the amd64-generic build will work at the moment without
the variables, but that will not be guaranteed to remain true in the future.

This CL also adds the following optional build args that do pretty
much what you'd expect them to do:

  cros_target_ld, cros_target_extra_cflags, cros_target_extra_cppflags,
  cros_target_extra_cxx_flags, cros_target_extra_ldflags,
  cros_host_ar, cros_host_cc, cros_host_cxx, cros_host_ld,
  cros_host_is_clang, cros_host_extra_cflags, cros_host_extra_cppflags,
  cros_host_extra_cxx_flags, cros_host_extra_ldflags,
  cros_v8_snapshot_ar, cros_v8_snapshot_cc, cros_v8_snapshot_cxx,
  cros_v8_snapshot_ld, cros_v8_snapshot_extra_cflags,
  cros_v8_snapshot_extra_cppflags, cros_v8_snapshot_extra_cxx_flags,
  cros_v8_snapshot_extra_ldflags

This CL should be backwards-compatible with the existing linux desktop
ChromiumOS builds and the amd64-generic simplechrome/ebuild (i.e., it
can be landed and reverted w/o requiring any other changes to be made).
It is a big hammer intended to un-block the ChromiumOS GN migration
while we continue thinking about how to best support ChromiumOS.

R=stevenjb@chromium.org, brettw@chromium.org
BUG=608596, 595653

Review-Url: https://codereview.chromium.org/1983613002
Cr-Original-Commit-Position: refs/heads/master@{#394534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8ad2f49335feaddddbd3f318fc6f4d13eb52760b
2016-05-18 20:34:27 +00:00
rsesek 8fe3dd493e [Mac/GN] Set up Keystone for official Chrome builds.
BUG=431177
R=mark@chromium.org

Review-Url: https://codereview.chromium.org/1991873003
Cr-Original-Commit-Position: refs/heads/master@{#394510}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c741818ec4296f8b8f889671e930be4dd926b59
2016-05-18 19:51:10 +00:00
sdefresne 3468d8d8aa [GN] Use "xcrun" instead of "xcodebuild" to get information on SDK.
Use "xcrun" instead of "xcodebuild" as it is much faster and available
on all version of OS X supported for building Chrome.

Reduce running time of "gn gen" from 2.5 to 2.2s on MacBook Pro
laptop.

BUG=609541

Review-Url: https://codereview.chromium.org/1993653002
Cr-Original-Commit-Position: refs/heads/master@{#394505}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 268142df3c289fcd2605cd68f41e04ebade1067b
2016-05-18 19:36:03 +00:00
hzl a4fab917cf Add directory option for JUnit coverage files.
Added runtime option --coverage-dir to let the users decide where to
store coverage.ec.

BUG=608072

Review-Url: https://codereview.chromium.org/1965013008
Cr-Original-Commit-Position: refs/heads/master@{#394470}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e16476a8c069b9646370f75d71cad6cdc9c491e8
2016-05-18 18:11:29 +00:00
krasin 3a019f01a4 Reserve more RAM per Gold process.
The current settings are too agressive even given the fact that
all the bots have 200+ GB RAM, and there's not so many large targets.
OOMs were observed:
https://build.chromium.org/p/chromium.fyi/builders/LTO%20Linux/builds/500

BUG=453195

Review-Url: https://codereview.chromium.org/1989083003
Cr-Original-Commit-Position: refs/heads/master@{#394423}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b1e7d762e134b94196f551667ed31535b701e76e
2016-05-18 15:19:04 +00:00
Gordana.Cmiljanovic df4a2c58e4 MIPS64: Fix MIPS64 related issues in GN files
Sets sysroot and few missing files for MIPS64 Android.

BUG=sysroot is an empty string
TEST=gn gen out-gn/mips64-android --args="is_debug=false target_os=\"android\" target_cpu=\"mips64el\" chrome_public_apk_use_chromium_linker=false"
     ninja -C out-gn/mips64-android system_webview_apk chrome_public_apk

Review-Url: https://codereview.chromium.org/1984303002
Cr-Original-Commit-Position: refs/heads/master@{#394379}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be0e03709bbdb62d6c8585c2a191502a41ea756f
2016-05-18 10:49:24 +00:00
khasim.mohammed 842fb0e8f5 Revert arm_fpu flags for arm64
Tried to set arm_fpu to "cortex-a57+simd+crypto+fp+crc" for clang

These lines also affect GCC which is used to ship official chrome,
All ARMv8 implementations would support SIMD and FP by default, but
crypto is optional, so the code generated might fail on devices which
do not support crypto also adding cortex-a57 and using on cortex-a53
or vice versa might generate code that is going to be slower.

So we decided to revert this patch.

BUG : http://crbug.com/539781

BUG=539781
R=thakis@chromium.org
TEST=download apk to ARMv8 board and launch

Review-Url: https://codereview.chromium.org/1987733002
Cr-Original-Commit-Position: refs/heads/master@{#394334}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d3069f38c1bbacbfc9d1ef672ea8c8dc9d12b3f
2016-05-18 04:21:31 +00:00
marcinjb 01ca9403e7 Add an action to create a symbol file for the Blimp engine
This is modeled after what is done for the official Chrome linux build.
As it stands right now, the breakpad symbol file is roughly 300MB and
takes a couple of minutes to run, so the action should only be triggered
if this is an official release.

BUG=597454

Review-Url: https://codereview.chromium.org/1979773002
Cr-Original-Commit-Position: refs/heads/master@{#394191}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 060ef497fef78501475548ec61dbc8c290f02a9b
2016-05-17 19:41:12 +00:00