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

1988 Коммитов

Автор SHA1 Сообщение Дата
thakis@chromium.org e2cf087f47 Don't disable -Wabsolute-value when building for arm.
The things requiring this have been fixed.

BUG=395832
TBR=sbc@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290396 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 23:12:29 +00:00
hans@chromium.org 67dd702733 Disable Clang's warnings about undefined pointer comparisons in Debug builds
The address of a reference, or the 'this' pointer, are always non-NULL
in well-defined C/C++ programs, and Clang warns about comparing them to NULL,
because the comparisons may be optimized away.

However, it can still be useful to do such comparisons in Debug builds.
For example, Skia does a lot of SkASSERT(&a), where a is a reference
parameter.

BUG=404271

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 21:01:08 +00:00
thakis@chromium.org 0336472687 Don't pass -target arm-linux-gnueabihf on android.
Fixes a regression from r395832. (This isn't a visible change as the android
build happens to pass -target arm-linux-androideabi later on the compile line,
but relying on this is risky.)

BUG=395832
TBR=sbc@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290308 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 18:21:18 +00:00
sbc@chromium.org 5ce31b993d Enable ARM/linux cross compile to use clang.
BUG=395832
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290261 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 15:41:07 +00:00
thakis@chromium.org accf653d46 clang/win: Disable -Wexit-time-destructors for now, 2nd try.
BUG=404525
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 14:13:33 +00:00
thakis@chromium.org 11f22f58d6 clang/win: Disable -Wexit-time-destructors for now.
I'm not 100% sure this will be evaluated at the right time to have an effect.

BUG=404525
TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@290208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-18 04:38:15 +00:00
gunsch@chromium.org e27b23d6b3 Chromecast: MP2TS stream parser should always be enabled.
R=lcwu@chromium.org,damienv@chromium.org
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-15 04:28:01 +00:00
stuartmorgan@chromium.org f97fd26e87 Reland: Update iOS deployment target to 7.0
iOS 6 will no longer be supported.

Replaces deprecated sizeWithFont: with sizeWithAttributes: (adding a
ceilf since according to the internet, the former rounds up, and the
latter does not) to fix compilation.

Special-cases the nil font case, since sizeWithFont:nil would work
and return zero, but it's impossible to construct an attribute
dictionary with a nil font.

BUG=402921

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289702 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-14 21:22:31 +00:00
bartfab@chromium.org 8036753754 Revert 289403 "Update iOS deployment target to 7.0"
This appears to have broken gfx_unittests on iOS:

http://build.chromium.org/p/chromium.mac/builders/iOS%20Simulator%20%28dbg%29/builds/17689

> Update iOS deployment target to 7.0
> 
> iOS 6 will no longer be supported.
> 
> Replaces deprecated sizeWithFont: with sizeWithAttributes: (adding a
> ceilf since according to the internet, the former rounds up, and the
> latter does not) to fix compilation.
> 
> BUG=402921
> 
> Review URL: https://codereview.chromium.org/463333002

TBR=stuartmorgan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289510 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-14 10:10:17 +00:00
stuartmorgan@chromium.org 155887698b Update iOS deployment target to 7.0
iOS 6 will no longer be supported.

Replaces deprecated sizeWithFont: with sizeWithAttributes: (adding a
ceilf since according to the internet, the former rounds up, and the
latter does not) to fix compilation.

BUG=402921

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-13 22:50:20 +00:00
kbr@chromium.org 92fcb119b4 Put GPU isolate targets under archive_gpu_tests=1 GYP variable.
This avoids the majority of the Chromium builders attempting to build
these isolates.

BUG=401985
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 20:36:04 +00:00
thakis@chromium.org edc069c103 Port r288424 to gn.
BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 18:01:21 +00:00
mkosiba@chromium.org 4056c70580 Don't register JNI methods for the android_webview.
Rather than registering all jni bindings at startup, only get references
to the class object for those files which require bindings. All others
are satisfied by exporting symbols which can be found automatically by
the VM.

BUG=402003

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 11:27:12 +00:00
garykac@chromium.org a58488fc6b Implement HiDPI and pinch-zoom scaling of filter params
This change implements HiDPI scaling of filter params in CC. It also fixes content scaling of filter params (e.g.,
with -webkit-transform: scale(X)) as well as pinch-zoom scaling.

This code is mostly from http://crrev.com/191123002
   "Implement hidpi and pinch-zoom scaling of filter params in cc"
