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

Side by Side Diff: build/common.gypi

Issue 117803002: Make building seccomp-bpf a GYP condition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | components/nacl.gyp » ('j') | components/nacl.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 ['OS=="win" and use_goma==1', { 1909 ['OS=="win" and use_goma==1', {
1910 # goma doesn't support pch yet. 1910 # goma doesn't support pch yet.
1911 'chromium_win_pch': 0, 1911 'chromium_win_pch': 0,
1912 # goma doesn't support PDB yet, so win_z7=1 or fastbuild=1. 1912 # goma doesn't support PDB yet, so win_z7=1 or fastbuild=1.
1913 'conditions': [ 1913 'conditions': [
1914 ['fastbuild==0', { 1914 ['fastbuild==0', {
1915 'win_z7': 1, 1915 'win_z7': 1,
1916 }], 1916 }],
1917 ], 1917 ],
1918 }], 1918 }],
1919 # seccomp-bpf is only supportd on three architectures currently.
Mark Seaborn 2013/12/18 08:10:21 Typo: "supported". Maybe say "seccomp-bpf sandbox
jln (very slow on Chromium) 2013/12/19 00:00:19 Done.
1920 # Do not disable seccomp_bpf anywhere without talking to
1921 # security@chromium.org!
1922 ['((OS=="linux" or OS=="android") and '
1923 '(target_arch=="ia32" or target_arch=="x64" or '
1924 'target_arch=="arm"))', {
1925 'use_seccomp_bpf%': 1,
1926 }, {
1927 'use_seccomp_bpf%': 0,
1928 }]
Mark Seaborn 2013/12/18 08:10:21 Nit: add trailing comma
jln (very slow on Chromium) 2013/12/19 00:00:19 Done.
1919 ], 1929 ],
1920 1930
1921 # The path to the ANGLE library. 1931 # The path to the ANGLE library.
1922 'angle_path': '<(DEPTH)/third_party/angle', 1932 'angle_path': '<(DEPTH)/third_party/angle',
1923 1933
1924 # List of default apps to install in new profiles. The first list contains 1934 # List of default apps to install in new profiles. The first list contains
1925 # the source files as found in svn. The second list, used only for linux, 1935 # the source files as found in svn. The second list, used only for linux,
1926 # contains the destination location for each of the files. When a crx 1936 # contains the destination location for each of the files. When a crx
1927 # is added or removed from the list, the chrome/browser/resources/ 1937 # is added or removed from the list, the chrome/browser/resources/
1928 # default_apps/external_extensions.json file must also be updated. 1938 # default_apps/external_extensions.json file must also be updated.
(...skipping 2853 matching lines...) Expand 10 before | Expand all | Expand 10 after
4782 # settings in target dicts. SYMROOT is a special case, because many other 4792 # settings in target dicts. SYMROOT is a special case, because many other
4783 # Xcode variables depend on it, including variables such as 4793 # Xcode variables depend on it, including variables such as
4784 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4794 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4785 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4795 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4786 # files to appear (when present) in the UI as actual files and not red 4796 # files to appear (when present) in the UI as actual files and not red
4787 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4797 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4788 # and therefore SYMROOT, needs to be set at the project level. 4798 # and therefore SYMROOT, needs to be set at the project level.
4789 'SYMROOT': '<(DEPTH)/xcodebuild', 4799 'SYMROOT': '<(DEPTH)/xcodebuild',
4790 }, 4800 },
4791 } 4801 }
OLDNEW
« no previous file with comments | « no previous file | components/nacl.gyp » ('j') | components/nacl.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698