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

Side by Side Diff: build/common.gypi

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix flush and add enable_wayland_server config Created 5 years, 1 month 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
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 # Enable Wayland display server support.
89 'enable_wayland_server%' : 0,
90
88 # Build against pre-built sysroot image on linux. By default 91 # Build against pre-built sysroot image on linux. By default
89 # the sysroot image is only used for Official builds or when cross 92 # the sysroot image is only used for Official builds or when cross
90 # compiling. 93 # compiling.
91 'use_sysroot%': 0, 94 'use_sysroot%': 0,
92 95
93 # Override buildtype to select the desired build flavor. 96 # Override buildtype to select the desired build flavor.
94 # Dev - everyday build for development/testing 97 # Dev - everyday build for development/testing
95 # Official - release build (generally implies additional processing) 98 # Official - release build (generally implies additional processing)
96 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp 99 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp
97 # conversion is done), some of the things which are now controlled by 100 # conversion is done), some of the things which are now controlled by
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 'use_ash%': '<(use_ash)', 157 'use_ash%': '<(use_ash)',
155 'use_cras%': '<(use_cras)', 158 'use_cras%': '<(use_cras)',
156 'use_ozone%': '<(use_ozone)', 159 'use_ozone%': '<(use_ozone)',
157 'embedded%': '<(embedded)', 160 'embedded%': '<(embedded)',
158 'use_libpci%': '<(use_libpci)', 161 'use_libpci%': '<(use_libpci)',
159 'use_openssl%': '<(use_openssl)', 162 'use_openssl%': '<(use_openssl)',
160 'use_openssl_certs%': '<(use_openssl_certs)', 163 'use_openssl_certs%': '<(use_openssl_certs)',
161 'enable_viewport%': '<(enable_viewport)', 164 'enable_viewport%': '<(enable_viewport)',
162 'enable_hidpi%': '<(enable_hidpi)', 165 'enable_hidpi%': '<(enable_hidpi)',
163 'enable_topchrome_md%': '<(enable_topchrome_md)', 166 'enable_topchrome_md%': '<(enable_topchrome_md)',
167 'enable_wayland_server%': '<(enable_wayland_server)',
164 'buildtype%': '<(buildtype)', 168 'buildtype%': '<(buildtype)',
165 'branding%': '<(branding)', 169 'branding%': '<(branding)',
166 'branding_path_component%': '<(branding)', 170 'branding_path_component%': '<(branding)',
167 'host_arch%': '<(host_arch)', 171 'host_arch%': '<(host_arch)',
168 'target_arch%': '<(target_arch)', 172 'target_arch%': '<(target_arch)',
169 173
170 'target_subarch%': '', 174 'target_subarch%': '',
171 175
172 # The channel to build on Android: stable, beta, dev, canary, or 176 # The channel to build on Android: stable, beta, dev, canary, or
173 # default. "default" should be used on non-official builds. 177 # default. "default" should be used on non-official builds.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS). 235 # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS).
232 ['OS=="mac" or OS=="win" or OS=="linux"', { 236 ['OS=="mac" or OS=="win" or OS=="linux"', {
233 'enable_hidpi%': 1, 237 'enable_hidpi%': 1,
234 }], 238 }],
235 239
236 # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux. 240 # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux.
237 ['chromeos==1 or OS=="win" or OS=="linux"', { 241 ['chromeos==1 or OS=="win" or OS=="linux"', {
238 'enable_topchrome_md%': 1, 242 'enable_topchrome_md%': 1,
239 }], 243 }],
240 244
245 # Enable Wayland display server support on Chrome OS.
246 ['chromeos==1', {
247 'enable_wayland_server%': 1,
248 }],
249
241 # On iOS, use NSS rather than OpenSSL. See http://crbug.com/338886. 250 # On iOS, use NSS rather than OpenSSL. See http://crbug.com/338886.
242 ['OS=="ios"', { 251 ['OS=="ios"', {
243 'use_openssl%': 0, 252 'use_openssl%': 0,
244 }], 253 }],
245 254
246 # Enable App Launcher everywhere but mobile. 255 # Enable App Launcher everywhere but mobile.
247 ['OS!="ios" and OS!="android"', { 256 ['OS!="ios" and OS!="android"', {
248 'enable_app_list%': 1, 257 'enable_app_list%': 1,
249 }, { 258 }, {
250 'enable_app_list%': 0, 259 'enable_app_list%': 0,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 'use_libpci%': '<(use_libpci)', 339 'use_libpci%': '<(use_libpci)',
331 'use_ozone%': '<(use_ozone)', 340 'use_ozone%': '<(use_ozone)',
332 'use_ozone_evdev%': '<(use_ozone_evdev)', 341 'use_ozone_evdev%': '<(use_ozone_evdev)',
333 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 342 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
334 'embedded%': '<(embedded)', 343 'embedded%': '<(embedded)',
335 'use_openssl%': '<(use_openssl)', 344 'use_openssl%': '<(use_openssl)',
336 'use_openssl_certs%': '<(use_openssl_certs)', 345 'use_openssl_certs%': '<(use_openssl_certs)',
337 'enable_viewport%': '<(enable_viewport)', 346 'enable_viewport%': '<(enable_viewport)',
338 'enable_hidpi%': '<(enable_hidpi)', 347 'enable_hidpi%': '<(enable_hidpi)',
339 'enable_topchrome_md%': '<(enable_topchrome_md)', 348 'enable_topchrome_md%': '<(enable_topchrome_md)',
349 'enable_wayland_server%': '<(enable_wayland_server)',
340 'android_channel%': '<(android_channel)', 350 'android_channel%': '<(android_channel)',
341 'use_goma%': '<(use_goma)', 351 'use_goma%': '<(use_goma)',
342 'gomadir%': '<(gomadir)', 352 'gomadir%': '<(gomadir)',
343 'enable_app_list%': '<(enable_app_list)', 353 'enable_app_list%': '<(enable_app_list)',
344 'use_default_render_theme%': '<(use_default_render_theme)', 354 'use_default_render_theme%': '<(use_default_render_theme)',
345 'buildtype%': '<(buildtype)', 355 'buildtype%': '<(buildtype)',
346 'branding%': '<(branding)', 356 'branding%': '<(branding)',
347 'branding_path_component%': '<(branding_path_component)', 357 'branding_path_component%': '<(branding_path_component)',
348 'arm_version%': '<(arm_version)', 358 'arm_version%': '<(arm_version)',
349 'sysroot%': '<(sysroot)', 359 'sysroot%': '<(sysroot)',
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 1131 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
1122 'desktop_linux%': '<(desktop_linux)', 1132 'desktop_linux%': '<(desktop_linux)',
1123 'use_x11%': '<(use_x11)', 1133 'use_x11%': '<(use_x11)',
1124 'use_gnome_keyring%': '<(use_gnome_keyring)', 1134 'use_gnome_keyring%': '<(use_gnome_keyring)',
1125 'linux_fpic%': '<(linux_fpic)', 1135 'linux_fpic%': '<(linux_fpic)',
1126 'chromeos%': '<(chromeos)', 1136 'chromeos%': '<(chromeos)',
1127 'chromecast%': '<(chromecast)', 1137 'chromecast%': '<(chromecast)',
1128 'enable_viewport%': '<(enable_viewport)', 1138 'enable_viewport%': '<(enable_viewport)',
1129 'enable_hidpi%': '<(enable_hidpi)', 1139 'enable_hidpi%': '<(enable_hidpi)',
1130 'enable_topchrome_md%': '<(enable_topchrome_md)', 1140 'enable_topchrome_md%': '<(enable_topchrome_md)',
1141 'enable_wayland_server%': '<(enable_wayland_server)',
1131 'image_loader_extension%': '<(image_loader_extension)', 1142 'image_loader_extension%': '<(image_loader_extension)',
1132 'fastbuild%': '<(fastbuild)', 1143 'fastbuild%': '<(fastbuild)',
1133 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', 1144 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
1134 'win_z7%': '<(win_z7)', 1145 'win_z7%': '<(win_z7)',
1135 'dcheck_always_on%': '<(dcheck_always_on)', 1146 'dcheck_always_on%': '<(dcheck_always_on)',
1136 'tracing_like_official_build%': '<(tracing_like_official_build)', 1147 'tracing_like_official_build%': '<(tracing_like_official_build)',
1137 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici al_build)', 1148 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici al_build)',
1138 'arm_version%': '<(arm_version)', 1149 'arm_version%': '<(arm_version)',
1139 'arm_neon%': '<(arm_neon)', 1150 'arm_neon%': '<(arm_neon)',
1140 'arm_neon_optional%': '<(arm_neon_optional)', 1151 'arm_neon_optional%': '<(arm_neon_optional)',
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after
2750 }], 2761 }],
2751 ['notifications==1', { 2762 ['notifications==1', {
2752 'defines': ['ENABLE_NOTIFICATIONS'], 2763 'defines': ['ENABLE_NOTIFICATIONS'],
2753 }], 2764 }],
2754 ['enable_hidpi==1', { 2765 ['enable_hidpi==1', {
2755 'defines': ['ENABLE_HIDPI=1'], 2766 'defines': ['ENABLE_HIDPI=1'],
2756 }], 2767 }],
2757 ['enable_topchrome_md==1', { 2768 ['enable_topchrome_md==1', {
2758 'defines': ['ENABLE_TOPCHROME_MD=1'], 2769 'defines': ['ENABLE_TOPCHROME_MD=1'],
2759 }], 2770 }],
2771 ['enable_wayland_server==1', {
2772 'defines': ['ENABLE_WAYLAND_SERVER=1'],
2773 }],
2760 ['use_udev==1', { 2774 ['use_udev==1', {
2761 'defines': ['USE_UDEV'], 2775 'defines': ['USE_UDEV'],
2762 }], 2776 }],
2763 ['fastbuild!=0', { 2777 ['fastbuild!=0', {
2764 'xcode_settings': { 2778 'xcode_settings': {
2765 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', 2779 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
2766 }, 2780 },
2767 'conditions': [ 2781 'conditions': [
2768 ['OS=="win" and fastbuild==2', { 2782 ['OS=="win" and fastbuild==2', {
2769 # Completely disable debug information. 2783 # Completely disable debug information.
(...skipping 3587 matching lines...) Expand 10 before | Expand all | Expand 10 after
6357 # settings in target dicts. SYMROOT is a special case, because many other 6371 # settings in target dicts. SYMROOT is a special case, because many other
6358 # Xcode variables depend on it, including variables such as 6372 # Xcode variables depend on it, including variables such as
6359 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6373 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6360 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6374 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6361 # files to appear (when present) in the UI as actual files and not red 6375 # files to appear (when present) in the UI as actual files and not red
6362 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6376 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6363 # and therefore SYMROOT, needs to be set at the project level. 6377 # and therefore SYMROOT, needs to be set at the project level.
6364 'SYMROOT': '<(DEPTH)/xcodebuild', 6378 'SYMROOT': '<(DEPTH)/xcodebuild',
6365 }, 6379 },
6366 } 6380 }
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | components/exo/test/exo_test_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698