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

Side by Side Diff: build/common.gypi

Issue 487143003: sandbox: Add Arm64 support for seccomp-BPF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review changes Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sandbox/linux/BUILD.gn » ('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 2279 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 }], 2290 }],
2291 2291
2292 ['host_clang==1', { 2292 ['host_clang==1', {
2293 'host_cc': '<(make_clang_dir)/bin/clang', 2293 'host_cc': '<(make_clang_dir)/bin/clang',
2294 'host_cxx': '<(make_clang_dir)/bin/clang++', 2294 'host_cxx': '<(make_clang_dir)/bin/clang++',
2295 }, { 2295 }, {
2296 'host_cc': '<!(which gcc)', 2296 'host_cc': '<!(which gcc)',
2297 'host_cxx': '<!(which g++)', 2297 'host_cxx': '<!(which g++)',
2298 }], 2298 }],
2299 2299
2300 # The seccomp-bpf sandbox is only supported on four architectures 2300 # The seccomp-bpf sandbox is only supported on five architectures
2301 # currently. 2301 # currently.
2302 # Do not disable seccomp_bpf anywhere without talking to 2302 # Do not disable seccomp_bpf anywhere without talking to
2303 # security@chromium.org! 2303 # security@chromium.org!
2304 ['((OS=="linux" or OS=="android") and ' 2304 ['((OS=="linux" or OS=="android") and '
2305 '(target_arch=="ia32" or target_arch=="x64" or ' 2305 '(target_arch=="ia32" or target_arch=="x64" or '
2306 'target_arch=="arm" or target_arch=="mipsel"))', { 2306 'target_arch=="arm" or target_arch=="mipsel" or '
2307 'target_arch=="arm64"))', {
2307 'use_seccomp_bpf%': 1, 2308 'use_seccomp_bpf%': 1,
2308 }, { 2309 }, {
2309 'use_seccomp_bpf%': 0, 2310 'use_seccomp_bpf%': 0,
2310 }], 2311 }],
2311 ], 2312 ],
2312 2313
2313 # The path to the ANGLE library. 2314 # The path to the ANGLE library.
2314 'angle_path': '<(DEPTH)/third_party/angle', 2315 'angle_path': '<(DEPTH)/third_party/angle',
2315 2316
2316 # List of default apps to install in new profiles. The first list contains 2317 # List of default apps to install in new profiles. The first list contains
(...skipping 3387 matching lines...) Expand 10 before | Expand all | Expand 10 after
5704 # settings in target dicts. SYMROOT is a special case, because many other 5705 # settings in target dicts. SYMROOT is a special case, because many other
5705 # Xcode variables depend on it, including variables such as 5706 # Xcode variables depend on it, including variables such as
5706 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5707 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5707 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5708 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5708 # files to appear (when present) in the UI as actual files and not red 5709 # files to appear (when present) in the UI as actual files and not red
5709 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5710 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5710 # and therefore SYMROOT, needs to be set at the project level. 5711 # and therefore SYMROOT, needs to be set at the project level.
5711 'SYMROOT': '<(DEPTH)/xcodebuild', 5712 'SYMROOT': '<(DEPTH)/xcodebuild',
5712 }, 5713 },
5713 } 5714 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698