and replaces http://crrev.com/317663005
   "Scale the ALPHA_THRESHOLD filter's region based on the device scale factor"
because this fixes all filters rather than just the AlphaThresholdFilter.

BUG=376532, 281516, 281518, 349493
R=brettw@chromium.org, danakj@chromium.org, enne@chromium.org, jschuh@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-08 21:25:32 +00:00
thakis@chromium.org ab463e31b9 clang supports -fuse-ld these days, remove a few special cases.
This is shorter, and it allows us to remove two trampoline files on Android
(which still weren't updated to trampoline to the 4.8 toolchain and still
referred to the 4.6 toolchain instead).

No intended visible behavior change.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-08 20:53:34 +00:00
cjhopman@chromium.org 1597d8570b Enable Android lint by default
BUG=393235

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-06 19:12:24 +00:00
aberent@chromium.org 80ebaaeaa1 Revert of Enable Android lint by default (https://codereview.chromium.org/396293002/)
Reason for revert:
Two Android build bots (downstream) are failing as a result of this CL.

Reverting as Android Build Sheriff.

BUG=401020
TBR=cjhopman
NOTRY=true


Original issue's description:
> Enable Android lint by default
> 
> BUG=393235
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287676

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-06 10:26:09 +00:00
cjhopman@chromium.org d2ebe8979d Enable Android lint by default
BUG=393235

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287676 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-06 04:36:58 +00:00
thakis@chromium.org 78a0c7d37e Enable -Wsentinel on linux32, take 2.
I checked that gcc also expands NULL to just 0 here, so
this no longer seems like a clang bug.

BUG=162818

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-05 07:41:26 +00:00
thakis@chromium.org 937ab471cd Use clang as default host compiler when cross-compiling
chrome/android still used system gcc as host compiler, and system gcc is
gcc 4.6 on Ubuntu Precise. This is too old.

Instead, use clang by default as host compiler (except when building for
AOSP, see http://crbug.com/377684 for that). This is controlled by a new
gyp variable host_clang, which only has an effect if clang=0. The existing
clang gyp variable means "use clang for everything"; if it's not set then
host_clang means "use clang for host compiles".

If your system gcc is 4.8+ and you don't want to use clang, you can set
host_clang=0 to use system gcc for host compiles instead.

In host_clang mode, our clang plugins currently aren't used (I figure if you
want plugins, you can just use clang=1). clang_warning_flags on the other
hand are used, to make sure the build stays warning-free.

BUG=360311
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-04 19:05:02 +00:00
hans@chromium.org 6c10b6aef3 Win-Clang update script: update paths for 3.6
BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287342 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-04 15:58:29 +00:00
sdefresne@chromium.org 15637a1f19 Allow selection between libstdc++ and libc++ when targeting iOS
The recommended C++ library on iOS is libc++ but the compiler still default
to libstdc++ so add a new gyp variable "use_system_libcxx" to choose which
C++ library to use.

When building Chrome for iOS, so tool are still build on the host which
targets Mac OS X SDK 10.6 which does not supports libc++ so only enabled the
usage of libc++ when not building for the host.

The version of clang shipped on Google storage does not supports using the
system libc++ so instead use the version of clang shipped with Xcode when
using libc++.

BUG=366744

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-04 11:28:06 +00:00
thakis@chromium.org d5a7ed5eee clang/win: use clang_warning_flags, like mac and linux do
In addition to disabling warnings, this does turn on a few warnings that weren't
on before (-Wheader-hygiene, -Wstring-conversions). I'll see how our bot copes,
if it's too horrible I might revert this again for a bit.

BUG=82385
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287237 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-03 01:05:33 +00:00
thakis@chromium.org d7f3149a65 Refactor how clang warning flags are set.
Previously, every gyp file that wanted to set clang warnings had to check
for clang==1 and then set cflags and xcode_settings.WARNING_CFLAGS. Factor
this out, so that targets only need to set clang_warning_flags for warnings
that apply to all platforms. (Per-platform flags still need to be set manually.)

This removes existing duplication from gyp files, and prevents adding more
duplication when trying to add the same warning flags for clang/win.

BUG=82385
R=hans@chromium.org, scottmg@chromium.org
TBR=various owners

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287092 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-01 21:48:20 +00:00
erikchen@chromium.org 50279e93b6 Revert of Stop using -Wno-sentinel with clang. (https://codereview.chromium.org/427723005/)
Reason for revert:
breaks Google Chrome Linux

http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux/builds/36758/steps/compile/logs/stdio

Original issue's description:
> Stop using -Wno-sentinel with clang.
> 
> Clang works fine with -Wsentinel on 32bit linux these days.
> 
> BUG=162818
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287061

TBR=dmikurube@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=162818

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-01 20:16:10 +00:00
thakis@chromium.org 22c0890e07 Stop using -Wno-sentinel with clang.
Clang works fine with -Wsentinel on 32bit linux these days.

BUG=162818

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-01 19:03:54 +00:00
thakis@chromium.org b8cdeb44c7 Don't remove -mfpmath=sse when building with clang.
Clang uses SSE for fpmath by default, so this change shouldn't have an effect
in practice, it just makes this code a bit shorter.

(This was added almost 4 years ago: http://crrev.com/59882 Clang seems to have
learned about the flag since then.)

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-01 17:01:25 +00:00
phajdan.jr@chromium.org b2a72ce321 Make compile with gcc 4.7 work
BUG=none
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@286775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-31 12:55:01 +00:00
andrewhayden@chromium.org 5c7e554e9d Replace the use of CLD_DATA_FROM* and CLD-related ifdefs with runtime checks.
This, along with other changes described in crbug/367239, allows refactoring
of the build logic to allow per-target customization of the CLD data source.
This, in turn, allows chrome_shell to be built with statically-linked CLD even
if other things (such as the full browser) are not.

BUG=367239
TBR=toyoshim@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@286487 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-30 11:56:26 +00:00
sbc@chromium.org 84c91a6225 Set default cross compiler for ARM/linux builds.
Currently this relies on the user setting these variables
outside of gyp and outside of source control.  Once this
lands the buildbot configs can be simplified to remove
these variables.

Even though we are trying to switch to clang by default
in the short term, this is still useful for building
with gcc on trusty (which has gcc 4.8), and allows us to
simplify the bot configs.

BUG=395832
R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@286219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-29 16:50:44 +00:00
pkasting@chromium.org 9b0506c008 Re-enable various MSVC warnings.
BUG=81439
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285730 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-26 00:01:53 +00:00
hwennborg@google.com 2045bf9a37 Disable exceptions on Windows in all builds (take 4)
They were previously enabled in shared_library builds for historical reasons.

Turning them off makes things nice and consistent across all build types,
and helps the Windows Clang build, which currently doesn't support exceptions.

Previous attemps failed due to:

- mojo_public_environment_unittests unreachable code warning in
  DrMemory shared_library Release builds (crbug.com/397465)
  Fixed in Chromium r285674.

- chrome_elf_unittests on x64 (crbug.com/396244)
  Fixed in Chromium r285377.

- blink_platform_unittests:DateTimeFormatTest.CommonPattern et al.
  Fixed in Blink r176189

BUG=82385
TBR=thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285676 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-25 21:02:28 +00:00
zhaoqin@google.com 1288348f0b Revert 285458 "Disable exceptions on Windows in all builds (take 3)"
BUG=397465

> Disable exceptions on Windows in all builds (take 3)
> 
> They were previously enabled in shared_library builds for historical reasons.
> 
> This change is relevant for Clang, which currently doesn't support exceptions
> on Windows.
> 
> Previous attemps failed due to:
> - chrome_elf_unittests on x64 (crbug.com/396244)
>   Fixed in Chromium r285377.
> 
> - blink_platform_unittests:DateTimeFormatTest.CommonPattern et al.
>   Fixed in Blink r176189
> 
> BUG=82385
> TBR=thakis
> 
> Review URL: https://codereview.chromium.org/420593002

TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-25 17:33:42 +00:00
tzik@chromium.org 47b5f92a57 Drop unneeded warning suppression on mac
BUG=162783

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-25 12:38:07 +00:00
nedeljko.babic@imgtec.com 8747ac4d1a [MIPS] Add seccomp bpf support
Add support for seccomp bpf sandboxing on MIPS architecture.
Enable testing of seccomp bpf sandbox.

Support for seccomp bpf for MIPS was added in Linux kernel version 3.15.

This patchset was reviewed in https://chromiumcodereview.appspot.com/260793003/ and re-created
to workaround a commit-queue issue.

BUG=369594
TEST=sandbox_linux_unittests

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-25 09:03:43 +00:00
hans@chromium.org ab50c22e06 Disable exceptions on Windows in all builds (take 3)
They were previously enabled in shared_library builds for historical reasons.

This change is relevant for Clang, which currently doesn't support exceptions
on Windows.

Previous attemps failed due to:
- chrome_elf_unittests on x64 (crbug.com/396244)
  Fixed in Chromium r285377.

- blink_platform_unittests:DateTimeFormatTest.CommonPattern et al.
  Fixed in Blink r176189

BUG=82385
TBR=thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285458 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-25 02:31:10 +00:00
andrewhayden@chromium.org 900f8e2d4e Make it possible to generate static and dynamic CLD2 libraries in one build.
This is necessary to allow building multiple targets with conflicting
requirements, such as chrome_shell (needing a statically-linked CLD2) at the
same time as the APK for Android (using, e.g., the "component" CLD2 data
source). For more information and background, refer to the linked bug.

This change should be a no-op in all current build configurations, but moves
closer to enabling the behavior described above.

BUG=367239
TBR=toyoshim
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285289 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-24 15:58:30 +00:00
glider@chromium.org b9ac9eb94a Don't set use_custom_libcxx in ASan builds on CrOS.
BUG=396979
R=earthdok@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@285282 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-24 15:41:42 +00:00
lliabraa@chromium.org de4d9bd1f5 Add 'hi' locale for iOS.
BUG=396534

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-23 17:14:53 +00:00
asvitkine@chromium.org 0cf7e5f8bf Revert 284930 "Use libc++ for all non-Windows ASan builds."
Broke Mac ASan Builder gclient runhooks step:

Error: Command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/python src/build/gyp_chromium returned non-zero exit status 1 in /Volumes/data/b/build/slave/Mac_ASan_Builder/build
Updating projects from gyp files...
Using overrides found in /Users/chrome-bot/.gyp/include.gypi
gyp: Found /Volumes/data/b/build/slave/Mac_ASan_Builder/build/src/third_party/libc++/libc++.gyp:libcxx_proxy#target in dependencies! of /Volumes/data/b/build/slave/Mac_ASan_Builder/build/src/base/base.gyp:sanitizer_options#target, but not in dependencies
builder -> 'ninja'
gyp_defines -> {'asan': '1', 'gomadir': '/Volumes/data/b/build/goma', 'use_goma': '1', 'component': 'static_library', 'release_extra_cflags': '-gline-tables-only'}
IsWindows -> False
IsLinux -> False
platform -> 'mac'
Running build/landmines.py...
Hook '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/python src/build/gyp_chromium' took 51.21 secs

> Use libc++ for all non-Windows ASan builds.
> 
> BUG=318770
> TBR=earthdok@chromium.org
> 
> Review URL: https://codereview.chromium.org/414703002

TBR=glider@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284932 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-23 15:50:25 +00:00
glider@chromium.org 664272eea5 Use libc++ for all non-Windows ASan builds.
BUG=318770
TBR=earthdok@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284930 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-23 15:35:55 +00:00
varkha@chromium.org adf13058f5 Makes embedded content shell build without pango
BUG=178543
TEST=build embedded content shell with chromeos=1 and embedded=1

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284759 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-22 19:50:47 +00:00
glider@chromium.org e59b0413e8 Enable libc++ under ASan by default.
BUG=318770
TBR=earthdok@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284675 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-22 13:28:08 +00:00
ksakamoto@chromium.org f2ec1c42aa Revert of Disable exceptions on Windows also in the shared_library build (https://codereview.chromium.org/404853002/)
Reason for revert:
Speculative revert to try to fix chrome_elf_unittests on Win7 x64.
http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%282%29/builds/18370
  AddDllsFromRegistryToBlacklist
  LoadBlacklistedLibrary

I'll reland if that's not it.


Original issue's description:
> Disable exceptions on Windows also in the shared_library build
> 
> They were previously only disabled in static_library builds. This is believed
> to have been due to problems with old MSVC versions, but it should work now.
> 
> This change is relevant for Clang, which currently doesn't support exceptions
> on Windows.
> 
> Last time I attempted to do this, it broke some tests due to a debug assertion.
> Gtest had previously been catching the exception, but with exceptions disabled
> it crashed. Those tests were actually broken in static_library Debug builds
> too, but we don't seem to have bots for that. After Blink r176189, we no longer
> hit that debug assertion, so the tests now pass.
> 
> BUG=82385
> TEST=blink_platform_unittests --gtest_filter=DateTimeFormatTest.CommonPattern,
>      content_browsertests --gtest_filter=RenderViewImplTest.SetEditableSelectionAndComposition
>      webkit_unit_tests
> 
> R=thakis@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284519

TBR=maruel@chromium.org,thakis@chromium.org,hans@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=82385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284626 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-22 04:31:52 +00:00
hans@chromium.org d2b6e407d7 Disable exceptions on Windows also in the shared_library build
They were previously only disabled in static_library builds. This is believed
to have been due to problems with old MSVC versions, but it should work now.

This change is relevant for Clang, which currently doesn't support exceptions
on Windows.

Last time I attempted to do this, it broke some tests due to a debug assertion.
Gtest had previously been catching the exception, but with exceptions disabled
it crashed. Those tests were actually broken in static_library Debug builds
too, but we don't seem to have bots for that. After Blink r176189, we no longer
hit that debug assertion, so the tests now pass.

BUG=82385
TEST=blink_platform_unittests --gtest_filter=DateTimeFormatTest.CommonPattern,
     content_browsertests --gtest_filter=RenderViewImplTest.SetEditableSelectionAndComposition
     webkit_unit_tests

R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284519 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-21 22:35:48 +00:00
byoungyoung@chromium.org b71fbb6141 Remove -fsanitize=null for ubsan_vptr=1 build.
As functional dependencies on -fsanitize=null are removed for -fsanitize=vptr
(Clang r213393), removing the -fsanitize=null option accordingly.

BUG=174801
R=aarya@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284245 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 23:09:24 +00:00
thakis@chromium.org 804a506966 Really disable clang's SLP vectorizer on Linux.
Follow-up to https://codereview.chromium.org/393193003/ .
-fno-slp-vectorize was passed before -O2 on linux, and -O2 would
reenable it. I checked that the order of -O3 and -fno-slp-vectorize
is correct as-is on Mac.

BUG=none
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284191 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 20:14:47 +00:00
jochen@chromium.org c30d9107b6 Drop unused v8 config var from chromium config
The default platform no longer exists.

BUG=none
TBR=dcarney@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 09:59:35 +00:00
scottmg@chromium.org f59a136d45 win: Add /d2Zi+ to compile flags
This makes debugging and stacks in Release builds much more accurate
(locals, arguments, information about inlining, etc.). The drawback is
somewhat larger .pdb files. Here's the sizes for the top 10 pdbs:

With /d2Zi+
-----------
07/17/2014  09:52 PM       280,408,064 content_unittests.exe.pdb
07/17/2014  09:47 PM       477,401,088 blink_web.dll.pdb
07/17/2014  09:50 PM       506,949,632 content.dll.pdb
07/17/2014  10:01 PM       955,576,320 sync_performance_tests.exe.pdb
07/17/2014  09:59 PM       955,912,192 performance_browser_tests.exe.pdb
07/17/2014  10:04 PM       965,382,144 sync_integration_tests.exe.pdb
07/17/2014  09:59 PM       987,688,960 chrome.dll.pdb
07/17/2014  10:03 PM     1,228,763,136 interactive_ui_tests.exe.pdb
07/17/2014  10:05 PM     1,398,632,448 browser_tests.exe.pdb
07/17/2014  10:07 PM     1,569,222,656 unit_tests.exe.pdb

Without
-------

07/17/2014  10:44 PM       238,104,576 content_unittests.exe.pdb
07/17/2014  10:39 PM       399,175,680 blink_web.dll.pdb
07/17/2014  10:44 PM       439,767,040 content.dll.pdb
07/17/2014  10:57 PM       837,832,704 sync_performance_tests.exe.pdb
07/17/2014  10:51 PM       838,119,424 performance_browser_tests.exe.pdb
07/17/2014  10:57 PM       846,286,848 sync_integration_tests.exe.pdb
07/17/2014  10:51 PM       864,194,560 chrome.dll.pdb
07/17/2014  10:58 PM     1,071,509,504 interactive_ui_tests.exe.pdb
07/17/2014  10:58 PM     1,219,203,072 browser_tests.exe.pdb
07/17/2014  10:58 PM     1,351,118,848 unit_tests.exe.pdb

So there is appreciable growth (~15%). The limit is currently 4G, so it
seems worth turning on for now, and if we must disable it later, we can.

R=wfh@chromium.org
BUG=350018,388264

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284043 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 09:30:33 +00:00
thakis@chromium.org 8913b55595 Disable clang's SLP vectorizer.
It currently generates invalid code, see
http://llvm.org/bugs/show_bug.cgi?id=20354

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284029 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 07:32:44 +00:00