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 2529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2540 'conditions': [ | 2540 'conditions': [ |
2541 ['OS=="linux" or OS=="android"', { | 2541 ['OS=="linux" or OS=="android"', { |
2542 'target_conditions': [ | 2542 'target_conditions': [ |
2543 ['_toolset=="target"', { | 2543 ['_toolset=="target"', { |
2544 'cflags': [ | 2544 'cflags': [ |
2545 '<@(debug_extra_cflags)', | 2545 '<@(debug_extra_cflags)', |
2546 ], | 2546 ], |
2547 }], | 2547 }], |
2548 ], | 2548 ], |
2549 }], | 2549 }], |
2550 ['OS=="linux"', { | 2550 ['OS=="linux" and clang!=1', { |
2551 # Enable libstdc++ debugging facilities to help catch problems | 2551 # Enable libstdc++ debugging facilities to help catch problems |
2552 # early, see http://crbug.com/65151 . | 2552 # early, see http://crbug.com/65151 . |
2553 # TODO(phajdan.jr): Should we enable this for all of POSIX? | 2553 # TODO(phajdan.jr): Should we enable this for all of POSIX? |
2554 'defines': ['_GLIBCXX_DEBUG=1',], | 2554 'defines': ['_GLIBCXX_DEBUG=1',], |
2555 'cflags_cc+': ['-g'], | 2555 'cflags_cc+': ['-g'], |
2556 }], | 2556 }], |
2557 # Disabled on iOS because it was causing a crash on startup. | 2557 # Disabled on iOS because it was causing a crash on startup. |
2558 # TODO(michelea): investigate, create a reduced test and possibly | 2558 # TODO(michelea): investigate, create a reduced test and possibly |
2559 # submit a radar. | 2559 # submit a radar. |
2560 ['release_valgrind_build==0 and OS!="ios"', { | 2560 ['release_valgrind_build==0 and OS!="ios"', { |
(...skipping 2121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4682 # settings in target dicts. SYMROOT is a special case, because many other | 4682 # settings in target dicts. SYMROOT is a special case, because many other |
4683 # Xcode variables depend on it, including variables such as | 4683 # Xcode variables depend on it, including variables such as |
4684 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4684 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4685 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4685 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4686 # files to appear (when present) in the UI as actual files and not red | 4686 # files to appear (when present) in the UI as actual files and not red |
4687 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4687 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4688 # and therefore SYMROOT, needs to be set at the project level. | 4688 # and therefore SYMROOT, needs to be set at the project level. |
4689 'SYMROOT': '<(DEPTH)/xcodebuild', | 4689 'SYMROOT': '<(DEPTH)/xcodebuild', |
4690 }, | 4690 }, |
4691 } | 4691 } |
OLD | NEW |