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 4368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4379 # Only apply this to the target linker, since the host | 4379 # Only apply this to the target linker, since the host |
4380 # linker might not be gold, but isn't used much anyway. | 4380 # linker might not be gold, but isn't used much anyway. |
4381 # TODO(raymes): Disable threading because gold is frequently | 4381 # TODO(raymes): Disable threading because gold is frequently |
4382 # crashing on the bots: crbug.com/161942. | 4382 # crashing on the bots: crbug.com/161942. |
4383 # '-Wl,--threads', | 4383 # '-Wl,--threads', |
4384 # '-Wl,--thread-count=4', | 4384 # '-Wl,--thread-count=4', |
4385 ], | 4385 ], |
4386 }], | 4386 }], |
4387 ], | 4387 ], |
4388 'conditions': [ | 4388 'conditions': [ |
4389 ['release_valgrind_build==0', { | 4389 ['release_valgrind_build==0 and order_profiling==0', { |
4390 'target_conditions': [ | 4390 'target_conditions': [ |
4391 ['_toolset=="target"', { | 4391 ['_toolset=="target"', { |
4392 'ldflags': [ | 4392 'ldflags': [ |
4393 '-Wl,--icf=safe', | 4393 '-Wl,--icf=safe', |
4394 ], | 4394 ], |
4395 }], | 4395 }], |
4396 ], | 4396 ], |
4397 }], | 4397 }], |
4398 ], | 4398 ], |
4399 }], | 4399 }], |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4678 '-Wno-format-security', | 4678 '-Wno-format-security', |
4679 '-Wno-return-type', | 4679 '-Wno-return-type', |
4680 '-Wno-sequence-point', | 4680 '-Wno-sequence-point', |
4681 ], | 4681 ], |
4682 'cflags_cc': [ | 4682 'cflags_cc': [ |
4683 '-Wno-non-virtual-dtor', | 4683 '-Wno-non-virtual-dtor', |
4684 ], | 4684 ], |
4685 }], | 4685 }], |
4686 ], | 4686 ], |
4687 }], | 4687 }], |
4688 ['target_arch == "arm"', { | 4688 ['target_arch == "arm" and order_profiling==0', { |
4689 'ldflags': [ | 4689 'ldflags': [ |
4690 # Enable identical code folding to reduce size. | 4690 # Enable identical code folding to reduce size. |
4691 '-Wl,--icf=safe', | 4691 '-Wl,--icf=safe', |
4692 ], | 4692 ], |
4693 }], | 4693 }], |
4694 # NOTE: The stlport header include paths below are specified in | 4694 # NOTE: The stlport header include paths below are specified in |
4695 # cflags rather than include_dirs because they need to come | 4695 # cflags rather than include_dirs because they need to come |
4696 # after include_dirs. Think of them like system headers, but | 4696 # after include_dirs. Think of them like system headers, but |
4697 # don't use '-isystem' because the arm-linux-androideabi-4.4.3 | 4697 # don't use '-isystem' because the arm-linux-androideabi-4.4.3 |
4698 # toolchain (circa Gingerbread) will exhibit strange errors. | 4698 # toolchain (circa Gingerbread) will exhibit strange errors. |
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5831 # settings in target dicts. SYMROOT is a special case, because many other | 5831 # settings in target dicts. SYMROOT is a special case, because many other |
5832 # Xcode variables depend on it, including variables such as | 5832 # Xcode variables depend on it, including variables such as |
5833 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5833 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5834 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5834 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5835 # files to appear (when present) in the UI as actual files and not red | 5835 # files to appear (when present) in the UI as actual files and not red |
5836 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5836 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5837 # and therefore SYMROOT, needs to be set at the project level. | 5837 # and therefore SYMROOT, needs to be set at the project level. |
5838 'SYMROOT': '<(DEPTH)/xcodebuild', | 5838 'SYMROOT': '<(DEPTH)/xcodebuild', |
5839 }, | 5839 }, |
5840 } | 5840 } |
OLD | NEW |