Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: build/common.gypi

Issue 900343002: Enable -Wl,-z,defs for ozone builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 3525 matching lines...) Expand 10 before | Expand all | Expand 10 after
3536 }], 3536 }],
3537 # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580 3537 # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580
3538 ['os_posix==1 and disable_fatal_linker_warnings==0 and use_evdev_gestures==0 and (chromeos==0 or target_arch!="arm")', { 3538 ['os_posix==1 and disable_fatal_linker_warnings==0 and use_evdev_gestures==0 and (chromeos==0 or target_arch!="arm")', {
3539 'target_defaults': { 3539 'target_defaults': {
3540 'ldflags': [ 3540 'ldflags': [
3541 '-Wl,--fatal-warnings', 3541 '-Wl,--fatal-warnings',
3542 ], 3542 ],
3543 }, 3543 },
3544 }], 3544 }],
3545 # TODO(thakis): Enable this everywhere. http://crbug.com/371125 3545 # TODO(thakis): Enable this everywhere. http://crbug.com/371125
3546 ['(OS=="linux" or OS=="android") and asan==0 and msan==0 and tsan==0 and ubs an==0 and ubsan_vptr==0 and use_ozone!=1', { 3546 ['(OS=="linux" or OS=="android") and asan==0 and msan==0 and tsan==0 and ubs an==0 and ubsan_vptr==0', {
3547 'target_defaults': { 3547 'target_defaults': {
3548 'ldflags': [ 3548 'ldflags': [
3549 '-Wl,-z,defs', 3549 '-Wl,-z,defs',
3550 ], 3550 ],
3551 }, 3551 },
3552 }], 3552 }],
3553 ['os_posix==1 and chromeos==0', { 3553 ['os_posix==1 and chromeos==0', {
3554 # Chrome OS enables -fstack-protector-strong via its build wrapper, 3554 # Chrome OS enables -fstack-protector-strong via its build wrapper,
3555 # and we want to avoid overriding this, so stack-protector is only 3555 # and we want to avoid overriding this, so stack-protector is only
3556 # enabled when not building on Chrome OS. 3556 # enabled when not building on Chrome OS.
(...skipping 2334 matching lines...) Expand 10 before | Expand all | Expand 10 after
5891 # settings in target dicts. SYMROOT is a special case, because many other 5891 # settings in target dicts. SYMROOT is a special case, because many other
5892 # Xcode variables depend on it, including variables such as 5892 # Xcode variables depend on it, including variables such as
5893 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5893 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5894 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5894 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5895 # files to appear (when present) in the UI as actual files and not red 5895 # files to appear (when present) in the UI as actual files and not red
5896 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5896 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5897 # and therefore SYMROOT, needs to be set at the project level. 5897 # and therefore SYMROOT, needs to be set at the project level.
5898 'SYMROOT': '<(DEPTH)/xcodebuild', 5898 'SYMROOT': '<(DEPTH)/xcodebuild',
5899 }, 5899 },
5900 } 5900 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698