OLD | NEW |
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 3516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3527 }], | 3527 }], |
3528 # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580 | 3528 # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580 |
3529 ['os_posix==1 and disable_fatal_linker_warnings==0 and use_evdev_gestures==0
and (chromeos==0 or target_arch!="arm")', { | 3529 ['os_posix==1 and disable_fatal_linker_warnings==0 and use_evdev_gestures==0
and (chromeos==0 or target_arch!="arm")', { |
3530 'target_defaults': { | 3530 'target_defaults': { |
3531 'ldflags': [ | 3531 'ldflags': [ |
3532 '-Wl,--fatal-warnings', | 3532 '-Wl,--fatal-warnings', |
3533 ], | 3533 ], |
3534 }, | 3534 }, |
3535 }], | 3535 }], |
3536 # TODO(thakis): Enable this everywhere. http://crbug.com/371125 | 3536 # TODO(thakis): Enable this everywhere. http://crbug.com/371125 |
3537 ['(OS=="linux" or OS=="android") and asan==0 and tsan==0 and component=="sha
red_library" and use_ozone!=1 and buildtype!="Official"', { | 3537 ['(OS=="linux" or OS=="android") and asan==0 and tsan==0 and use_ozone!=1 an
d buildtype!="Official"', { |
3538 'target_defaults': { | 3538 'target_defaults': { |
3539 'ldflags': [ | 3539 'ldflags': [ |
3540 '-Wl,-z,defs', | 3540 '-Wl,-z,defs', |
3541 ], | 3541 ], |
3542 }, | 3542 }, |
3543 }], | 3543 }], |
3544 ['os_posix==1 and chromeos==0', { | 3544 ['os_posix==1 and chromeos==0', { |
3545 # Chrome OS enables -fstack-protector-strong via its build wrapper, | 3545 # Chrome OS enables -fstack-protector-strong via its build wrapper, |
3546 # and we want to avoid overriding this, so stack-protector is only | 3546 # and we want to avoid overriding this, so stack-protector is only |
3547 # enabled when not building on Chrome OS. | 3547 # enabled when not building on Chrome OS. |
(...skipping 2306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5854 # settings in target dicts. SYMROOT is a special case, because many other | 5854 # settings in target dicts. SYMROOT is a special case, because many other |
5855 # Xcode variables depend on it, including variables such as | 5855 # Xcode variables depend on it, including variables such as |
5856 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5856 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5857 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5857 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5858 # files to appear (when present) in the UI as actual files and not red | 5858 # files to appear (when present) in the UI as actual files and not red |
5859 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5859 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5860 # and therefore SYMROOT, needs to be set at the project level. | 5860 # and therefore SYMROOT, needs to be set at the project level. |
5861 'SYMROOT': '<(DEPTH)/xcodebuild', | 5861 'SYMROOT': '<(DEPTH)/xcodebuild', |
5862 }, | 5862 }, |
5863 } | 5863 } |
OLD | NEW |