| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 # Use the PCI lib to collect GPU information. | 64 # Use the PCI lib to collect GPU information. |
| 65 'use_libpci%': 1, | 65 'use_libpci%': 1, |
| 66 | 66 |
| 67 # Use OpenSSL for representing certificates. When targeting Android, | 67 # Use OpenSSL for representing certificates. When targeting Android, |
| 68 # the platform certificate library is used for certificate | 68 # the platform certificate library is used for certificate |
| 69 # verification. On other targets, this flag also enables OpenSSL for | 69 # verification. On other targets, this flag also enables OpenSSL for |
| 70 # certificate verification, but this configuration is unsupported. | 70 # certificate verification, but this configuration is unsupported. |
| 71 'use_openssl_certs%': 0, | 71 'use_openssl_certs%': 0, |
| 72 | 72 |
| 73 # Whether or not we use external popup menu. |
| 74 'use_external_popup_menu%': 0, |
| 75 |
| 73 # Disable viewport meta tag by default. | 76 # Disable viewport meta tag by default. |
| 74 'enable_viewport%': 0, | 77 'enable_viewport%': 0, |
| 75 | 78 |
| 76 # Enable HiDPI support. | 79 # Enable HiDPI support. |
| 77 'enable_hidpi%': 0, | 80 'enable_hidpi%': 0, |
| 78 | 81 |
| 79 # Enable Wayland display server support. | 82 # Enable Wayland display server support. |
| 80 'enable_wayland_server%' : 0, | 83 'enable_wayland_server%' : 0, |
| 81 | 84 |
| 82 # Enable Wi-Fi Display support. | 85 # Enable Wi-Fi Display support. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 'desktop_linux%': 1, | 136 'desktop_linux%': 1, |
| 134 }, { | 137 }, { |
| 135 'desktop_linux%': 0, | 138 'desktop_linux%': 0, |
| 136 }], | 139 }], |
| 137 | 140 |
| 138 # Embedded implies ozone. | 141 # Embedded implies ozone. |
| 139 ['embedded==1', { | 142 ['embedded==1', { |
| 140 'use_ozone%': 1, | 143 'use_ozone%': 1, |
| 141 }], | 144 }], |
| 142 | 145 |
| 146 # Mac and Android use external popup menu. |
| 147 ['OS=="mac" or OS=="android"', { |
| 148 'use_external_popup_menu%': 1, |
| 149 }], |
| 150 |
| 143 ['OS=="android"', { | 151 ['OS=="android"', { |
| 144 'target_arch%': 'arm', | 152 'target_arch%': 'arm', |
| 145 }, { | 153 }, { |
| 146 # Default architecture we're building for is the architecture we'r
e | 154 # Default architecture we're building for is the architecture we'r
e |
| 147 # building on, and possibly sub-architecture (for iOS builds). | 155 # building on, and possibly sub-architecture (for iOS builds). |
| 148 'target_arch%': '<(host_arch)', | 156 'target_arch%': '<(host_arch)', |
| 149 }], | 157 }], |
| 150 ], | 158 ], |
| 151 }, | 159 }, |
| 152 # Copy conditionally-set variables out one scope. | 160 # Copy conditionally-set variables out one scope. |
| 153 'chromeos%': '<(chromeos)', | 161 'chromeos%': '<(chromeos)', |
| 154 'chromecast%': '<(chromecast)', | 162 'chromecast%': '<(chromecast)', |
| 155 'desktop_linux%': '<(desktop_linux)', | 163 'desktop_linux%': '<(desktop_linux)', |
| 156 'use_aura%': '<(use_aura)', | 164 'use_aura%': '<(use_aura)', |
| 157 'use_ash%': '<(use_ash)', | 165 'use_ash%': '<(use_ash)', |
| 158 'use_cras%': '<(use_cras)', | 166 'use_cras%': '<(use_cras)', |
| 159 'use_ozone%': '<(use_ozone)', | 167 'use_ozone%': '<(use_ozone)', |
| 160 'embedded%': '<(embedded)', | 168 'embedded%': '<(embedded)', |
| 161 'use_libpci%': '<(use_libpci)', | 169 'use_libpci%': '<(use_libpci)', |
| 162 'use_openssl_certs%': '<(use_openssl_certs)', | 170 'use_openssl_certs%': '<(use_openssl_certs)', |
| 171 'use_external_popup_menu%': '<(use_external_popup_menu)', |
| 163 'enable_viewport%': '<(enable_viewport)', | 172 'enable_viewport%': '<(enable_viewport)', |
| 164 'enable_hidpi%': '<(enable_hidpi)', | 173 'enable_hidpi%': '<(enable_hidpi)', |
| 165 'enable_wayland_server%': '<(enable_wayland_server)', | 174 'enable_wayland_server%': '<(enable_wayland_server)', |
| 166 'enable_wifi_display%': '<(enable_wifi_display)', | 175 'enable_wifi_display%': '<(enable_wifi_display)', |
| 167 'buildtype%': '<(buildtype)', | 176 'buildtype%': '<(buildtype)', |
| 168 'branding%': '<(branding)', | 177 'branding%': '<(branding)', |
| 169 'branding_path_component%': '<(branding)', | 178 'branding_path_component%': '<(branding)', |
| 170 'host_arch%': '<(host_arch)', | 179 'host_arch%': '<(host_arch)', |
| 171 'target_arch%': '<(target_arch)', | 180 'target_arch%': '<(target_arch)', |
| 172 'use_sysroot%': '<(use_sysroot)', | 181 'use_sysroot%': '<(use_sysroot)', |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 'desktop_linux%': '<(desktop_linux)', | 341 'desktop_linux%': '<(desktop_linux)', |
| 333 'use_aura%': '<(use_aura)', | 342 'use_aura%': '<(use_aura)', |
| 334 'use_ash%': '<(use_ash)', | 343 'use_ash%': '<(use_ash)', |
| 335 'use_cras%': '<(use_cras)', | 344 'use_cras%': '<(use_cras)', |
| 336 'use_libpci%': '<(use_libpci)', | 345 'use_libpci%': '<(use_libpci)', |
| 337 'use_ozone%': '<(use_ozone)', | 346 'use_ozone%': '<(use_ozone)', |
| 338 'use_ozone_evdev%': '<(use_ozone_evdev)', | 347 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 339 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 348 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 340 'embedded%': '<(embedded)', | 349 'embedded%': '<(embedded)', |
| 341 'use_openssl_certs%': '<(use_openssl_certs)', | 350 'use_openssl_certs%': '<(use_openssl_certs)', |
| 351 'use_external_popup_menu%': '<(use_external_popup_menu)', |
| 342 'enable_viewport%': '<(enable_viewport)', | 352 'enable_viewport%': '<(enable_viewport)', |
| 343 'enable_hidpi%': '<(enable_hidpi)', | 353 'enable_hidpi%': '<(enable_hidpi)', |
| 344 'enable_wayland_server%': '<(enable_wayland_server)', | 354 'enable_wayland_server%': '<(enable_wayland_server)', |
| 345 'enable_wifi_display%': '<(enable_wifi_display)', | 355 'enable_wifi_display%': '<(enable_wifi_display)', |
| 346 'android_channel%': '<(android_channel)', | 356 'android_channel%': '<(android_channel)', |
| 347 'use_goma%': '<(use_goma)', | 357 'use_goma%': '<(use_goma)', |
| 348 'gomadir%': '<(gomadir)', | 358 'gomadir%': '<(gomadir)', |
| 349 'enable_app_list%': '<(enable_app_list)', | 359 'enable_app_list%': '<(enable_app_list)', |
| 350 'use_default_render_theme%': '<(use_default_render_theme)', | 360 'use_default_render_theme%': '<(use_default_render_theme)', |
| 351 'buildtype%': '<(buildtype)', | 361 'buildtype%': '<(buildtype)', |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 'mips_arch_variant%': '<(mips_arch_variant)', | 1137 'mips_arch_variant%': '<(mips_arch_variant)', |
| 1128 'mips_dsp_rev%': '<(mips_dsp_rev)', | 1138 'mips_dsp_rev%': '<(mips_dsp_rev)', |
| 1129 'host_arch%': '<(host_arch)', | 1139 'host_arch%': '<(host_arch)', |
| 1130 'toolkit_views%': '<(toolkit_views)', | 1140 'toolkit_views%': '<(toolkit_views)', |
| 1131 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1141 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
| 1132 'use_aura%': '<(use_aura)', | 1142 'use_aura%': '<(use_aura)', |
| 1133 'use_ash%': '<(use_ash)', | 1143 'use_ash%': '<(use_ash)', |
| 1134 'use_cras%': '<(use_cras)', | 1144 'use_cras%': '<(use_cras)', |
| 1135 'use_libpci%': '<(use_libpci)', | 1145 'use_libpci%': '<(use_libpci)', |
| 1136 'use_openssl_certs%': '<(use_openssl_certs)', | 1146 'use_openssl_certs%': '<(use_openssl_certs)', |
| 1147 'use_external_popup_menu%': '<(use_external_popup_menu)', |
| 1137 'use_nss_certs%': '<(use_nss_certs)', | 1148 'use_nss_certs%': '<(use_nss_certs)', |
| 1138 'use_udev%': '<(use_udev)', | 1149 'use_udev%': '<(use_udev)', |
| 1139 'os_bsd%': '<(os_bsd)', | 1150 'os_bsd%': '<(os_bsd)', |
| 1140 'os_posix%': '<(os_posix)', | 1151 'os_posix%': '<(os_posix)', |
| 1141 'use_dbus%': '<(use_dbus)', | 1152 'use_dbus%': '<(use_dbus)', |
| 1142 'use_glib%': '<(use_glib)', | 1153 'use_glib%': '<(use_glib)', |
| 1143 'use_pango%': '<(use_pango)', | 1154 'use_pango%': '<(use_pango)', |
| 1144 'use_cairo%': '<(use_cairo)', | 1155 'use_cairo%': '<(use_cairo)', |
| 1145 'use_ozone%': '<(use_ozone)', | 1156 'use_ozone%': '<(use_ozone)', |
| 1146 'use_ozone_evdev%': '<(use_ozone_evdev)', | 1157 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| (...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2756 }], | 2767 }], |
| 2757 ['enable_wayland_server==1', { | 2768 ['enable_wayland_server==1', { |
| 2758 'defines': ['ENABLE_WAYLAND_SERVER=1'], | 2769 'defines': ['ENABLE_WAYLAND_SERVER=1'], |
| 2759 }], | 2770 }], |
| 2760 ['enable_wifi_display==1', { | 2771 ['enable_wifi_display==1', { |
| 2761 'defines': ['ENABLE_WIFI_DISPLAY=1'], | 2772 'defines': ['ENABLE_WIFI_DISPLAY=1'], |
| 2762 }], | 2773 }], |
| 2763 ['use_udev==1', { | 2774 ['use_udev==1', { |
| 2764 'defines': ['USE_UDEV'], | 2775 'defines': ['USE_UDEV'], |
| 2765 }], | 2776 }], |
| 2777 ['use_external_popup_menu==1', { |
| 2778 'defines': ['USE_EXTERNAL_POPUP_MENU'], |
| 2779 }], |
| 2766 ['fastbuild!=0', { | 2780 ['fastbuild!=0', { |
| 2767 'xcode_settings': { | 2781 'xcode_settings': { |
| 2768 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2782 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2769 }, | 2783 }, |
| 2770 'conditions': [ | 2784 'conditions': [ |
| 2771 ['OS=="win" and fastbuild==2', { | 2785 ['OS=="win" and fastbuild==2', { |
| 2772 # Completely disable debug information. | 2786 # Completely disable debug information. |
| 2773 'msvs_settings': { | 2787 'msvs_settings': { |
| 2774 'VCLinkerTool': { | 2788 'VCLinkerTool': { |
| 2775 'GenerateDebugInformation': 'false', | 2789 'GenerateDebugInformation': 'false', |
| (...skipping 3550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6326 # settings in target dicts. SYMROOT is a special case, because many other | 6340 # settings in target dicts. SYMROOT is a special case, because many other |
| 6327 # Xcode variables depend on it, including variables such as | 6341 # Xcode variables depend on it, including variables such as |
| 6328 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6342 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6329 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6343 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6330 # files to appear (when present) in the UI as actual files and not red | 6344 # files to appear (when present) in the UI as actual files and not red |
| 6331 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6345 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6332 # and therefore SYMROOT, needs to be set at the project level. | 6346 # and therefore SYMROOT, needs to be set at the project level. |
| 6333 'SYMROOT': '<(DEPTH)/xcodebuild', | 6347 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6334 }, | 6348 }, |
| 6335 } | 6349 } |
| OLD | NEW |