| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 # Default MIPS arch variant. This is set in the conditions block | 210 # Default MIPS arch variant. This is set in the conditions block |
| 211 # below for MIPS targets. | 211 # below for MIPS targets. |
| 212 'mips_arch_variant%': '', | 212 'mips_arch_variant%': '', |
| 213 | 213 |
| 214 # MIPS DSP ASE revision. Possible values are: | 214 # MIPS DSP ASE revision. Possible values are: |
| 215 # 0: unavailable | 215 # 0: unavailable |
| 216 # 1: revision 1 | 216 # 1: revision 1 |
| 217 # 2: revision 2 | 217 # 2: revision 2 |
| 218 'mips_dsp_rev%': 0, | 218 'mips_dsp_rev%': 0, |
| 219 | 219 |
| 220 # MIPS SIMD Arch compilation flag. |
| 221 'mips_msa%': 1, |
| 222 |
| 220 'conditions': [ | 223 'conditions': [ |
| 221 ['branding == "Chrome"', { | 224 ['branding == "Chrome"', { |
| 222 'branding_path_component%': 'google_chrome', | 225 'branding_path_component%': 'google_chrome', |
| 223 }], | 226 }], |
| 224 | 227 |
| 225 ['branding == "Chromium"', { | 228 ['branding == "Chromium"', { |
| 226 'branding_path_component%': 'chromium', | 229 'branding_path_component%': 'chromium', |
| 227 }], | 230 }], |
| 228 | 231 |
| 229 # Ash needs Aura. | 232 # Ash needs Aura. |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 336 |
| 334 # Copy conditionally-set variables out one scope. | 337 # Copy conditionally-set variables out one scope. |
| 335 'chromeos%': '<(chromeos)', | 338 'chromeos%': '<(chromeos)', |
| 336 'chromecast%': '<(chromecast)', | 339 'chromecast%': '<(chromecast)', |
| 337 'is_cast_desktop_build%': '<(is_cast_desktop_build)', | 340 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
| 338 'host_arch%': '<(host_arch)', | 341 'host_arch%': '<(host_arch)', |
| 339 'target_arch%': '<(target_arch)', | 342 'target_arch%': '<(target_arch)', |
| 340 'target_subarch%': '<(target_subarch)', | 343 'target_subarch%': '<(target_subarch)', |
| 341 'mips_arch_variant%': '<(mips_arch_variant)', | 344 'mips_arch_variant%': '<(mips_arch_variant)', |
| 342 'mips_dsp_rev%': '<(mips_dsp_rev)', | 345 'mips_dsp_rev%': '<(mips_dsp_rev)', |
| 346 'mips_msa%': '<(mips_msa)', |
| 343 'toolkit_views%': '<(toolkit_views)', | 347 'toolkit_views%': '<(toolkit_views)', |
| 344 'desktop_linux%': '<(desktop_linux)', | 348 'desktop_linux%': '<(desktop_linux)', |
| 345 'use_aura%': '<(use_aura)', | 349 'use_aura%': '<(use_aura)', |
| 346 'use_ash%': '<(use_ash)', | 350 'use_ash%': '<(use_ash)', |
| 347 'use_cras%': '<(use_cras)', | 351 'use_cras%': '<(use_cras)', |
| 348 'use_libpci%': '<(use_libpci)', | 352 'use_libpci%': '<(use_libpci)', |
| 349 'use_ozone%': '<(use_ozone)', | 353 'use_ozone%': '<(use_ozone)', |
| 350 'use_ozone_evdev%': '<(use_ozone_evdev)', | 354 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 351 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 355 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 352 'embedded%': '<(embedded)', | 356 'embedded%': '<(embedded)', |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 }, | 1117 }, |
| 1114 | 1118 |
| 1115 # Copy conditionally-set variables out one scope. | 1119 # Copy conditionally-set variables out one scope. |
| 1116 'branding%': '<(branding)', | 1120 'branding%': '<(branding)', |
| 1117 'branding_path_component%': '<(branding_path_component)', | 1121 'branding_path_component%': '<(branding_path_component)', |
| 1118 'buildtype%': '<(buildtype)', | 1122 'buildtype%': '<(buildtype)', |
| 1119 'target_arch%': '<(target_arch)', | 1123 'target_arch%': '<(target_arch)', |
| 1120 'target_subarch%': '<(target_subarch)', | 1124 'target_subarch%': '<(target_subarch)', |
| 1121 'mips_arch_variant%': '<(mips_arch_variant)', | 1125 'mips_arch_variant%': '<(mips_arch_variant)', |
| 1122 'mips_dsp_rev%': '<(mips_dsp_rev)', | 1126 'mips_dsp_rev%': '<(mips_dsp_rev)', |
| 1127 'mips_msa%': '<(mips_msa)', |
| 1123 'host_arch%': '<(host_arch)', | 1128 'host_arch%': '<(host_arch)', |
| 1124 'toolkit_views%': '<(toolkit_views)', | 1129 'toolkit_views%': '<(toolkit_views)', |
| 1125 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1130 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
| 1126 'use_aura%': '<(use_aura)', | 1131 'use_aura%': '<(use_aura)', |
| 1127 'use_ash%': '<(use_ash)', | 1132 'use_ash%': '<(use_ash)', |
| 1128 'use_cras%': '<(use_cras)', | 1133 'use_cras%': '<(use_cras)', |
| 1129 'use_libpci%': '<(use_libpci)', | 1134 'use_libpci%': '<(use_libpci)', |
| 1130 'use_openssl_certs%': '<(use_openssl_certs)', | 1135 'use_openssl_certs%': '<(use_openssl_certs)', |
| 1131 'use_external_popup_menu%': '<(use_external_popup_menu)', | 1136 'use_external_popup_menu%': '<(use_external_popup_menu)', |
| 1132 'use_nss_certs%': '<(use_nss_certs)', | 1137 'use_nss_certs%': '<(use_nss_certs)', |
| (...skipping 2991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4124 'cflags': [ '-target mipsel-linux-android', '-march=
mipsel', '-mcpu=mips32r6', ], | 4129 'cflags': [ '-target mipsel-linux-android', '-march=
mipsel', '-mcpu=mips32r6', ], |
| 4125 'ldflags': [ '-target mipsel-linux-android', ], | 4130 'ldflags': [ '-target mipsel-linux-android', ], |
| 4126 }], | 4131 }], |
| 4127 ], | 4132 ], |
| 4128 }, { # clang==0 | 4133 }, { # clang==0 |
| 4129 'cflags': ['-mips32r6', '-Wa,-mips32r6', ], | 4134 'cflags': ['-mips32r6', '-Wa,-mips32r6', ], |
| 4130 }], | 4135 }], |
| 4131 ['clang==0 and OS=="android"', { | 4136 ['clang==0 and OS=="android"', { |
| 4132 'ldflags': ['-mips32r6', '-Wl,-melf32ltsmip',], | 4137 'ldflags': ['-mips32r6', '-Wl,-melf32ltsmip',], |
| 4133 }], | 4138 }], |
| 4139 ['mips_msa==1', { |
| 4140 'cflags': ['-mmsa', '-mfp64', '-msched-weight', '-mload-
store-pairs'], |
| 4141 }], |
| 4134 ], | 4142 ], |
| 4135 'cflags': [ '-mfp64', '-mno-odd-spreg' ], | 4143 'cflags': [ '-mfp64', '-mno-odd-spreg' ], |
| 4136 'ldflags': [ '-mfp64', '-mno-odd-spreg' ], | 4144 'ldflags': [ '-mfp64', '-mno-odd-spreg' ], |
| 4137 }], | 4145 }], |
| 4138 ['mips_arch_variant=="r2"', { | 4146 ['mips_arch_variant=="r2"', { |
| 4139 'conditions': [ | 4147 'conditions': [ |
| 4140 ['mips_float_abi=="hard" and mips_fpu_mode!=""', { | 4148 ['mips_float_abi=="hard" and mips_fpu_mode!=""', { |
| 4141 'cflags': ['-m<(mips_fpu_mode)'], | 4149 'cflags': ['-m<(mips_fpu_mode)'], |
| 4142 }], | 4150 }], |
| 4143 ['clang==1', { | 4151 ['clang==1', { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4230 'conditions': [ | 4238 'conditions': [ |
| 4231 ['OS=="android"', { | 4239 ['OS=="android"', { |
| 4232 'cflags': [ '-target mips64el-linux-android', '-marc
h=mips64el', '-mcpu=mips64r6', ], | 4240 'cflags': [ '-target mips64el-linux-android', '-marc
h=mips64el', '-mcpu=mips64r6', ], |
| 4233 'ldflags': [ '-target mips64el-linux-android', ], | 4241 'ldflags': [ '-target mips64el-linux-android', ], |
| 4234 }], | 4242 }], |
| 4235 ], | 4243 ], |
| 4236 }, { # clang==0 | 4244 }, { # clang==0 |
| 4237 'cflags': ['-mips64r6', '-Wa,-mips64r6'], | 4245 'cflags': ['-mips64r6', '-Wa,-mips64r6'], |
| 4238 'ldflags': ['-mips64r6'], | 4246 'ldflags': ['-mips64r6'], |
| 4239 }], | 4247 }], |
| 4248 ['mips_msa==1', { |
| 4249 'cflags': ['-mmsa', '-mfp64', '-msched-weight', '-mload-
store-pairs'], |
| 4250 }], |
| 4240 ], | 4251 ], |
| 4241 }], | 4252 }], |
| 4242 ['mips_arch_variant=="r2"', { | 4253 ['mips_arch_variant=="r2"', { |
| 4243 'cflags': ['-mips64r2', '-Wa,-mips64r2'], | 4254 'cflags': ['-mips64r2', '-Wa,-mips64r2'], |
| 4244 'ldflags': ['-mips64r2'], | 4255 'ldflags': ['-mips64r2'], |
| 4245 }], | 4256 }], |
| 4246 ['clang==1', { | 4257 ['clang==1', { |
| 4247 'cflags!': [ | 4258 'cflags!': [ |
| 4248 # Clang does not support the following options. | 4259 # Clang does not support the following options. |
| 4249 '-finline-limit=64', | 4260 '-finline-limit=64', |
| (...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6341 # settings in target dicts. SYMROOT is a special case, because many other | 6352 # settings in target dicts. SYMROOT is a special case, because many other |
| 6342 # Xcode variables depend on it, including variables such as | 6353 # Xcode variables depend on it, including variables such as |
| 6343 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6354 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6344 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6355 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6345 # files to appear (when present) in the UI as actual files and not red | 6356 # files to appear (when present) in the UI as actual files and not red |
| 6346 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6357 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6347 # and therefore SYMROOT, needs to be set at the project level. | 6358 # and therefore SYMROOT, needs to be set at the project level. |
| 6348 'SYMROOT': '<(DEPTH)/xcodebuild', | 6359 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6349 }, | 6360 }, |
| 6350 } | 6361 } |
| OLD | NEW |