Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: build/common.gypi

Issue 1159083004: Speculative revert to fix ChromeOS PFQ mips builder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@speciulative_mips_fix
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 # Disable viewport meta tag by default. 79 # Disable viewport meta tag by default.
80 'enable_viewport%': 0, 80 'enable_viewport%': 0,
81 81
82 # Enable HiDPI support. 82 # Enable HiDPI support.
83 'enable_hidpi%': 0, 83 'enable_hidpi%': 0,
84 84
85 # Enable top chrome material design. 85 # Enable top chrome material design.
86 'enable_topchrome_md%' : 0, 86 'enable_topchrome_md%' : 0,
87 87
88 # Force building against pre-built sysroot image on linux. By default
89 # the sysroot image is only used for Official builds or when cross
90 # compiling to arm or mips.
91 'use_sysroot%': 0,
92
93 # Override buildtype to select the desired build flavor. 88 # Override buildtype to select the desired build flavor.
94 # Dev - everyday build for development/testing 89 # Dev - everyday build for development/testing
95 # Official - release build (generally implies additional processing) 90 # Official - release build (generally implies additional processing)
96 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp 91 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp
97 # conversion is done), some of the things which are now controlled by 92 # conversion is done), some of the things which are now controlled by
98 # 'branding', such as symbol generation, will need to be refactored 93 # 'branding', such as symbol generation, will need to be refactored
99 # based on 'buildtype' (i.e. we don't care about saving symbols for 94 # based on 'buildtype' (i.e. we don't care about saving symbols for
100 # non-Official # builds). 95 # non-Official # builds).
101 'buildtype%': 'Dev', 96 'buildtype%': 'Dev',
102 97
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 'use_clipboard_aurax11%': 0, 170 'use_clipboard_aurax11%': 0,
176 171
177 # goma settings. 172 # goma settings.
178 # 1 to use goma. 173 # 1 to use goma.
179 # If no gomadir is set, it uses the default gomadir. 174 # If no gomadir is set, it uses the default gomadir.
180 'use_goma%': 0, 175 'use_goma%': 0,
181 'gomadir%': '', 176 'gomadir%': '',
182 177
183 # The system root for cross-compiles. Default: none. 178 # The system root for cross-compiles. Default: none.
184 'sysroot%': '', 179 'sysroot%': '',
180 'use_sysroot%': 0,
185 'chroot_cmd%': '', 181 'chroot_cmd%': '',
186 182
187 # The system libdir used for this ABI. 183 # The system libdir used for this ABI.
188 'system_libdir%': 'lib', 184 'system_libdir%': 'lib',
189 185
190 # Default MIPS arch variant. This is set in the conditions block 186 # Default MIPS arch variant. This is set in the conditions block
191 # below for MIPS targets. 187 # below for MIPS targets.
192 'mips_arch_variant%': '', 188 'mips_arch_variant%': '',
193 189
194 # MIPS DSP ASE revision. Possible values are: 190 # MIPS DSP ASE revision. Possible values are:
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 'mips_arch_variant%': 'r6', 275 'mips_arch_variant%': 'r6',
280 }, { 276 }, {
281 'mips_arch_variant%': 'r2', 277 'mips_arch_variant%': 'r2',
282 }], 278 }],
283 ], 279 ],
284 }], 280 }],
285 281
286 ['target_arch=="mipsel"', { 282 ['target_arch=="mipsel"', {
287 'mips_arch_variant%': 'r1', 283 'mips_arch_variant%': 'r1',
288 }], 284 }],
289
290 ['OS=="linux" and target_arch=="arm" and chromeos==0', {
291 # sysroot needs to be an absolute path otherwise it generates
292 # incorrect results when passed to pkg-config
293 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian _wheezy_arm-sysroot',
294 }], # OS=="linux" and target_arch=="arm" and chromeos==0
295
296 ['OS=="linux" and ((branding=="Chrome" and buildtype=="Official" and c hromeos==0) or use_sysroot==1)' , {
297 'conditions': [
298 ['target_arch=="x64"', {
299 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/de bian_wheezy_amd64-sysroot',
300 }],
301 ['target_arch=="ia32"', {
302 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/de bian_wheezy_i386-sysroot',
303 }],
304 ],
305 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and chromeos==0
306
307 ['OS=="linux" and target_arch=="mipsel"', {
308 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
309 }],
310 ], 285 ],
311 }, 286 },
312 287
313 # Copy conditionally-set variables out one scope. 288 # Copy conditionally-set variables out one scope.
314 'chromeos%': '<(chromeos)', 289 'chromeos%': '<(chromeos)',
315 'chromecast%': '<(chromecast)', 290 'chromecast%': '<(chromecast)',
316 'host_arch%': '<(host_arch)', 291 'host_arch%': '<(host_arch)',
317 'target_arch%': '<(target_arch)', 292 'target_arch%': '<(target_arch)',
318 'target_subarch%': '<(target_subarch)', 293 'target_subarch%': '<(target_subarch)',
319 'mips_arch_variant%': '<(mips_arch_variant)', 294 'mips_arch_variant%': '<(mips_arch_variant)',
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 'enable_print_preview%': 1, 926 'enable_print_preview%': 1,
952 }], 927 }],
953 928
954 # Do not enable the Settings App on ChromeOS. 929 # Do not enable the Settings App on ChromeOS.
955 ['enable_app_list==1 and chromeos==0', { 930 ['enable_app_list==1 and chromeos==0', {
956 'enable_settings_app%': 1, 931 'enable_settings_app%': 1,
957 }, { 932 }, {
958 'enable_settings_app%': 0, 933 'enable_settings_app%': 0,
959 }], 934 }],
960 935
936 ['OS=="linux" and target_arch=="arm" and chromeos==0', {
937 # sysroot needs to be an absolute path otherwise it generates
938 # incorrect results when passed to pkg-config
939 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_w heezy_arm-sysroot',
940 }], # OS=="linux" and target_arch=="arm" and chromeos==0
941
942 ['OS=="linux" and ((branding=="Chrome" and buildtype=="Official" and chr omeos==0) or use_sysroot==1)' , {
943 'conditions': [
944 ['target_arch=="x64"', {
945 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi an_wheezy_amd64-sysroot',
946 }],
947 ['target_arch=="ia32"', {
948 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi an_wheezy_i386-sysroot',
949 }],
950 ],
951 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and c hromeos==0
952
953 ['OS=="linux" and target_arch=="mipsel"', {
954 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
955 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu -gcc',
956 }],
957
961 # Whether tests targets should be run, archived or just have the 958 # Whether tests targets should be run, archived or just have the
962 # dependencies verified. All the tests targets have the '_run' suffix, 959 # dependencies verified. All the tests targets have the '_run' suffix,
963 # e.g. base_unittests_run runs the target base_unittests. The test 960 # e.g. base_unittests_run runs the target base_unittests. The test
964 # target always calls tools/swarming_client/isolate.py. See the script's 961 # target always calls tools/swarming_client/isolate.py. See the script's
965 # --help for more information. Meant to be overriden with GYP_DEFINES. 962 # --help for more information. Meant to be overriden with GYP_DEFINES.
966 # TODO(maruel): Remove the conditions as more configurations are 963 # TODO(maruel): Remove the conditions as more configurations are
967 # supported. 964 # supported.
968 ['OS!="ios" and OS!="android" and chromeos==0', { 965 ['OS!="ios" and OS!="android" and chromeos==0', {
969 'test_isolation_mode%': 'check', 966 'test_isolation_mode%': 'check',
970 }, { 967 }, {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 'enable_wifi_bootstrapping%' : 1, 1002 'enable_wifi_bootstrapping%' : 1,
1006 }], 1003 }],
1007 1004
1008 # Path to sas.dll, which provides the SendSAS function. 1005 # Path to sas.dll, which provides the SendSAS function.
1009 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs. 85).aspx 1006 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs. 85).aspx
1010 ['target_arch=="x64"', { 1007 ['target_arch=="x64"', {
1011 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a md64', 1008 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a md64',
1012 }, { 1009 }, {
1013 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x 86', 1010 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x 86',
1014 }], 1011 }],
1015
1016 ['sysroot!=""', {
1017 'pkg-config': '<(DEPTH)/build/linux/pkg-config-wrapper "<(sysroot)" "< (target_arch)" "<(system_libdir)"',
1018 }, {
1019 'pkg-config': 'pkg-config'
1020 }],
1021 ], 1012 ],
1022 1013
1023 # Setting this to '0' will cause V8's startup snapshot to be 1014 # Setting this to '0' will cause V8's startup snapshot to be
1024 # embedded in the binary instead of being a external files. 1015 # embedded in the binary instead of being a external files.
1025 'v8_use_external_startup_data%': 1, 1016 'v8_use_external_startup_data%': 1,
1026 1017
1027 # Set this to 1 to enable use of concatenated impulse responses 1018 # Set this to 1 to enable use of concatenated impulse responses
1028 # for the HRTF panner in WebAudio. 1019 # for the HRTF panner in WebAudio.
1029 'use_concatenated_impulse_responses': 1, 1020 'use_concatenated_impulse_responses': 1,
1030 1021
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 'use_xkbcommon%': '<(use_xkbcommon)', 1102 'use_xkbcommon%': '<(use_xkbcommon)',
1112 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 1103 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
1113 'desktop_linux%': '<(desktop_linux)', 1104 'desktop_linux%': '<(desktop_linux)',
1114 'use_x11%': '<(use_x11)', 1105 'use_x11%': '<(use_x11)',
1115 'use_gnome_keyring%': '<(use_gnome_keyring)', 1106 'use_gnome_keyring%': '<(use_gnome_keyring)',
1116 'linux_fpic%': '<(linux_fpic)', 1107 'linux_fpic%': '<(linux_fpic)',
1117 'chromeos%': '<(chromeos)', 1108 'chromeos%': '<(chromeos)',
1118 'chromecast%': '<(chromecast)', 1109 'chromecast%': '<(chromecast)',
1119 'enable_viewport%': '<(enable_viewport)', 1110 'enable_viewport%': '<(enable_viewport)',
1120 'enable_hidpi%': '<(enable_hidpi)', 1111 'enable_hidpi%': '<(enable_hidpi)',
1121 'enable_topchrome_md%': '<(enable_topchrome_md)', 1112 » 'enable_topchrome_md%': '<(enable_topchrome_md)',
1122 'image_loader_extension%': '<(image_loader_extension)', 1113 'image_loader_extension%': '<(image_loader_extension)',
1123 'fastbuild%': '<(fastbuild)', 1114 'fastbuild%': '<(fastbuild)',
1124 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', 1115 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
1125 'win_z7%': '<(win_z7)', 1116 'win_z7%': '<(win_z7)',
1126 'dcheck_always_on%': '<(dcheck_always_on)', 1117 'dcheck_always_on%': '<(dcheck_always_on)',
1127 'tracing_like_official_build%': '<(tracing_like_official_build)', 1118 'tracing_like_official_build%': '<(tracing_like_official_build)',
1128 'arm_version%': '<(arm_version)', 1119 'arm_version%': '<(arm_version)',
1129 'arm_neon%': '<(arm_neon)', 1120 'arm_neon%': '<(arm_neon)',
1130 'arm_neon_optional%': '<(arm_neon_optional)', 1121 'arm_neon_optional%': '<(arm_neon_optional)',
1131 'sysroot%': '<(sysroot)', 1122 'sysroot%': '<(sysroot)',
1132 'pkg-config%': '<(pkg-config)',
1133 'chroot_cmd%': '<(chroot_cmd)', 1123 'chroot_cmd%': '<(chroot_cmd)',
1134 'system_libdir%': '<(system_libdir)', 1124 'system_libdir%': '<(system_libdir)',
1135 'component%': '<(component)', 1125 'component%': '<(component)',
1136 'win_analyze%': '<(win_analyze)', 1126 'win_analyze%': '<(win_analyze)',
1137 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera tion)', 1127 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera tion)',
1138 'use_titlecase_in_grd%': '<(use_titlecase_in_grd)', 1128 'use_titlecase_in_grd%': '<(use_titlecase_in_grd)',
1139 'use_third_party_translations%': '<(use_third_party_translations)', 1129 'use_third_party_translations%': '<(use_third_party_translations)',
1140 'remoting%': '<(remoting)', 1130 'remoting%': '<(remoting)',
1141 'enable_one_click_signin%': '<(enable_one_click_signin)', 1131 'enable_one_click_signin%': '<(enable_one_click_signin)',
1142 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)', 1132 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)',
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1601 'windows_driver_kit_path%': '$(WDK_DIR)', 1591 'windows_driver_kit_path%': '$(WDK_DIR)',
1602 }], 1592 }],
1603 ['os_posix==1 and OS!="mac" and OS!="ios"', { 1593 ['os_posix==1 and OS!="mac" and OS!="ios"', {
1604 'conditions': [ 1594 'conditions': [
1605 ['target_arch=="mipsel" or target_arch=="mips64el"', { 1595 ['target_arch=="mipsel" or target_arch=="mips64el"', {
1606 'werror%': '', 1596 'werror%': '',
1607 'disable_nacl%': 1, 1597 'disable_nacl%': 1,
1608 'nacl_untrusted_build%': 0, 1598 'nacl_untrusted_build%': 0,
1609 'use_allocator%': 'none', 1599 'use_allocator%': 'none',
1610 }], 1600 }],
1601 ['OS=="linux" and target_arch=="mipsel"', {
1602 'sysroot%': '<(sysroot)',
1603 'CXX%': '<(CXX)',
1604 }],
1611 # Use a 64-bit linker to avoid running out of address space. The 1605 # Use a 64-bit linker to avoid running out of address space. The
1612 # buildbots should have a 64-bit kernel and a 64-bit libc installed. 1606 # buildbots should have a 64-bit kernel and a 64-bit libc installed.
1613 ['host_arch=="ia32" and target_arch=="ia32"', { 1607 ['host_arch=="ia32" and target_arch=="ia32"', {
1614 # TODO(thestig) This is a horrible way to force the desired 1608 # TODO(thestig) This is a horrible way to force the desired
1615 # configuration. Our gyp variable scoping is likely wrong and 1609 # configuration. Our gyp variable scoping is likely wrong and
1616 # needs to be cleaned up. The GN configuration should be changed 1610 # needs to be cleaned up. The GN configuration should be changed
1617 # to match. 1611 # to match.
1618 'binutils_version%': 224, 1612 'binutils_version%': 224,
1619 'linux_use_bundled_binutils%': '1', 1613 'linux_use_bundled_binutils%': '1',
1620 'linux_use_bundled_gold%': '1', 1614 'linux_use_bundled_gold%': '1',
(...skipping 4569 matching lines...) Expand 10 before | Expand all | Expand 10 after
6190 # settings in target dicts. SYMROOT is a special case, because many other 6184 # settings in target dicts. SYMROOT is a special case, because many other
6191 # Xcode variables depend on it, including variables such as 6185 # Xcode variables depend on it, including variables such as
6192 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6186 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6193 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6187 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6194 # files to appear (when present) in the UI as actual files and not red 6188 # files to appear (when present) in the UI as actual files and not red
6195 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6189 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6196 # and therefore SYMROOT, needs to be set at the project level. 6190 # and therefore SYMROOT, needs to be set at the project level.
6197 'SYMROOT': '<(DEPTH)/xcodebuild', 6191 'SYMROOT': '<(DEPTH)/xcodebuild',
6198 }, 6192 },
6199 } 6193 }
OLDNEW
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698