| 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. When targeting Android, |
| 74 # the platform certificate library is used for certificate |
| 75 # verification. On other targets, this flag also enables OpenSSL for |
| 76 # certificate verification, but this configuration is unsupported. |
| 74 'use_openssl_certs%': 0, | 77 'use_openssl_certs%': 0, |
| 75 | 78 |
| 76 # Disable viewport meta tag by default. | 79 # Disable viewport meta tag by default. |
| 77 'enable_viewport%': 0, | 80 'enable_viewport%': 0, |
| 78 | 81 |
| 79 # Enable HiDPI support. | 82 # Enable HiDPI support. |
| 80 'enable_hidpi%': 0, | 83 'enable_hidpi%': 0, |
| 81 | 84 |
| 82 # Override buildtype to select the desired build flavor. | 85 # Override buildtype to select the desired build flavor. |
| 83 # Dev - everyday build for development/testing | 86 # Dev - everyday build for development/testing |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 }], | 677 }], |
| 675 | 678 |
| 676 # A flag for BSD platforms | 679 # A flag for BSD platforms |
| 677 ['OS=="freebsd" or OS=="openbsd"', { | 680 ['OS=="freebsd" or OS=="openbsd"', { |
| 678 'os_bsd%': 1, | 681 'os_bsd%': 1, |
| 679 }, { | 682 }, { |
| 680 'os_bsd%': 0, | 683 'os_bsd%': 0, |
| 681 }], | 684 }], |
| 682 | 685 |
| 683 # NSS usage. | 686 # NSS usage. |
| 684 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { | 687 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', { |
| 685 'use_nss_certs%': 1, | 688 'use_nss_certs%': 1, |
| 686 }, { | 689 }, { |
| 687 'use_nss_certs%': 0, | 690 'use_nss_certs%': 0, |
| 688 }], | 691 }], |
| 689 | 692 |
| 690 # When OpenSSL is used for SSL and crypto on Unix-like systems, use | |
| 691 # OpenSSL's certificate definition. | |
| 692 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==1', { | |
| 693 'use_openssl_certs%': 1, | |
| 694 }, { | |
| 695 'use_openssl_certs%': 0, | |
| 696 }], | |
| 697 | |
| 698 # libudev usage. This currently only affects the content layer. | 693 # libudev usage. This currently only affects the content layer. |
| 699 ['OS=="linux" and embedded==0', { | 694 ['OS=="linux" and embedded==0', { |
| 700 'use_udev%': 1, | 695 'use_udev%': 1, |
| 701 }, { | 696 }, { |
| 702 'use_udev%': 0, | 697 'use_udev%': 0, |
| 703 }], | 698 }], |
| 704 | 699 |
| 705 # Flags to use X11 on non-Mac POSIX platforms. | 700 # Flags to use X11 on non-Mac POSIX platforms. |
| 706 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1',
{ | 701 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1',
{ |
| 707 'use_x11%': 0, | 702 'use_x11%': 0, |
| (...skipping 5432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6140 # settings in target dicts. SYMROOT is a special case, because many other | 6135 # settings in target dicts. SYMROOT is a special case, because many other |
| 6141 # Xcode variables depend on it, including variables such as | 6136 # Xcode variables depend on it, including variables such as |
| 6142 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6137 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6143 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6138 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6144 # files to appear (when present) in the UI as actual files and not red | 6139 # files to appear (when present) in the UI as actual files and not red |
| 6145 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6140 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6146 # and therefore SYMROOT, needs to be set at the project level. | 6141 # and therefore SYMROOT, needs to be set at the project level. |
| 6147 'SYMROOT': '<(DEPTH)/xcodebuild', | 6142 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6148 }, | 6143 }, |
| 6149 } | 6144 } |
| OLD | NEW |