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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 | 675 |
676 # A flag for BSD platforms | 676 # A flag for BSD platforms |
677 ['OS=="freebsd" or OS=="openbsd"', { | 677 ['OS=="freebsd" or OS=="openbsd"', { |
678 'os_bsd%': 1, | 678 'os_bsd%': 1, |
679 }, { | 679 }, { |
680 'os_bsd%': 0, | 680 'os_bsd%': 0, |
681 }], | 681 }], |
682 | 682 |
683 # NSS usage. | 683 # NSS usage. |
684 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { | 684 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { |
| 685 'use_nss_certs%': 1, |
| 686 # TODO(davidben): use_nss is deprecated and will be removed. See |
| 687 # https://crbug.com/462040. |
685 'use_nss%': 1, | 688 'use_nss%': 1, |
686 }, { | 689 }, { |
| 690 'use_nss_certs%': 0, |
| 691 # TODO(davidben): use_nss is deprecated and will be removed. See |
| 692 # https://crbug.com/462040. |
687 'use_nss%': 0, | 693 'use_nss%': 0, |
688 }], | 694 }], |
689 | 695 |
690 # When OpenSSL is used for SSL and crypto on Unix-like systems, use | 696 # When OpenSSL is used for SSL and crypto on Unix-like systems, use |
691 # OpenSSL's certificate definition. | 697 # OpenSSL's certificate definition. |
692 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==1', { | 698 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==1', { |
693 'use_openssl_certs%': 1, | 699 'use_openssl_certs%': 1, |
694 }, { | 700 }, { |
695 'use_openssl_certs%': 0, | 701 'use_openssl_certs%': 0, |
696 }], | 702 }], |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 'host_arch%': '<(host_arch)', | 1085 'host_arch%': '<(host_arch)', |
1080 'toolkit_views%': '<(toolkit_views)', | 1086 'toolkit_views%': '<(toolkit_views)', |
1081 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1087 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
1082 'use_aura%': '<(use_aura)', | 1088 'use_aura%': '<(use_aura)', |
1083 'use_ash%': '<(use_ash)', | 1089 'use_ash%': '<(use_ash)', |
1084 'use_cras%': '<(use_cras)', | 1090 'use_cras%': '<(use_cras)', |
1085 'use_libpci%': '<(use_libpci)', | 1091 'use_libpci%': '<(use_libpci)', |
1086 'use_openssl%': '<(use_openssl)', | 1092 'use_openssl%': '<(use_openssl)', |
1087 'use_openssl_certs%': '<(use_openssl_certs)', | 1093 'use_openssl_certs%': '<(use_openssl_certs)', |
1088 'use_nss%': '<(use_nss)', | 1094 'use_nss%': '<(use_nss)', |
| 1095 'use_nss_certs%': '<(use_nss_certs)', |
1089 'use_udev%': '<(use_udev)', | 1096 'use_udev%': '<(use_udev)', |
1090 'os_bsd%': '<(os_bsd)', | 1097 'os_bsd%': '<(os_bsd)', |
1091 'os_posix%': '<(os_posix)', | 1098 'os_posix%': '<(os_posix)', |
1092 'use_dbus%': '<(use_dbus)', | 1099 'use_dbus%': '<(use_dbus)', |
1093 'use_glib%': '<(use_glib)', | 1100 'use_glib%': '<(use_glib)', |
1094 'use_pango%': '<(use_pango)', | 1101 'use_pango%': '<(use_pango)', |
1095 'use_cairo%': '<(use_cairo)', | 1102 'use_cairo%': '<(use_cairo)', |
1096 'use_ozone%': '<(use_ozone)', | 1103 'use_ozone%': '<(use_ozone)', |
1097 'use_ozone_evdev%': '<(use_ozone_evdev)', | 1104 'use_ozone_evdev%': '<(use_ozone_evdev)', |
1098 'use_xkbcommon%': '<(use_xkbcommon)', | 1105 'use_xkbcommon%': '<(use_xkbcommon)', |
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2023 }], | 2030 }], |
2024 ['toolkit_views==1', { | 2031 ['toolkit_views==1', { |
2025 'grit_defines': ['-D', 'toolkit_views'], | 2032 'grit_defines': ['-D', 'toolkit_views'], |
2026 }], | 2033 }], |
2027 ['use_aura==1', { | 2034 ['use_aura==1', { |
2028 'grit_defines': ['-D', 'use_aura'], | 2035 'grit_defines': ['-D', 'use_aura'], |
2029 }], | 2036 }], |
2030 ['use_ash==1', { | 2037 ['use_ash==1', { |
2031 'grit_defines': ['-D', 'use_ash'], | 2038 'grit_defines': ['-D', 'use_ash'], |
2032 }], | 2039 }], |
2033 ['use_nss==1', { | 2040 ['use_nss_certs==1', { |
2034 'grit_defines': ['-D', 'use_nss'], | 2041 'grit_defines': ['-D', 'use_nss_certs'], |
2035 }], | 2042 }], |
2036 ['use_ozone==1', { | 2043 ['use_ozone==1', { |
2037 'grit_defines': ['-D', 'use_ozone'], | 2044 'grit_defines': ['-D', 'use_ozone'], |
2038 }], | 2045 }], |
2039 ['image_loader_extension==1', { | 2046 ['image_loader_extension==1', { |
2040 'grit_defines': ['-D', 'image_loader_extension'], | 2047 'grit_defines': ['-D', 'image_loader_extension'], |
2041 }], | 2048 }], |
2042 ['remoting==1', { | 2049 ['remoting==1', { |
2043 'grit_defines': ['-D', 'remoting'], | 2050 'grit_defines': ['-D', 'remoting'], |
2044 }], | 2051 }], |
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2990 }], | 2997 }], |
2991 ['>(nacl_untrusted_build)==1', { | 2998 ['>(nacl_untrusted_build)==1', { |
2992 'defines': [ | 2999 'defines': [ |
2993 'USE_OPENSSL=1', | 3000 'USE_OPENSSL=1', |
2994 'USE_OPENSSL_CERTS=1', | 3001 'USE_OPENSSL_CERTS=1', |
2995 ], | 3002 ], |
2996 }], | 3003 }], |
2997 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { | 3004 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { |
2998 'defines': ['USE_GLIB=1'], | 3005 'defines': ['USE_GLIB=1'], |
2999 }], | 3006 }], |
3000 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { | 3007 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { |
| 3008 # TODO(davidben): Rename this to USE_NSS_CERTS. https://crbug.com/462040 |
3001 'defines': ['USE_NSS=1'], | 3009 'defines': ['USE_NSS=1'], |
3002 }], | 3010 }], |
3003 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 3011 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
3004 'defines': ['OS_CHROMEOS=1'], | 3012 'defines': ['OS_CHROMEOS=1'], |
3005 }], | 3013 }], |
3006 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3014 ['enable_wexit_time_destructors==1 and OS!="win"', { |
3007 # TODO: Enable on Windows too, http://crbug.com/404525 | 3015 # TODO: Enable on Windows too, http://crbug.com/404525 |
3008 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3016 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
3009 }], | 3017 }], |
3010 ['chromium_code==0', { | 3018 ['chromium_code==0', { |
(...skipping 3072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6083 # settings in target dicts. SYMROOT is a special case, because many other | 6091 # settings in target dicts. SYMROOT is a special case, because many other |
6084 # Xcode variables depend on it, including variables such as | 6092 # Xcode variables depend on it, including variables such as |
6085 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6093 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6086 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6094 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6087 # files to appear (when present) in the UI as actual files and not red | 6095 # files to appear (when present) in the UI as actual files and not red |
6088 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6096 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6089 # and therefore SYMROOT, needs to be set at the project level. | 6097 # and therefore SYMROOT, needs to be set at the project level. |
6090 'SYMROOT': '<(DEPTH)/xcodebuild', | 6098 'SYMROOT': '<(DEPTH)/xcodebuild', |
6091 }, | 6099 }, |
6092 } | 6100 } |
OLD | NEW |