OLD | NEW |
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, | |
11 }, { | 10 }, { |
12 'compile_suid_client': 0, | 11 'compile_suid_client': 0, |
13 'compile_credentials': 0, | |
14 }], | 12 }], |
15 ['((OS=="linux" or OS=="android") and ' | 13 ['((OS=="linux" or OS=="android") and ' |
16 '(target_arch=="ia32" or target_arch=="x64" or ' | 14 '(target_arch=="ia32" or target_arch=="x64" or ' |
17 'target_arch=="arm"))', { | 15 'target_arch=="arm"))', { |
18 'compile_seccomp_bpf': 1, | 16 'compile_seccomp_bpf': 1, |
19 }, { | 17 }, { |
20 'compile_seccomp_bpf': 0, | 18 'compile_seccomp_bpf': 0, |
21 }], | 19 }], |
22 ], | 20 ], |
23 }, | 21 }, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 }, | 142 }, |
145 { 'target_name': 'sandbox_services', | 143 { 'target_name': 'sandbox_services', |
146 'type': 'static_library', | 144 'type': 'static_library', |
147 'sources': [ | 145 'sources': [ |
148 'services/broker_process.cc', | 146 'services/broker_process.cc', |
149 'services/broker_process.h', | 147 'services/broker_process.h', |
150 ], | 148 ], |
151 'dependencies': [ | 149 'dependencies': [ |
152 '../base/base.gyp:base', | 150 '../base/base.gyp:base', |
153 ], | 151 ], |
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 ], | |
166 'include_dirs': [ | 152 'include_dirs': [ |
167 '..', | 153 '..', |
168 ], | 154 ], |
169 }, | 155 }, |
170 { 'target_name': 'sandbox_services_headers', | 156 { 'target_name': 'sandbox_services_headers', |
171 'type': 'none', | 157 'type': 'none', |
172 'sources': [ | 158 'sources': [ |
173 'services/android_arm_ucontext.h', | 159 'services/android_arm_ucontext.h', |
174 'services/android_ucontext.h', | 160 'services/android_ucontext.h', |
175 'services/android_i386_ucontext.h', | 161 'services/android_i386_ucontext.h', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 }, | 217 }, |
232 'dependencies': [ | 218 'dependencies': [ |
233 'sandbox_linux_jni_unittests', | 219 'sandbox_linux_jni_unittests', |
234 ], | 220 ], |
235 'includes': [ '../../build/apk_test.gypi' ], | 221 'includes': [ '../../build/apk_test.gypi' ], |
236 } | 222 } |
237 ], | 223 ], |
238 }], | 224 }], |
239 ], | 225 ], |
240 } | 226 } |
OLD | NEW |