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

Side by Side Diff: build/common.gypi

Issue 1808963004: Adding macro to enable changing SSL library (Part 1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 | « no previous file | build/config/BUILD.gn » ('j') | build/config/crypto.gni » ('J')
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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 'os_bsd%': 0, 733 'os_bsd%': 0,
734 }], 734 }],
735 735
736 # NSS usage. 736 # NSS usage.
737 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', { 737 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', {
738 'use_nss_certs%': 1, 738 'use_nss_certs%': 1,
739 }, { 739 }, {
740 'use_nss_certs%': 0, 740 'use_nss_certs%': 0,
741 }], 741 }],
742 742
743 # NSS verifier usage.
davidben 2016/03/17 19:48:08 Nit: Maybe add "On non-OpenSSL iOS configurations,
svaldez 2016/03/17 20:04:18 Done.
744 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") or (O S=="ios" and use_openssl==0)', {
745 'use_nss_verifier%': 1,
746 }, {
747 'use_nss_verifier%': 0,
748 }],
749
743 # libudev usage. This currently only affects the content layer. 750 # libudev usage. This currently only affects the content layer.
744 ['OS=="linux" and embedded==0', { 751 ['OS=="linux" and embedded==0', {
745 'use_udev%': 1, 752 'use_udev%': 1,
746 }, { 753 }, {
747 'use_udev%': 0, 754 'use_udev%': 0,
748 }], 755 }],
749 756
750 # Flags to use X11 on non-Mac POSIX platforms. 757 # Flags to use X11 on non-Mac POSIX platforms.
751 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', { 758 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', {
752 'use_x11%': 0, 759 'use_x11%': 0,
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 'host_arch%': '<(host_arch)', 1146 'host_arch%': '<(host_arch)',
1140 'toolkit_views%': '<(toolkit_views)', 1147 'toolkit_views%': '<(toolkit_views)',
1141 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', 1148 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
1142 'use_aura%': '<(use_aura)', 1149 'use_aura%': '<(use_aura)',
1143 'use_ash%': '<(use_ash)', 1150 'use_ash%': '<(use_ash)',
1144 'use_cras%': '<(use_cras)', 1151 'use_cras%': '<(use_cras)',
1145 'use_libpci%': '<(use_libpci)', 1152 'use_libpci%': '<(use_libpci)',
1146 'use_openssl%': '<(use_openssl)', 1153 'use_openssl%': '<(use_openssl)',
1147 'use_openssl_certs%': '<(use_openssl_certs)', 1154 'use_openssl_certs%': '<(use_openssl_certs)',
1148 'use_nss_certs%': '<(use_nss_certs)', 1155 'use_nss_certs%': '<(use_nss_certs)',
1156 'use_nss_verifier%': '<(use_nss_verifier)',
1149 'use_udev%': '<(use_udev)', 1157 'use_udev%': '<(use_udev)',
1150 'os_bsd%': '<(os_bsd)', 1158 'os_bsd%': '<(os_bsd)',
1151 'os_posix%': '<(os_posix)', 1159 'os_posix%': '<(os_posix)',
1152 'use_dbus%': '<(use_dbus)', 1160 'use_dbus%': '<(use_dbus)',
1153 'use_glib%': '<(use_glib)', 1161 'use_glib%': '<(use_glib)',
1154 'use_pango%': '<(use_pango)', 1162 'use_pango%': '<(use_pango)',
1155 'use_cairo%': '<(use_cairo)', 1163 'use_cairo%': '<(use_cairo)',
1156 'use_ozone%': '<(use_ozone)', 1164 'use_ozone%': '<(use_ozone)',
1157 'use_ozone_evdev%': '<(use_ozone_evdev)', 1165 'use_ozone_evdev%': '<(use_ozone_evdev)',
1158 'use_xkbcommon%': '<(use_xkbcommon)', 1166 'use_xkbcommon%': '<(use_xkbcommon)',
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
2105 }], 2113 }],
2106 ['use_aura==1', { 2114 ['use_aura==1', {
2107 'grit_defines': ['-D', 'use_aura'], 2115 'grit_defines': ['-D', 'use_aura'],
2108 }], 2116 }],
2109 ['use_ash==1', { 2117 ['use_ash==1', {
2110 'grit_defines': ['-D', 'use_ash'], 2118 'grit_defines': ['-D', 'use_ash'],
2111 }], 2119 }],
2112 ['use_nss_certs==1', { 2120 ['use_nss_certs==1', {
2113 'grit_defines': ['-D', 'use_nss_certs'], 2121 'grit_defines': ['-D', 'use_nss_certs'],
2114 }], 2122 }],
2123 ['use_nss_verifier==1', {
2124 'grit_defines': ['-D', 'use_nss_verifier'],
2125 }],
2115 ['use_ozone==1', { 2126 ['use_ozone==1', {
2116 'grit_defines': ['-D', 'use_ozone'], 2127 'grit_defines': ['-D', 'use_ozone'],
2117 }], 2128 }],
2118 ['image_loader_extension==1', { 2129 ['image_loader_extension==1', {
2119 'grit_defines': ['-D', 'image_loader_extension'], 2130 'grit_defines': ['-D', 'image_loader_extension'],
2120 }], 2131 }],
2121 ['use_titlecase_in_grd==1', { 2132 ['use_titlecase_in_grd==1', {
2122 'grit_defines': ['-D', 'use_titlecase'], 2133 'grit_defines': ['-D', 'use_titlecase'],
2123 }], 2134 }],
2124 ['OS=="android"', { 2135 ['OS=="android"', {
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
3066 'USE_OPENSSL=1', 3077 'USE_OPENSSL=1',
3067 'USE_OPENSSL_CERTS=1', 3078 'USE_OPENSSL_CERTS=1',
3068 ], 3079 ],
3069 }], 3080 }],
3070 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { 3081 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', {
3071 'defines': ['USE_GLIB=1'], 3082 'defines': ['USE_GLIB=1'],
3072 }], 3083 }],
3073 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { 3084 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', {
3074 'defines': ['USE_NSS_CERTS=1'], 3085 'defines': ['USE_NSS_CERTS=1'],
3075 }], 3086 }],
3087 ['<(use_nss_verifier)==1 and >(nacl_untrusted_build)==0', {
3088 'defines': ['USE_NSS_VERIFIER=1'],
3089 }],
3076 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { 3090 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
3077 'defines': ['OS_CHROMEOS=1'], 3091 'defines': ['OS_CHROMEOS=1'],
3078 }], 3092 }],
3079 ['enable_wexit_time_destructors==1 and OS!="win"', { 3093 ['enable_wexit_time_destructors==1 and OS!="win"', {
3080 # TODO: Enable on Windows too, http://crbug.com/404525 3094 # TODO: Enable on Windows too, http://crbug.com/404525
3081 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, 3095 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
3082 }], 3096 }],
3083 ['chromium_code==0', { 3097 ['chromium_code==0', {
3084 'variables': { 3098 'variables': {
3085 'clang_warning_flags': [ 3099 'clang_warning_flags': [
(...skipping 3277 matching lines...) Expand 10 before | Expand all | Expand 10 after
6363 # settings in target dicts. SYMROOT is a special case, because many other 6377 # settings in target dicts. SYMROOT is a special case, because many other
6364 # Xcode variables depend on it, including variables such as 6378 # Xcode variables depend on it, including variables such as
6365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6379 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6366 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6380 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6367 # files to appear (when present) in the UI as actual files and not red 6381 # files to appear (when present) in the UI as actual files and not red
6368 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6382 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6369 # and therefore SYMROOT, needs to be set at the project level. 6383 # and therefore SYMROOT, needs to be set at the project level.
6370 'SYMROOT': '<(DEPTH)/xcodebuild', 6384 'SYMROOT': '<(DEPTH)/xcodebuild',
6371 }, 6385 },
6372 } 6386 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | build/config/crypto.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698