Chromium Code Reviews| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 | 63 |
| 64 # Use the PCI lib to collect GPU information. | 64 # Use the PCI lib to collect GPU information. |
| 65 'use_libpci%': 1, | 65 'use_libpci%': 1, |
| 66 | 66 |
| 67 # Use OpenSSL instead of NSS as the underlying SSL and crypto | 67 # Use OpenSSL instead of NSS as the underlying SSL and crypto |
| 68 # implementation. Certificate verification will in most cases be | 68 # implementation. Certificate verification will in most cases be |
| 69 # 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 |
| 70 # certificates, use_openssl_certs must be set. | 70 # certificates, use_openssl_certs must be set. |
| 71 'use_openssl%': 0, | 71 'use_openssl%': 0, |
| 72 | 72 |
| 73 # Typedef X509Certificate::OSCertHandle to OpenSSL's struct X509*. | 73 # Use OpenSSL for representing certificates and, unless targetting |
|
Ryan Sleevi
2015/02/26 00:35:35
targeting
davidben
2015/02/26 22:59:24
Done.
| |
| 74 # Android, the certificate verifier. | |
|
Ryan Sleevi
2015/02/26 00:35:35
s/the certificate verifier/certificate verificatio
davidben
2015/02/26 22:59:24
Done.
| |
| 74 'use_openssl_certs%': 0, | 75 'use_openssl_certs%': 0, |
| 75 | 76 |
| 76 # Disable viewport meta tag by default. | 77 # Disable viewport meta tag by default. |
| 77 'enable_viewport%': 0, | 78 'enable_viewport%': 0, |
| 78 | 79 |
| 79 # Enable HiDPI support. | 80 # Enable HiDPI support. |
| 80 'enable_hidpi%': 0, | 81 'enable_hidpi%': 0, |
| 81 | 82 |
| 82 # Override buildtype to select the desired build flavor. | 83 # Override buildtype to select the desired build flavor. |
| 83 # Dev - everyday build for development/testing | 84 # Dev - everyday build for development/testing |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 641 'os_posix%': 1, | 642 'os_posix%': 1, |
| 642 }], | 643 }], |
| 643 | 644 |
| 644 # A flag for BSD platforms | 645 # A flag for BSD platforms |
| 645 ['OS=="freebsd" or OS=="openbsd"', { | 646 ['OS=="freebsd" or OS=="openbsd"', { |
| 646 'os_bsd%': 1, | 647 'os_bsd%': 1, |
| 647 }, { | 648 }, { |
| 648 'os_bsd%': 0, | 649 'os_bsd%': 0, |
| 649 }], | 650 }], |
| 650 | 651 |
| 651 # NSS usage. | 652 # NSS usage. This controls whether NSS is used for certificate |
| 652 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', { | 653 # validation and storage (like use_openssl_certs). For historical |
| 654 # reasons, this flag is named use_nss rather than use_nss_certs. In | |
| 655 # particular, note it is possible to set both use_openssl and use_nss. | |
| 656 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', { | |
| 653 'use_nss%': 1, | 657 'use_nss%': 1, |
| 654 }, { | 658 }, { |
| 655 'use_nss%': 0, | 659 'use_nss%': 0, |
| 656 }], | 660 }], |
| 657 | 661 |
| 658 # When OpenSSL is used for SSL and crypto on Unix-like systems, use | |
| 659 # OpenSSL's certificate definition. | |
| 660 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==1', { | |
| 661 'use_openssl_certs%': 1, | |
| 662 }, { | |
| 663 'use_openssl_certs%': 0, | |
| 664 }], | |
| 665 | |
| 666 # libudev usage. This currently only affects the content layer. | 662 # libudev usage. This currently only affects the content layer. |
| 667 ['OS=="linux" and embedded==0', { | 663 ['OS=="linux" and embedded==0', { |
| 668 'use_udev%': 1, | 664 'use_udev%': 1, |
| 669 }, { | 665 }, { |
| 670 'use_udev%': 0, | 666 'use_udev%': 0, |
| 671 }], | 667 }], |
| 672 | 668 |
| 673 # Flags to use X11 on non-Mac POSIX platforms. | 669 # Flags to use X11 on non-Mac POSIX platforms. |
| 674 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', { | 670 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', { |
| 675 'use_x11%': 0, | 671 'use_x11%': 0, |
| (...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2977 ['>(nacl_untrusted_build)==1', { | 2973 ['>(nacl_untrusted_build)==1', { |
| 2978 'defines': [ | 2974 'defines': [ |
| 2979 'USE_OPENSSL=1', | 2975 'USE_OPENSSL=1', |
| 2980 'USE_OPENSSL_CERTS=1', | 2976 'USE_OPENSSL_CERTS=1', |
| 2981 ], | 2977 ], |
| 2982 }], | 2978 }], |
| 2983 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { | 2979 ['<(use_glib)==1 and >(nacl_untrusted_build)==0', { |
| 2984 'defines': ['USE_GLIB=1'], | 2980 'defines': ['USE_GLIB=1'], |
| 2985 }], | 2981 }], |
| 2986 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { | 2982 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { |
| 2983 # USE_NSS really means NSS is used for certificate validation and | |
| 2984 # storage (like USE_OPENSSL_CERTS). For historical reasons, this flag is | |
| 2985 # named USE_NSS rather than USE_NSS_CERTS. In particular, note it is | |
| 2986 # possible to set both USE_OPENSSL and USE_NSS. | |
| 2987 'defines': ['USE_NSS=1'], | 2987 'defines': ['USE_NSS=1'], |
| 2988 }], | 2988 }], |
| 2989 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 2989 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
| 2990 'defines': ['OS_CHROMEOS=1'], | 2990 'defines': ['OS_CHROMEOS=1'], |
| 2991 }], | 2991 }], |
| 2992 ['enable_wexit_time_destructors==1 and OS!="win"', { | 2992 ['enable_wexit_time_destructors==1 and OS!="win"', { |
| 2993 # TODO: Enable on Windows too, http://crbug.com/404525 | 2993 # TODO: Enable on Windows too, http://crbug.com/404525 |
| 2994 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 2994 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
| 2995 }], | 2995 }], |
| 2996 ['chromium_code==0', { | 2996 ['chromium_code==0', { |
| (...skipping 2925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5922 # settings in target dicts. SYMROOT is a special case, because many other | 5922 # settings in target dicts. SYMROOT is a special case, because many other |
| 5923 # Xcode variables depend on it, including variables such as | 5923 # Xcode variables depend on it, including variables such as |
| 5924 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5924 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5925 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5925 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5926 # files to appear (when present) in the UI as actual files and not red | 5926 # files to appear (when present) in the UI as actual files and not red |
| 5927 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5927 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5928 # and therefore SYMROOT, needs to be set at the project level. | 5928 # and therefore SYMROOT, needs to be set at the project level. |
| 5929 'SYMROOT': '<(DEPTH)/xcodebuild', | 5929 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5930 }, | 5930 }, |
| 5931 } | 5931 } |
| OLD | NEW |