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

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: remove some ifdefs 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
« no previous file with comments | « ash/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 'use_libpci%': '<(use_libpci)', 334 'use_libpci%': '<(use_libpci)',
331 'use_ozone%': '<(use_ozone)', 335 'use_ozone%': '<(use_ozone)',
332 'use_ozone_evdev%': '<(use_ozone_evdev)', 336 'use_ozone_evdev%': '<(use_ozone_evdev)',
333 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 337 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
334 'embedded%': '<(embedded)', 338 'embedded%': '<(embedded)',
335 'use_openssl%': '<(use_openssl)', 339 'use_openssl%': '<(use_openssl)',
336 'use_openssl_certs%': '<(use_openssl_certs)', 340 'use_openssl_certs%': '<(use_openssl_certs)',
337 'enable_viewport%': '<(enable_viewport)', 341 'enable_viewport%': '<(enable_viewport)',
338 'enable_hidpi%': '<(enable_hidpi)', 342 'enable_hidpi%': '<(enable_hidpi)',
339 'enable_topchrome_md%': '<(enable_topchrome_md)', 343 'enable_topchrome_md%': '<(enable_topchrome_md)',
344 'enable_wayland_server%': '<(enable_wayland_server)',
340 'android_channel%': '<(android_channel)', 345 'android_channel%': '<(android_channel)',
341 'use_goma%': '<(use_goma)', 346 'use_goma%': '<(use_goma)',
342 'gomadir%': '<(gomadir)', 347 'gomadir%': '<(gomadir)',
343 'enable_app_list%': '<(enable_app_list)', 348 'enable_app_list%': '<(enable_app_list)',
344 'use_default_render_theme%': '<(use_default_render_theme)', 349 'use_default_render_theme%': '<(use_default_render_theme)',
345 'buildtype%': '<(buildtype)', 350 'buildtype%': '<(buildtype)',
346 'branding%': '<(branding)', 351 'branding%': '<(branding)',
347 'branding_path_component%': '<(branding_path_component)', 352 'branding_path_component%': '<(branding_path_component)',
348 'arm_version%': '<(arm_version)', 353 'arm_version%': '<(arm_version)',
349 'sysroot%': '<(sysroot)', 354 'sysroot%': '<(sysroot)',
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 'use_x11%': 1, 749 'use_x11%': 1,
745 }], 750 }],
746 751
747 # Flags to use glib. 752 # Flags to use glib.
748 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', { 753 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', {
749 'use_glib%': 0, 754 'use_glib%': 0,
750 }, { 755 }, {
751 'use_glib%': 1, 756 'use_glib%': 1,
752 }], 757 }],
753 758
759 # Flags to use Wayland server support.
760 ['chromeos==1 and use_ozone==1', {
761 'enable_wayland_server%': 1,
762 }, {
763 'enable_wayland_server%': 0,
764 }],
765
754 # Flags to use pango and cairo. 766 # Flags to use pango and cairo.
755 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or embedded==1', { 767 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or embedded==1', {
756 'use_pango%': 0, 768 'use_pango%': 0,
757 'use_cairo%': 0, 769 'use_cairo%': 0,
758 }, { 770 }, {
759 'use_pango%': 1, 771 'use_pango%': 1,
760 'use_cairo%': 1, 772 'use_cairo%': 1,
761 }], 773 }],
762 774
763 # DBus usage. 775 # DBus usage.
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 1133 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
1122 'desktop_linux%': '<(desktop_linux)', 1134 'desktop_linux%': '<(desktop_linux)',
1123 'use_x11%': '<(use_x11)', 1135 'use_x11%': '<(use_x11)',
1124 'use_gnome_keyring%': '<(use_gnome_keyring)', 1136 'use_gnome_keyring%': '<(use_gnome_keyring)',
1125 'linux_fpic%': '<(linux_fpic)', 1137 'linux_fpic%': '<(linux_fpic)',
1126 'chromeos%': '<(chromeos)', 1138 'chromeos%': '<(chromeos)',
1127 'chromecast%': '<(chromecast)', 1139 'chromecast%': '<(chromecast)',
1128 'enable_viewport%': '<(enable_viewport)', 1140 'enable_viewport%': '<(enable_viewport)',
1129 'enable_hidpi%': '<(enable_hidpi)', 1141 'enable_hidpi%': '<(enable_hidpi)',
1130 'enable_topchrome_md%': '<(enable_topchrome_md)', 1142 'enable_topchrome_md%': '<(enable_topchrome_md)',
1143 'enable_wayland_server%': '<(enable_wayland_server)',
1131 'image_loader_extension%': '<(image_loader_extension)', 1144 'image_loader_extension%': '<(image_loader_extension)',
1132 'fastbuild%': '<(fastbuild)', 1145 'fastbuild%': '<(fastbuild)',
1133 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', 1146 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
1134 'win_z7%': '<(win_z7)', 1147 'win_z7%': '<(win_z7)',
1135 'dcheck_always_on%': '<(dcheck_always_on)', 1148 'dcheck_always_on%': '<(dcheck_always_on)',
1136 'tracing_like_official_build%': '<(tracing_like_official_build)', 1149 'tracing_like_official_build%': '<(tracing_like_official_build)',
1137 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici al_build)', 1150 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici al_build)',
1138 'arm_version%': '<(arm_version)', 1151 'arm_version%': '<(arm_version)',
1139 'arm_neon%': '<(arm_neon)', 1152 'arm_neon%': '<(arm_neon)',
1140 'arm_neon_optional%': '<(arm_neon_optional)', 1153 'arm_neon_optional%': '<(arm_neon_optional)',
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after
2750 }], 2763 }],
2751 ['notifications==1', { 2764 ['notifications==1', {
2752 'defines': ['ENABLE_NOTIFICATIONS'], 2765 'defines': ['ENABLE_NOTIFICATIONS'],
2753 }], 2766 }],
2754 ['enable_hidpi==1', { 2767 ['enable_hidpi==1', {
2755 'defines': ['ENABLE_HIDPI=1'], 2768 'defines': ['ENABLE_HIDPI=1'],
2756 }], 2769 }],
2757 ['enable_topchrome_md==1', { 2770 ['enable_topchrome_md==1', {
2758 'defines': ['ENABLE_TOPCHROME_MD=1'], 2771 'defines': ['ENABLE_TOPCHROME_MD=1'],
2759 }], 2772 }],
2773 ['enable_wayland_server==1', {
2774 'defines': ['ENABLE_WAYLAND_SERVER=1'],
2775 }],
2760 ['use_udev==1', { 2776 ['use_udev==1', {
2761 'defines': ['USE_UDEV'], 2777 'defines': ['USE_UDEV'],
2762 }], 2778 }],
2763 ['fastbuild!=0', { 2779 ['fastbuild!=0', {
2764 'xcode_settings': { 2780 'xcode_settings': {
2765 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', 2781 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
2766 }, 2782 },
2767 'conditions': [ 2783 'conditions': [
2768 ['OS=="win" and fastbuild==2', { 2784 ['OS=="win" and fastbuild==2', {
2769 # Completely disable debug information. 2785 # 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 6373 # settings in target dicts. SYMROOT is a special case, because many other
6358 # Xcode variables depend on it, including variables such as 6374 # Xcode variables depend on it, including variables such as
6359 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6375 # 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 6376 # 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 6377 # 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, 6378 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6363 # and therefore SYMROOT, needs to be set at the project level. 6379 # and therefore SYMROOT, needs to be set at the project level.
6364 'SYMROOT': '<(DEPTH)/xcodebuild', 6380 'SYMROOT': '<(DEPTH)/xcodebuild',
6365 }, 6381 },
6366 } 6382 }
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698