| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 # Enable Wayland display server support. | 88 # Enable Wayland display server support. |
| 89 'enable_wayland_server%' : 0, | 89 'enable_wayland_server%' : 0, |
| 90 | 90 |
| 91 # Enable Wi-Fi Display support. |
| 92 'enable_wifi_display%' : 0, |
| 93 |
| 91 # By default we build against a stable sysroot image to avoid | 94 # By default we build against a stable sysroot image to avoid |
| 92 # depending on the packages installed on the local machine. Set this | 95 # depending on the packages installed on the local machine. Set this |
| 93 # to 0 to build against locally installed headers and libraries (e.g. | 96 # to 0 to build against locally installed headers and libraries (e.g. |
| 94 # if packaging for a linux distro) | 97 # if packaging for a linux distro) |
| 95 'use_sysroot%': 1, | 98 'use_sysroot%': 1, |
| 96 | 99 |
| 97 # Override buildtype to select the desired build flavor. | 100 # Override buildtype to select the desired build flavor. |
| 98 # Dev - everyday build for development/testing | 101 # Dev - everyday build for development/testing |
| 99 # Official - release build (generally implies additional processing) | 102 # Official - release build (generally implies additional processing) |
| 100 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 103 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 'use_cras%': '<(use_cras)', | 162 'use_cras%': '<(use_cras)', |
| 160 'use_ozone%': '<(use_ozone)', | 163 'use_ozone%': '<(use_ozone)', |
| 161 'embedded%': '<(embedded)', | 164 'embedded%': '<(embedded)', |
| 162 'use_libpci%': '<(use_libpci)', | 165 'use_libpci%': '<(use_libpci)', |
| 163 'use_openssl%': '<(use_openssl)', | 166 'use_openssl%': '<(use_openssl)', |
| 164 'use_openssl_certs%': '<(use_openssl_certs)', | 167 'use_openssl_certs%': '<(use_openssl_certs)', |
| 165 'enable_viewport%': '<(enable_viewport)', | 168 'enable_viewport%': '<(enable_viewport)', |
| 166 'enable_hidpi%': '<(enable_hidpi)', | 169 'enable_hidpi%': '<(enable_hidpi)', |
| 167 'enable_topchrome_md%': '<(enable_topchrome_md)', | 170 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 168 'enable_wayland_server%': '<(enable_wayland_server)', | 171 'enable_wayland_server%': '<(enable_wayland_server)', |
| 172 'enable_wifi_display%': '<(enable_wifi_display)', |
| 169 'buildtype%': '<(buildtype)', | 173 'buildtype%': '<(buildtype)', |
| 170 'branding%': '<(branding)', | 174 'branding%': '<(branding)', |
| 171 'branding_path_component%': '<(branding)', | 175 'branding_path_component%': '<(branding)', |
| 172 'host_arch%': '<(host_arch)', | 176 'host_arch%': '<(host_arch)', |
| 173 'target_arch%': '<(target_arch)', | 177 'target_arch%': '<(target_arch)', |
| 174 | 178 |
| 175 'target_subarch%': '', | 179 'target_subarch%': '', |
| 176 | 180 |
| 177 # The channel to build on Android: stable, beta, dev, canary, or | 181 # The channel to build on Android: stable, beta, dev, canary, or |
| 178 # default. "default" should be used on non-official builds. | 182 # default. "default" should be used on non-official builds. |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 'use_ozone%': '<(use_ozone)', | 348 'use_ozone%': '<(use_ozone)', |
| 345 'use_ozone_evdev%': '<(use_ozone_evdev)', | 349 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 346 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 350 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 347 'embedded%': '<(embedded)', | 351 'embedded%': '<(embedded)', |
| 348 'use_openssl%': '<(use_openssl)', | 352 'use_openssl%': '<(use_openssl)', |
| 349 'use_openssl_certs%': '<(use_openssl_certs)', | 353 'use_openssl_certs%': '<(use_openssl_certs)', |
| 350 'enable_viewport%': '<(enable_viewport)', | 354 'enable_viewport%': '<(enable_viewport)', |
| 351 'enable_hidpi%': '<(enable_hidpi)', | 355 'enable_hidpi%': '<(enable_hidpi)', |
| 352 'enable_topchrome_md%': '<(enable_topchrome_md)', | 356 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 353 'enable_wayland_server%': '<(enable_wayland_server)', | 357 'enable_wayland_server%': '<(enable_wayland_server)', |
| 358 'enable_wifi_display%': '<(enable_wifi_display)', |
| 354 'android_channel%': '<(android_channel)', | 359 'android_channel%': '<(android_channel)', |
| 355 'use_goma%': '<(use_goma)', | 360 'use_goma%': '<(use_goma)', |
| 356 'gomadir%': '<(gomadir)', | 361 'gomadir%': '<(gomadir)', |
| 357 'enable_app_list%': '<(enable_app_list)', | 362 'enable_app_list%': '<(enable_app_list)', |
| 358 'use_default_render_theme%': '<(use_default_render_theme)', | 363 'use_default_render_theme%': '<(use_default_render_theme)', |
| 359 'buildtype%': '<(buildtype)', | 364 'buildtype%': '<(buildtype)', |
| 360 'branding%': '<(branding)', | 365 'branding%': '<(branding)', |
| 361 'branding_path_component%': '<(branding_path_component)', | 366 'branding_path_component%': '<(branding_path_component)', |
| 362 'arm_version%': '<(arm_version)', | 367 'arm_version%': '<(arm_version)', |
| 363 'sysroot%': '<(sysroot)', | 368 'sysroot%': '<(sysroot)', |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1149 'use_x11%': '<(use_x11)', | 1154 'use_x11%': '<(use_x11)', |
| 1150 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1155 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 1151 'linux_fpic%': '<(linux_fpic)', | 1156 'linux_fpic%': '<(linux_fpic)', |
| 1152 'chromeos%': '<(chromeos)', | 1157 'chromeos%': '<(chromeos)', |
| 1153 'chromecast%': '<(chromecast)', | 1158 'chromecast%': '<(chromecast)', |
| 1154 'is_cast_desktop_build%': '<(is_cast_desktop_build)', | 1159 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
| 1155 'enable_viewport%': '<(enable_viewport)', | 1160 'enable_viewport%': '<(enable_viewport)', |
| 1156 'enable_hidpi%': '<(enable_hidpi)', | 1161 'enable_hidpi%': '<(enable_hidpi)', |
| 1157 'enable_topchrome_md%': '<(enable_topchrome_md)', | 1162 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 1158 'enable_wayland_server%': '<(enable_wayland_server)', | 1163 'enable_wayland_server%': '<(enable_wayland_server)', |
| 1164 'enable_wifi_display%': '<(enable_wifi_display)', |
| 1159 'image_loader_extension%': '<(image_loader_extension)', | 1165 'image_loader_extension%': '<(image_loader_extension)', |
| 1160 'fastbuild%': '<(fastbuild)', | 1166 'fastbuild%': '<(fastbuild)', |
| 1161 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | 1167 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
| 1162 'win_z7%': '<(win_z7)', | 1168 'win_z7%': '<(win_z7)', |
| 1163 'dcheck_always_on%': '<(dcheck_always_on)', | 1169 'dcheck_always_on%': '<(dcheck_always_on)', |
| 1164 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1170 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| 1165 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', | 1171 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', |
| 1166 'arm_version%': '<(arm_version)', | 1172 'arm_version%': '<(arm_version)', |
| 1167 'arm_neon%': '<(arm_neon)', | 1173 'arm_neon%': '<(arm_neon)', |
| 1168 'arm_neon_optional%': '<(arm_neon_optional)', | 1174 'arm_neon_optional%': '<(arm_neon_optional)', |
| (...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2793 }], | 2799 }], |
| 2794 ['enable_hidpi==1', { | 2800 ['enable_hidpi==1', { |
| 2795 'defines': ['ENABLE_HIDPI=1'], | 2801 'defines': ['ENABLE_HIDPI=1'], |
| 2796 }], | 2802 }], |
| 2797 ['enable_topchrome_md==1', { | 2803 ['enable_topchrome_md==1', { |
| 2798 'defines': ['ENABLE_TOPCHROME_MD=1'], | 2804 'defines': ['ENABLE_TOPCHROME_MD=1'], |
| 2799 }], | 2805 }], |
| 2800 ['enable_wayland_server==1', { | 2806 ['enable_wayland_server==1', { |
| 2801 'defines': ['ENABLE_WAYLAND_SERVER=1'], | 2807 'defines': ['ENABLE_WAYLAND_SERVER=1'], |
| 2802 }], | 2808 }], |
| 2809 ['enable_wifi_display==1', { |
| 2810 'defines': ['ENABLE_WIFI_DISPLAY=1'], |
| 2811 }], |
| 2803 ['use_udev==1', { | 2812 ['use_udev==1', { |
| 2804 'defines': ['USE_UDEV'], | 2813 'defines': ['USE_UDEV'], |
| 2805 }], | 2814 }], |
| 2806 ['fastbuild!=0', { | 2815 ['fastbuild!=0', { |
| 2807 'xcode_settings': { | 2816 'xcode_settings': { |
| 2808 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2817 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2809 }, | 2818 }, |
| 2810 'conditions': [ | 2819 'conditions': [ |
| 2811 ['OS=="win" and fastbuild==2', { | 2820 ['OS=="win" and fastbuild==2', { |
| 2812 # Completely disable debug information. | 2821 # Completely disable debug information. |
| (...skipping 3589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6402 # settings in target dicts. SYMROOT is a special case, because many other | 6411 # settings in target dicts. SYMROOT is a special case, because many other |
| 6403 # Xcode variables depend on it, including variables such as | 6412 # Xcode variables depend on it, including variables such as |
| 6404 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6413 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6405 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6414 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6406 # files to appear (when present) in the UI as actual files and not red | 6415 # files to appear (when present) in the UI as actual files and not red |
| 6407 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6416 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6408 # and therefore SYMROOT, needs to be set at the project level. | 6417 # and therefore SYMROOT, needs to be set at the project level. |
| 6409 'SYMROOT': '<(DEPTH)/xcodebuild', | 6418 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6410 }, | 6419 }, |
| 6411 } | 6420 } |
| OLD | NEW |