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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. |
| 744 # On non-OpenSSL iOS configurations, certificates use the operating |
| 745 # system library, but the verifier uses the bundled copy of NSS. |
| 746 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") or (O
S=="ios" and use_openssl==0)', { |
| 747 'use_nss_verifier%': 1, |
| 748 }, { |
| 749 'use_nss_verifier%': 0, |
| 750 }], |
| 751 |
743 # libudev usage. This currently only affects the content layer. | 752 # libudev usage. This currently only affects the content layer. |
744 ['OS=="linux" and embedded==0', { | 753 ['OS=="linux" and embedded==0', { |
745 'use_udev%': 1, | 754 'use_udev%': 1, |
746 }, { | 755 }, { |
747 'use_udev%': 0, | 756 'use_udev%': 0, |
748 }], | 757 }], |
749 | 758 |
750 # Flags to use X11 on non-Mac POSIX platforms. | 759 # 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',
{ | 760 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1',
{ |
752 'use_x11%': 0, | 761 'use_x11%': 0, |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1139 'host_arch%': '<(host_arch)', | 1148 'host_arch%': '<(host_arch)', |
1140 'toolkit_views%': '<(toolkit_views)', | 1149 'toolkit_views%': '<(toolkit_views)', |
1141 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1150 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
1142 'use_aura%': '<(use_aura)', | 1151 'use_aura%': '<(use_aura)', |
1143 'use_ash%': '<(use_ash)', | 1152 'use_ash%': '<(use_ash)', |
1144 'use_cras%': '<(use_cras)', | 1153 'use_cras%': '<(use_cras)', |
1145 'use_libpci%': '<(use_libpci)', | 1154 'use_libpci%': '<(use_libpci)', |
1146 'use_openssl%': '<(use_openssl)', | 1155 'use_openssl%': '<(use_openssl)', |
1147 'use_openssl_certs%': '<(use_openssl_certs)', | 1156 'use_openssl_certs%': '<(use_openssl_certs)', |
1148 'use_nss_certs%': '<(use_nss_certs)', | 1157 'use_nss_certs%': '<(use_nss_certs)', |
| 1158 'use_nss_verifier%': '<(use_nss_verifier)', |
1149 'use_udev%': '<(use_udev)', | 1159 'use_udev%': '<(use_udev)', |
1150 'os_bsd%': '<(os_bsd)', | 1160 'os_bsd%': '<(os_bsd)', |
1151 'os_posix%': '<(os_posix)', | 1161 'os_posix%': '<(os_posix)', |
1152 'use_dbus%': '<(use_dbus)', | 1162 'use_dbus%': '<(use_dbus)', |
1153 'use_glib%': '<(use_glib)', | 1163 'use_glib%': '<(use_glib)', |
1154 'use_pango%': '<(use_pango)', | 1164 'use_pango%': '<(use_pango)', |
1155 'use_cairo%': '<(use_cairo)', | 1165 'use_cairo%': '<(use_cairo)', |
1156 'use_ozone%': '<(use_ozone)', | 1166 'use_ozone%': '<(use_ozone)', |
1157 'use_ozone_evdev%': '<(use_ozone_evdev)', | 1167 'use_ozone_evdev%': '<(use_ozone_evdev)', |
1158 'use_xkbcommon%': '<(use_xkbcommon)', | 1168 'use_xkbcommon%': '<(use_xkbcommon)', |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 }], | 2115 }], |
2106 ['use_aura==1', { | 2116 ['use_aura==1', { |
2107 'grit_defines': ['-D', 'use_aura'], | 2117 'grit_defines': ['-D', 'use_aura'], |
2108 }], | 2118 }], |
2109 ['use_ash==1', { | 2119 ['use_ash==1', { |
2110 'grit_defines': ['-D', 'use_ash'], | 2120 'grit_defines': ['-D', 'use_ash'], |
2111 }], | 2121 }], |
2112 ['use_nss_certs==1', { | 2122 ['use_nss_certs==1', { |
2113 'grit_defines': ['-D', 'use_nss_certs'], | 2123 'grit_defines': ['-D', 'use_nss_certs'], |
2114 }], | 2124 }], |
| 2125 ['use_nss_verifier==1', { |
| 2126 'grit_defines': ['-D', 'use_nss_verifier'], |
| 2127 }], |
2115 ['use_ozone==1', { | 2128 ['use_ozone==1', { |
2116 'grit_defines': ['-D', 'use_ozone'], | 2129 'grit_defines': ['-D', 'use_ozone'], |
2117 }], | 2130 }], |
2118 ['image_loader_extension==1', { | 2131 ['image_loader_extension==1', { |
2119 'grit_defines': ['-D', 'image_loader_extension'], | 2132 'grit_defines': ['-D', 'image_loader_extension'], |
2120 }], | 2133 }], |
2121 ['use_titlecase_in_grd==1', { | 2134 ['use_titlecase_in_grd==1', { |
2122 'grit_defines': ['-D', 'use_titlecase'], | 2135 'grit_defines': ['-D', 'use_titlecase'], |
2123 }], | 2136 }], |
2124 ['OS=="android"', { | 2137 ['OS=="android"', { |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3066 'USE_OPENSSL=1', | 3079 'USE_OPENSSL=1', |
3067 'USE_OPENSSL_CERTS=1', | 3080 'USE_OPENSSL_CERTS=1', |
3068 ], | 3081 ], |
3069 }], | 3082 }], |
3070 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { | 3083 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { |
3071 'defines': ['USE_GLIB=1'], | 3084 'defines': ['USE_GLIB=1'], |
3072 }], | 3085 }], |
3073 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { | 3086 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { |
3074 'defines': ['USE_NSS_CERTS=1'], | 3087 'defines': ['USE_NSS_CERTS=1'], |
3075 }], | 3088 }], |
| 3089 ['<(use_nss_verifier)==1 and >(nacl_untrusted_build)==0', { |
| 3090 'defines': ['USE_NSS_VERIFIER=1'], |
| 3091 }], |
3076 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 3092 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
3077 'defines': ['OS_CHROMEOS=1'], | 3093 'defines': ['OS_CHROMEOS=1'], |
3078 }], | 3094 }], |
3079 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3095 ['enable_wexit_time_destructors==1 and OS!="win"', { |
3080 # TODO: Enable on Windows too, http://crbug.com/404525 | 3096 # TODO: Enable on Windows too, http://crbug.com/404525 |
3081 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3097 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
3082 }], | 3098 }], |
3083 ['chromium_code==0', { | 3099 ['chromium_code==0', { |
3084 'variables': { | 3100 'variables': { |
3085 'clang_warning_flags': [ | 3101 'clang_warning_flags': [ |
(...skipping 3277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6363 # settings in target dicts. SYMROOT is a special case, because many other | 6379 # settings in target dicts. SYMROOT is a special case, because many other |
6364 # Xcode variables depend on it, including variables such as | 6380 # Xcode variables depend on it, including variables such as |
6365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6381 # 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 | 6382 # 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 | 6383 # 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, | 6384 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6369 # and therefore SYMROOT, needs to be set at the project level. | 6385 # and therefore SYMROOT, needs to be set at the project level. |
6370 'SYMROOT': '<(DEPTH)/xcodebuild', | 6386 'SYMROOT': '<(DEPTH)/xcodebuild', |
6371 }, | 6387 }, |
6372 } | 6388 } |
OLD | NEW |