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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
576 # where possible to reduce ROM size. | 576 # where possible to reduce ROM size. |
577 'use_system_libjpeg%': '<(android_build_type)', | 577 'use_system_libjpeg%': '<(android_build_type)', |
578 }], | 578 }], |
579 | 579 |
580 # Enable Settings App only on Windows. | 580 # Enable Settings App only on Windows. |
581 ['enable_app_list==1 and OS=="win"', { | 581 ['enable_app_list==1 and OS=="win"', { |
582 'enable_settings_app%': 1, | 582 'enable_settings_app%': 1, |
583 }, { | 583 }, { |
584 'enable_settings_app%': 0, | 584 'enable_settings_app%': 0, |
585 }], | 585 }], |
586 | |
587 ['OS=="linux"', { # and target_arch=="arm" and chromeos==0', { | |
iannucci
2012/12/07 23:54:06
I'm not sure I'm reading this right, but it looks
Sam Clegg
2012/12/08 00:03:12
Great catch. Thank you.
Done.
Do you happen to k
| |
588 # Set some defaults for arm/linux chrome builds | |
589 'armv7%': 1, | |
590 'linux_breakpad%': 0, | |
591 'linux_use_tcmalloc%': 0, | |
592 'sysroot%': '<!(cd <(DEPTH)/arm-sysroot && pwd -P)', | |
593 }], # OS=="linux" and target_arch=="arm" | |
586 ], | 594 ], |
587 | 595 |
588 # Set this to 1 to use the Google-internal file containing | 596 # Set this to 1 to use the Google-internal file containing |
589 # official API keys for Google Chrome even in a developer build. | 597 # official API keys for Google Chrome even in a developer build. |
590 # Setting this variable explicitly to 1 will cause your build to | 598 # Setting this variable explicitly to 1 will cause your build to |
591 # fail if the internal file is missing. | 599 # fail if the internal file is missing. |
592 # | 600 # |
593 # Set this to 0 to not use the internal file, even when it | 601 # Set this to 0 to not use the internal file, even when it |
594 # exists in your checkout. | 602 # exists in your checkout. |
595 # | 603 # |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1207 # Enable Keystone auto-update support. | 1215 # Enable Keystone auto-update support. |
1208 'mac_keystone%': 1, | 1216 'mac_keystone%': 1, |
1209 }, { # else: branding!="Chrome" or buildtype!="Official" | 1217 }, { # else: branding!="Chrome" or buildtype!="Official" |
1210 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py <(mac_sdk_min) )', | 1218 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py <(mac_sdk_min) )', |
1211 'mac_breakpad_uploads%': 0, | 1219 'mac_breakpad_uploads%': 0, |
1212 'mac_breakpad%': 0, | 1220 'mac_breakpad%': 0, |
1213 'mac_keystone%': 0, | 1221 'mac_keystone%': 0, |
1214 }], | 1222 }], |
1215 ], | 1223 ], |
1216 }], # OS=="mac" | 1224 }], # OS=="mac" |
1217 | |
1218 ['OS=="win"', { | 1225 ['OS=="win"', { |
1219 'conditions': [ | 1226 'conditions': [ |
1220 ['component=="shared_library"', { | 1227 ['component=="shared_library"', { |
1221 'win_use_allocator_shim%': 0, | 1228 'win_use_allocator_shim%': 0, |
1222 }], | 1229 }], |
1223 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { | 1230 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { |
1224 # Only enabled by default for ninja because it's buggy in VS. | 1231 # Only enabled by default for ninja because it's buggy in VS. |
1225 # Not enabled for component=static_library because some targets | 1232 # Not enabled for component=static_library because some targets |
1226 # are too large and the toolchain fails due to the size of the | 1233 # are too large and the toolchain fails due to the size of the |
1227 # .obj files. | 1234 # .obj files. |
(...skipping 1568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2796 # Allow mmx intrinsics to inline, so that the compiler can expand | 2803 # Allow mmx intrinsics to inline, so that the compiler can expand |
2797 # the intrinsics. | 2804 # the intrinsics. |
2798 '-finstrument-functions-exclude-file-list=mmintrin.h', | 2805 '-finstrument-functions-exclude-file-list=mmintrin.h', |
2799 ], | 2806 ], |
2800 }], | 2807 }], |
2801 ['linux_use_gold_flags==1', { | 2808 ['linux_use_gold_flags==1', { |
2802 'conditions': [ | 2809 'conditions': [ |
2803 # Don't enable multi-threaded linking for 32-bit targets as it | 2810 # Don't enable multi-threaded linking for 32-bit targets as it |
2804 # causes intermittent crashed on lucid32: http://crbug.com/161942 | 2811 # causes intermittent crashed on lucid32: http://crbug.com/161942 |
2805 # TODO(sbc): remove this once gold bug is fixed | 2812 # TODO(sbc): remove this once gold bug is fixed |
2806 ['host_arch!="ia32"', { | 2813 ['host_arch!="ia32" and host_arch!="arm"', { |
2807 'ldflags': [ | 2814 'ldflags': [ |
2808 # Experimentation found that using four linking threads | 2815 # Experimentation found that using four linking threads |
2809 # saved ~20% of link time. | 2816 # saved ~20% of link time. |
2810 # https://groups.google.com/a/chromium.org/group/chromium-dev/ browse_thread/thread/281527606915bb36 | 2817 # https://groups.google.com/a/chromium.org/group/chromium-dev/ browse_thread/thread/281527606915bb36 |
2811 '-Wl,--threads', | 2818 '-Wl,--threads', |
2812 '-Wl,--thread-count=4', | 2819 '-Wl,--thread-count=4', |
2813 ], | 2820 ], |
2814 }], | 2821 }], |
2815 ['release_valgrind_build==0', { | 2822 ['release_valgrind_build==0', { |
2816 'target_conditions': [ | 2823 'target_conditions': [ |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3915 # settings in target dicts. SYMROOT is a special case, because many other | 3922 # settings in target dicts. SYMROOT is a special case, because many other |
3916 # Xcode variables depend on it, including variables such as | 3923 # Xcode variables depend on it, including variables such as |
3917 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3924 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3918 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3925 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3919 # files to appear (when present) in the UI as actual files and not red | 3926 # files to appear (when present) in the UI as actual files and not red |
3920 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3927 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3921 # and therefore SYMROOT, needs to be set at the project level. | 3928 # and therefore SYMROOT, needs to be set at the project level. |
3922 'SYMROOT': '<(DEPTH)/xcodebuild', | 3929 'SYMROOT': '<(DEPTH)/xcodebuild', |
3923 }, | 3930 }, |
3924 } | 3931 } |
OLD | NEW |