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