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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1143 'use_x11%': '<(use_x11)', | 1148 'use_x11%': '<(use_x11)', |
1144 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1149 'use_gnome_keyring%': '<(use_gnome_keyring)', |
1145 'linux_fpic%': '<(linux_fpic)', | 1150 'linux_fpic%': '<(linux_fpic)', |
1146 'chromeos%': '<(chromeos)', | 1151 'chromeos%': '<(chromeos)', |
1147 'chromecast%': '<(chromecast)', | 1152 'chromecast%': '<(chromecast)', |
1148 'is_cast_desktop_build%': '<(is_cast_desktop_build)', | 1153 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
1149 'enable_viewport%': '<(enable_viewport)', | 1154 'enable_viewport%': '<(enable_viewport)', |
1150 'enable_hidpi%': '<(enable_hidpi)', | 1155 'enable_hidpi%': '<(enable_hidpi)', |
1151 'enable_topchrome_md%': '<(enable_topchrome_md)', | 1156 'enable_topchrome_md%': '<(enable_topchrome_md)', |
1152 'enable_wayland_server%': '<(enable_wayland_server)', | 1157 'enable_wayland_server%': '<(enable_wayland_server)', |
| 1158 'enable_wifi_display%': '<(enable_wifi_display)', |
1153 'image_loader_extension%': '<(image_loader_extension)', | 1159 'image_loader_extension%': '<(image_loader_extension)', |
1154 'fastbuild%': '<(fastbuild)', | 1160 'fastbuild%': '<(fastbuild)', |
1155 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | 1161 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
1156 'win_z7%': '<(win_z7)', | 1162 'win_z7%': '<(win_z7)', |
1157 'dcheck_always_on%': '<(dcheck_always_on)', | 1163 'dcheck_always_on%': '<(dcheck_always_on)', |
1158 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1164 'tracing_like_official_build%': '<(tracing_like_official_build)', |
1159 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', | 1165 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', |
1160 'arm_version%': '<(arm_version)', | 1166 'arm_version%': '<(arm_version)', |
1161 'arm_neon%': '<(arm_neon)', | 1167 'arm_neon%': '<(arm_neon)', |
1162 'arm_neon_optional%': '<(arm_neon_optional)', | 1168 'arm_neon_optional%': '<(arm_neon_optional)', |
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2789 }], | 2795 }], |
2790 ['enable_hidpi==1', { | 2796 ['enable_hidpi==1', { |
2791 'defines': ['ENABLE_HIDPI=1'], | 2797 'defines': ['ENABLE_HIDPI=1'], |
2792 }], | 2798 }], |
2793 ['enable_topchrome_md==1', { | 2799 ['enable_topchrome_md==1', { |
2794 'defines': ['ENABLE_TOPCHROME_MD=1'], | 2800 'defines': ['ENABLE_TOPCHROME_MD=1'], |
2795 }], | 2801 }], |
2796 ['enable_wayland_server==1', { | 2802 ['enable_wayland_server==1', { |
2797 'defines': ['ENABLE_WAYLAND_SERVER=1'], | 2803 'defines': ['ENABLE_WAYLAND_SERVER=1'], |
2798 }], | 2804 }], |
| 2805 ['enable_wifi_display==1', { |
| 2806 'defines': ['ENABLE_WIFI_DISPLAY=1'], |
| 2807 }], |
2799 ['use_udev==1', { | 2808 ['use_udev==1', { |
2800 'defines': ['USE_UDEV'], | 2809 'defines': ['USE_UDEV'], |
2801 }], | 2810 }], |
2802 ['fastbuild!=0', { | 2811 ['fastbuild!=0', { |
2803 'xcode_settings': { | 2812 'xcode_settings': { |
2804 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2813 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
2805 }, | 2814 }, |
2806 'conditions': [ | 2815 'conditions': [ |
2807 ['OS=="win" and fastbuild==2', { | 2816 ['OS=="win" and fastbuild==2', { |
2808 # Completely disable debug information. | 2817 # Completely disable debug information. |
(...skipping 3608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6417 # settings in target dicts. SYMROOT is a special case, because many other | 6426 # settings in target dicts. SYMROOT is a special case, because many other |
6418 # Xcode variables depend on it, including variables such as | 6427 # Xcode variables depend on it, including variables such as |
6419 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6428 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6420 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6429 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6421 # files to appear (when present) in the UI as actual files and not red | 6430 # files to appear (when present) in the UI as actual files and not red |
6422 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6431 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6423 # and therefore SYMROOT, needs to be set at the project level. | 6432 # and therefore SYMROOT, needs to be set at the project level. |
6424 'SYMROOT': '<(DEPTH)/xcodebuild', | 6433 'SYMROOT': '<(DEPTH)/xcodebuild', |
6425 }, | 6434 }, |
6426 } | 6435 } |
OLD | NEW |