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

Side by Side Diff: build/common.gypi

Issue 692893004: Provide a way to disable libpci dependency. (Closed) Base URL: git://nuxepg2.fr.nds.com/CHROM/chromium-src.git@master
Patch Set: Move use_libpci = true into declare_args() Created 6 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 | « AUTHORS ('k') | build/linux/system.gyp » ('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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'use_aura%': '<(use_aura)', 54 'use_aura%': '<(use_aura)',
55 'use_ash%': '<(use_ash)', 55 'use_ash%': '<(use_ash)',
56 'use_cras%': '<(use_cras)', 56 'use_cras%': '<(use_cras)',
57 'use_ozone%': '<(use_ozone)', 57 'use_ozone%': '<(use_ozone)',
58 'embedded%': '<(embedded)', 58 'embedded%': '<(embedded)',
59 'host_arch%': '<(host_arch)', 59 'host_arch%': '<(host_arch)',
60 60
61 # Whether we are using Views Toolkit 61 # Whether we are using Views Toolkit
62 'toolkit_views%': 0, 62 'toolkit_views%': 0,
63 63
64 # Use the PCI lib to collect GPU information.
65 'use_libpci%': 1,
66
64 # Use OpenSSL instead of NSS as the underlying SSL and crypto 67 # Use OpenSSL instead of NSS as the underlying SSL and crypto
65 # implementation. Certificate verification will in most cases be 68 # implementation. Certificate verification will in most cases be
66 # handled by the OS. If OpenSSL's struct X509 is used to represent 69 # handled by the OS. If OpenSSL's struct X509 is used to represent
67 # certificates, use_openssl_certs must be set. 70 # certificates, use_openssl_certs must be set.
68 'use_openssl%': 0, 71 'use_openssl%': 0,
69 72
70 # Typedef X509Certificate::OSCertHandle to OpenSSL's struct X509*. 73 # Typedef X509Certificate::OSCertHandle to OpenSSL's struct X509*.
71 'use_openssl_certs%': 0, 74 'use_openssl_certs%': 0,
72 75
73 # Disable viewport meta tag by default. 76 # Disable viewport meta tag by default.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 }, 132 },
130 # Copy conditionally-set variables out one scope. 133 # Copy conditionally-set variables out one scope.
131 'chromeos%': '<(chromeos)', 134 'chromeos%': '<(chromeos)',
132 'chromecast%': '<(chromecast)', 135 'chromecast%': '<(chromecast)',
133 'desktop_linux%': '<(desktop_linux)', 136 'desktop_linux%': '<(desktop_linux)',
134 'use_aura%': '<(use_aura)', 137 'use_aura%': '<(use_aura)',
135 'use_ash%': '<(use_ash)', 138 'use_ash%': '<(use_ash)',
136 'use_cras%': '<(use_cras)', 139 'use_cras%': '<(use_cras)',
137 'use_ozone%': '<(use_ozone)', 140 'use_ozone%': '<(use_ozone)',
138 'embedded%': '<(embedded)', 141 'embedded%': '<(embedded)',
142 'use_libpci%': '<(use_libpci)',
139 'use_openssl%': '<(use_openssl)', 143 'use_openssl%': '<(use_openssl)',
140 'use_openssl_certs%': '<(use_openssl_certs)', 144 'use_openssl_certs%': '<(use_openssl_certs)',
141 'enable_viewport%': '<(enable_viewport)', 145 'enable_viewport%': '<(enable_viewport)',
142 'enable_hidpi%': '<(enable_hidpi)', 146 'enable_hidpi%': '<(enable_hidpi)',
143 'buildtype%': '<(buildtype)', 147 'buildtype%': '<(buildtype)',
144 'branding%': '<(branding)', 148 'branding%': '<(branding)',
145 'host_arch%': '<(host_arch)', 149 'host_arch%': '<(host_arch)',
146 'target_arch%': '<(target_arch)', 150 'target_arch%': '<(target_arch)',
147 151
148 'target_subarch%': '', 152 'target_subarch%': '',
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 'chromecast%': '<(chromecast)', 278 'chromecast%': '<(chromecast)',
275 'host_arch%': '<(host_arch)', 279 'host_arch%': '<(host_arch)',
276 'target_arch%': '<(target_arch)', 280 'target_arch%': '<(target_arch)',
277 'target_subarch%': '<(target_subarch)', 281 'target_subarch%': '<(target_subarch)',
278 'mips_arch_variant%': '<(mips_arch_variant)', 282 'mips_arch_variant%': '<(mips_arch_variant)',
279 'toolkit_views%': '<(toolkit_views)', 283 'toolkit_views%': '<(toolkit_views)',
280 'desktop_linux%': '<(desktop_linux)', 284 'desktop_linux%': '<(desktop_linux)',
281 'use_aura%': '<(use_aura)', 285 'use_aura%': '<(use_aura)',
282 'use_ash%': '<(use_ash)', 286 'use_ash%': '<(use_ash)',
283 'use_cras%': '<(use_cras)', 287 'use_cras%': '<(use_cras)',
288 'use_libpci%': '<(use_libpci)',
284 'use_ozone%': '<(use_ozone)', 289 'use_ozone%': '<(use_ozone)',
285 'use_ozone_evdev%': '<(use_ozone_evdev)', 290 'use_ozone_evdev%': '<(use_ozone_evdev)',
286 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 291 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
287 'embedded%': '<(embedded)', 292 'embedded%': '<(embedded)',
288 'use_openssl%': '<(use_openssl)', 293 'use_openssl%': '<(use_openssl)',
289 'use_openssl_certs%': '<(use_openssl_certs)', 294 'use_openssl_certs%': '<(use_openssl_certs)',
290 'enable_viewport%': '<(enable_viewport)', 295 'enable_viewport%': '<(enable_viewport)',
291 'enable_hidpi%': '<(enable_hidpi)', 296 'enable_hidpi%': '<(enable_hidpi)',
292 'android_channel%': '<(android_channel)', 297 'android_channel%': '<(android_channel)',
293 'android_webview_build%': '<(android_webview_build)', 298 'android_webview_build%': '<(android_webview_build)',
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 'buildtype%': '<(buildtype)', 1071 'buildtype%': '<(buildtype)',
1067 'target_arch%': '<(target_arch)', 1072 'target_arch%': '<(target_arch)',
1068 'target_subarch%': '<(target_subarch)', 1073 'target_subarch%': '<(target_subarch)',
1069 'mips_arch_variant%': '<(mips_arch_variant)', 1074 'mips_arch_variant%': '<(mips_arch_variant)',
1070 'host_arch%': '<(host_arch)', 1075 'host_arch%': '<(host_arch)',
1071 'toolkit_views%': '<(toolkit_views)', 1076 'toolkit_views%': '<(toolkit_views)',
1072 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', 1077 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
1073 'use_aura%': '<(use_aura)', 1078 'use_aura%': '<(use_aura)',
1074 'use_ash%': '<(use_ash)', 1079 'use_ash%': '<(use_ash)',
1075 'use_cras%': '<(use_cras)', 1080 'use_cras%': '<(use_cras)',
1081 'use_libpci%': '<(use_libpci)',
1076 'use_openssl%': '<(use_openssl)', 1082 'use_openssl%': '<(use_openssl)',
1077 'use_openssl_certs%': '<(use_openssl_certs)', 1083 'use_openssl_certs%': '<(use_openssl_certs)',
1078 'use_nss%': '<(use_nss)', 1084 'use_nss%': '<(use_nss)',
1079 'use_udev%': '<(use_udev)', 1085 'use_udev%': '<(use_udev)',
1080 'os_bsd%': '<(os_bsd)', 1086 'os_bsd%': '<(os_bsd)',
1081 'os_posix%': '<(os_posix)', 1087 'os_posix%': '<(os_posix)',
1082 'use_dbus%': '<(use_dbus)', 1088 'use_dbus%': '<(use_dbus)',
1083 'use_glib%': '<(use_glib)', 1089 'use_glib%': '<(use_glib)',
1084 'use_pango%': '<(use_pango)', 1090 'use_pango%': '<(use_pango)',
1085 'use_cairo%': '<(use_cairo)', 1091 'use_cairo%': '<(use_cairo)',
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
2928 'defines': ['ENABLE_IPC_FUZZER=1'], 2934 'defines': ['ENABLE_IPC_FUZZER=1'],
2929 }], 2935 }],
2930 ['video_hole==1', { 2936 ['video_hole==1', {
2931 'defines': ['VIDEO_HOLE=1'], 2937 'defines': ['VIDEO_HOLE=1'],
2932 }], 2938 }],
2933 ['enable_load_completion_hacks==1', { 2939 ['enable_load_completion_hacks==1', {
2934 'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'], 2940 'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'],
2935 }], 2941 }],
2936 ], # conditions for 'target_defaults' 2942 ], # conditions for 'target_defaults'
2937 'target_conditions': [ 2943 'target_conditions': [
2944 ['<(use_libpci)==1', {
2945 'defines': ['USE_LIBPCI=1'],
2946 }],
2938 ['<(use_openssl)==1', { 2947 ['<(use_openssl)==1', {
2939 'defines': ['USE_OPENSSL=1'], 2948 'defines': ['USE_OPENSSL=1'],
2940 }], 2949 }],
2941 ['<(use_openssl_certs)==1', { 2950 ['<(use_openssl_certs)==1', {
2942 'defines': ['USE_OPENSSL_CERTS=1'], 2951 'defines': ['USE_OPENSSL_CERTS=1'],
2943 }], 2952 }],
2944 ['>(nacl_untrusted_build)==1', { 2953 ['>(nacl_untrusted_build)==1', {
2945 'defines': [ 2954 'defines': [
2946 'USE_OPENSSL=1', 2955 'USE_OPENSSL=1',
2947 'USE_OPENSSL_CERTS=1', 2956 'USE_OPENSSL_CERTS=1',
(...skipping 2890 matching lines...) Expand 10 before | Expand all | Expand 10 after
5838 # settings in target dicts. SYMROOT is a special case, because many other 5847 # settings in target dicts. SYMROOT is a special case, because many other
5839 # Xcode variables depend on it, including variables such as 5848 # Xcode variables depend on it, including variables such as
5840 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5849 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5841 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5850 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5842 # files to appear (when present) in the UI as actual files and not red 5851 # files to appear (when present) in the UI as actual files and not red
5843 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5852 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5844 # and therefore SYMROOT, needs to be set at the project level. 5853 # and therefore SYMROOT, needs to be set at the project level.
5845 'SYMROOT': '<(DEPTH)/xcodebuild', 5854 'SYMROOT': '<(DEPTH)/xcodebuild',
5846 }, 5855 },
5847 } 5856 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698