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

Side by Side Diff: sandbox/linux/sandbox_linux.gypi

Issue 55603003: Linux: add a Credentials class to handle Linux capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/sandbox_linux_test_sources.gypi » ('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 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['OS=="linux"', { 8 ['OS=="linux"', {
9 'compile_suid_client': 1, 9 'compile_suid_client': 1,
10 'compile_credentials': 1,
10 }, { 11 }, {
11 'compile_suid_client': 0, 12 'compile_suid_client': 0,
13 'compile_credentials': 0,
12 }], 14 }],
13 ['((OS=="linux" or OS=="android") and ' 15 ['((OS=="linux" or OS=="android") and '
14 '(target_arch=="ia32" or target_arch=="x64" or ' 16 '(target_arch=="ia32" or target_arch=="x64" or '
15 'target_arch=="arm"))', { 17 'target_arch=="arm"))', {
16 'compile_seccomp_bpf': 1, 18 'compile_seccomp_bpf': 1,
17 }, { 19 }, {
18 'compile_seccomp_bpf': 0, 20 'compile_seccomp_bpf': 0,
19 }], 21 }],
20 ], 22 ],
21 }, 23 },
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 }, 144 },
143 { 'target_name': 'sandbox_services', 145 { 'target_name': 'sandbox_services',
144 'type': 'static_library', 146 'type': 'static_library',
145 'sources': [ 147 'sources': [
146 'services/broker_process.cc', 148 'services/broker_process.cc',
147 'services/broker_process.h', 149 'services/broker_process.h',
148 ], 150 ],
149 'dependencies': [ 151 'dependencies': [
150 '../base/base.gyp:base', 152 '../base/base.gyp:base',
151 ], 153 ],
154 'conditions': [
155 ['compile_credentials==1', {
156 'sources': [
157 'services/credentials.cc',
158 'services/credentials.h',
159 ],
160 'dependencies': [
161 # for capabilities.cc.
162 '../build/linux/system.gyp:libcap',
163 ],
164 }],
165 ],
152 'include_dirs': [ 166 'include_dirs': [
153 '..', 167 '..',
154 ], 168 ],
155 }, 169 },
156 { 'target_name': 'sandbox_services_headers', 170 { 'target_name': 'sandbox_services_headers',
157 'type': 'none', 171 'type': 'none',
158 'sources': [ 172 'sources': [
159 'services/android_arm_ucontext.h', 173 'services/android_arm_ucontext.h',
160 'services/android_ucontext.h', 174 'services/android_ucontext.h',
161 'services/android_i386_ucontext.h', 175 'services/android_i386_ucontext.h',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 }, 231 },
218 'dependencies': [ 232 'dependencies': [
219 'sandbox_linux_jni_unittests', 233 'sandbox_linux_jni_unittests',
220 ], 234 ],
221 'includes': [ '../../build/apk_test.gypi' ], 235 'includes': [ '../../build/apk_test.gypi' ],
222 } 236 }
223 ], 237 ],
224 }], 238 }],
225 ], 239 ],
226 } 240 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/sandbox_linux_test_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698