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

Side by Side Diff: build/common.gypi

Issue 881213004: Support building BoringSSL with NSS certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 }], 639 }],
640 640
641 # A flag for BSD platforms 641 # A flag for BSD platforms
642 ['OS=="freebsd" or OS=="openbsd"', { 642 ['OS=="freebsd" or OS=="openbsd"', {
643 'os_bsd%': 1, 643 'os_bsd%': 1,
644 }, { 644 }, {
645 'os_bsd%': 0, 645 'os_bsd%': 0,
646 }], 646 }],
647 647
648 # NSS usage. 648 # NSS usage.
649 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', { 649 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', {
650 'use_nss%': 1, 650 'use_nss%': 1,
651 }, { 651 }, {
652 'use_nss%': 0, 652 'use_nss%': 0,
653 }], 653 }],
654 654
655 # When OpenSSL is used for SSL and crypto on Unix-like systems, use
656 # OpenSSL's certificate definition.
657 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==1', {
658 'use_openssl_certs%': 1,
659 }, {
660 'use_openssl_certs%': 0,
661 }],
662
663 # libudev usage. This currently only affects the content layer. 655 # libudev usage. This currently only affects the content layer.
664 ['OS=="linux" and embedded==0', { 656 ['OS=="linux" and embedded==0', {
665 'use_udev%': 1, 657 'use_udev%': 1,
666 }, { 658 }, {
667 'use_udev%': 0, 659 'use_udev%': 0,
668 }], 660 }],
669 661
670 # Flags to use X11 on non-Mac POSIX platforms. 662 # Flags to use X11 on non-Mac POSIX platforms.
671 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', { 663 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', {
672 'use_x11%': 0, 664 'use_x11%': 0,
(...skipping 5184 matching lines...) Expand 10 before | Expand all | Expand 10 after
5857 # settings in target dicts. SYMROOT is a special case, because many other 5849 # settings in target dicts. SYMROOT is a special case, because many other
5858 # Xcode variables depend on it, including variables such as 5850 # Xcode variables depend on it, including variables such as
5859 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5851 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5860 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5852 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5861 # files to appear (when present) in the UI as actual files and not red 5853 # files to appear (when present) in the UI as actual files and not red
5862 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5854 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5863 # and therefore SYMROOT, needs to be set at the project level. 5855 # and therefore SYMROOT, needs to be set at the project level.
5864 'SYMROOT': '<(DEPTH)/xcodebuild', 5856 'SYMROOT': '<(DEPTH)/xcodebuild',
5865 }, 5857 },
5866 } 5858 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | build/linux/system.gyp » ('j') | build/linux/system.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698