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 4357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4368 # Only apply this to the target linker, since the host | 4368 # Only apply this to the target linker, since the host |
4369 # linker might not be gold, but isn't used much anyway. | 4369 # linker might not be gold, but isn't used much anyway. |
4370 # TODO(raymes): Disable threading because gold is frequently | 4370 # TODO(raymes): Disable threading because gold is frequently |
4371 # crashing on the bots: crbug.com/161942. | 4371 # crashing on the bots: crbug.com/161942. |
4372 # '-Wl,--threads', | 4372 # '-Wl,--threads', |
4373 # '-Wl,--thread-count=4', | 4373 # '-Wl,--thread-count=4', |
4374 ], | 4374 ], |
4375 }], | 4375 }], |
4376 ], | 4376 ], |
4377 'conditions': [ | 4377 'conditions': [ |
4378 ['release_valgrind_build==0', { | 4378 ['release_valgrind_build==0 and order_profiling==0', { |
4379 'target_conditions': [ | 4379 'target_conditions': [ |
4380 ['_toolset=="target"', { | 4380 ['_toolset=="target"', { |
4381 'ldflags': [ | 4381 'ldflags': [ |
4382 '-Wl,--icf=safe', | 4382 '-Wl,--icf=safe', |
4383 ], | 4383 ], |
4384 }], | 4384 }], |
4385 ], | 4385 ], |
4386 }], | 4386 }], |
4387 ], | 4387 ], |
4388 }], | 4388 }], |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4667 '-Wno-format-security', | 4667 '-Wno-format-security', |
4668 '-Wno-return-type', | 4668 '-Wno-return-type', |
4669 '-Wno-sequence-point', | 4669 '-Wno-sequence-point', |
4670 ], | 4670 ], |
4671 'cflags_cc': [ | 4671 'cflags_cc': [ |
4672 '-Wno-non-virtual-dtor', | 4672 '-Wno-non-virtual-dtor', |
4673 ], | 4673 ], |
4674 }], | 4674 }], |
4675 ], | 4675 ], |
4676 }], | 4676 }], |
4677 ['target_arch == "arm"', { | 4677 ['target_arch == "arm" and order_profiling==0', { |
4678 'ldflags': [ | 4678 'ldflags': [ |
4679 # Enable identical code folding to reduce size. | 4679 # Enable identical code folding to reduce size. |
4680 '-Wl,--icf=safe', | 4680 '-Wl,--icf=safe', |
4681 ], | 4681 ], |
4682 }], | 4682 }], |
4683 # NOTE: The stlport header include paths below are specified in | 4683 # NOTE: The stlport header include paths below are specified in |
4684 # cflags rather than include_dirs because they need to come | 4684 # cflags rather than include_dirs because they need to come |
4685 # after include_dirs. Think of them like system headers, but | 4685 # after include_dirs. Think of them like system headers, but |
4686 # don't use '-isystem' because the arm-linux-androideabi-4.4.3 | 4686 # don't use '-isystem' because the arm-linux-androideabi-4.4.3 |
4687 # toolchain (circa Gingerbread) will exhibit strange errors. | 4687 # toolchain (circa Gingerbread) will exhibit strange errors. |
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5820 # settings in target dicts. SYMROOT is a special case, because many other | 5820 # settings in target dicts. SYMROOT is a special case, because many other |
5821 # Xcode variables depend on it, including variables such as | 5821 # Xcode variables depend on it, including variables such as |
5822 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5822 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5823 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5823 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5824 # files to appear (when present) in the UI as actual files and not red | 5824 # files to appear (when present) in the UI as actual files and not red |
5825 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5825 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5826 # and therefore SYMROOT, needs to be set at the project level. | 5826 # and therefore SYMROOT, needs to be set at the project level. |
5827 'SYMROOT': '<(DEPTH)/xcodebuild', | 5827 'SYMROOT': '<(DEPTH)/xcodebuild', |
5828 }, | 5828 }, |
5829 } | 5829 } |
OLD | NEW |