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

Side by Side Diff: build/common.gypi

Issue 409403003: [MIPS] Add seccomp bpf support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for Android Created 6 years, 5 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
« no previous file with comments | « no previous file | components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc » ('j') | no next file with comments »
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 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2255 ['win_z7==0', { 2255 ['win_z7==0', {
2256 'fastbuild': 1, 2256 'fastbuild': 1,
2257 }], 2257 }],
2258 ], 2258 ],
2259 }], 2259 }],
2260 2260
2261 ['OS=="win" and (clang==1 or asan==1)', { 2261 ['OS=="win" and (clang==1 or asan==1)', {
2262 'chromium_win_pch': 0, 2262 'chromium_win_pch': 0,
2263 }], 2263 }],
2264 2264
2265 # The seccomp-bpf sandbox is only supported on three architectures 2265 # The seccomp-bpf sandbox is only supported on four architectures
2266 # currently. 2266 # currently.
2267 # Do not disable seccomp_bpf anywhere without talking to 2267 # Do not disable seccomp_bpf anywhere without talking to
2268 # security@chromium.org! 2268 # security@chromium.org!
2269 ['((OS=="linux" or OS=="android") and ' 2269 ['((OS=="linux" or OS=="android") and '
2270 '(target_arch=="ia32" or target_arch=="x64" or ' 2270 '(target_arch=="ia32" or target_arch=="x64" or '
2271 'target_arch=="arm"))', { 2271 'target_arch=="arm" or target_arch=="mipsel"))', {
2272 'use_seccomp_bpf%': 1, 2272 'use_seccomp_bpf%': 1,
2273 }, { 2273 }, {
2274 'use_seccomp_bpf%': 0, 2274 'use_seccomp_bpf%': 0,
2275 }], 2275 }],
2276 ], 2276 ],
2277 2277
2278 # The path to the ANGLE library. 2278 # The path to the ANGLE library.
2279 'angle_path': '<(DEPTH)/third_party/angle', 2279 'angle_path': '<(DEPTH)/third_party/angle',
2280 2280
2281 # List of default apps to install in new profiles. The first list contains 2281 # List of default apps to install in new profiles. The first list contains
(...skipping 3376 matching lines...) Expand 10 before | Expand all | Expand 10 after
5658 # settings in target dicts. SYMROOT is a special case, because many other 5658 # settings in target dicts. SYMROOT is a special case, because many other
5659 # Xcode variables depend on it, including variables such as 5659 # Xcode variables depend on it, including variables such as
5660 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5660 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5661 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5661 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5662 # files to appear (when present) in the UI as actual files and not red 5662 # files to appear (when present) in the UI as actual files and not red
5663 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5663 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5664 # and therefore SYMROOT, needs to be set at the project level. 5664 # and therefore SYMROOT, needs to be set at the project level.
5665 'SYMROOT': '<(DEPTH)/xcodebuild', 5665 'SYMROOT': '<(DEPTH)/xcodebuild',
5666 }, 5666 },
5667 } 5667 }
OLDNEW
« no previous file with comments | « no previous file | components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698