| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index c899e14d4bf06b80ac8bf7f7c478145b59e4caab..30239f1bdfbb3f7ec2eba066200e9047fef2c28d 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -619,7 +619,7 @@
|
| # completion, but only actually requires them for layout tests. However,
|
| # we need to maintain all the old behaviors while the plumbing is put in
|
| # place on both sides of the repo boundary.
|
| - 'enable_load_completion_hacks%': 1,
|
| + 'enable_load_completion_hacks%': 0,
|
|
|
| # Automatically select platforms under ozone. Turn this off to
|
| # build only explicitly selected platforms.
|
| @@ -706,6 +706,13 @@
|
| 'use_dbus%': 0,
|
| }],
|
|
|
| + # Libxkbcommon usage.
|
| + ['use_ozone==1 and embedded==0', {
|
| + 'use_xkbcommon%': 1,
|
| + }, {
|
| + 'use_xkbcommon%': 0,
|
| + }],
|
| +
|
| # We always use skia text rendering in Aura on Windows, since GDI
|
| # doesn't agree with our BackingStore.
|
| # TODO(beng): remove once skia text rendering is on by default.
|
| @@ -1087,6 +1094,7 @@
|
| 'use_cairo%': '<(use_cairo)',
|
| 'use_ozone%': '<(use_ozone)',
|
| 'use_ozone_evdev%': '<(use_ozone_evdev)',
|
| + 'use_xkbcommon%': '<(use_xkbcommon)',
|
| 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
|
| 'desktop_linux%': '<(desktop_linux)',
|
| 'use_x11%': '<(use_x11)',
|
| @@ -2521,6 +2529,9 @@
|
| # code generated by flex (used in angle) contains that keyword.
|
| # http://crbug.com/255186
|
| '-Wno-deprecated-register',
|
| +
|
| + # TODO(hans): Get this cleaned up.
|
| + '-Wno-inconsistent-missing-override',
|
| ],
|
| },
|
| 'includes': [ 'set_clang_warning_flags.gypi', ],
|
| @@ -4185,6 +4196,13 @@
|
| ],
|
| }],
|
| ],
|
| + 'conditions': [
|
| + ['OS=="mac"', {
|
| + 'cflags': [
|
| + '-mllvm -asan-globals=0', # http://crbug.com/352073
|
| + ],
|
| + }],
|
| + ],
|
| }],
|
| ['ubsan==1', {
|
| 'target_conditions': [
|
| @@ -4235,7 +4253,7 @@
|
| 'target_conditions': [
|
| ['_toolset=="target"', {
|
| 'cflags': [
|
| - '-mllvm -asan-coverage=<(asan_coverage)',
|
| + '-fsanitize-coverage=<(asan_coverage)',
|
| ],
|
| }],
|
| ],
|
| @@ -4606,16 +4624,6 @@
|
| # TODO(eugenis): find a way to reenable this.
|
| '-mllvm -asan-globals=0',
|
| ],
|
| - 'conditions': [
|
| - ['target_arch=="arm"', {
|
| - 'ldflags': [
|
| - # TODO(hans): The ASan runtime is no longer automatically
|
| - # added to the link line when using -nostdlib. Can we
|
| - # stop adding -nostdlib? (crbug.com/423429)
|
| - '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/lib/clang/3.6.0/lib/linux/libclang_rt.asan-arm-android.so',
|
| - ],
|
| - }],
|
| - ],
|
| }],
|
| ['android_webview_build==0', {
|
| 'defines': [
|
| @@ -4900,6 +4908,7 @@
|
| 'xcode_settings': {
|
| 'OTHER_CFLAGS': [
|
| '-fsanitize=address',
|
| + '-mllvm -asan-globals=0', # http://crbug.com/352073
|
| '-gline-tables-only',
|
| ],
|
| },
|
| @@ -4908,7 +4917,7 @@
|
| 'target_conditions': [
|
| ['_toolset=="target"', {
|
| 'cflags': [
|
| - '-mllvm -asan-coverage=<(asan_coverage)',
|
| + '-fsanitize-coverage=<(asan_coverage)',
|
| ],
|
| }],
|
| ],
|
|
|