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, | 10 'compile_credentials': 1, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 ], | 165 ], |
166 'include_dirs': [ | 166 'include_dirs': [ |
167 '../..', | 167 '../..', |
168 ], | 168 ], |
169 }, | 169 }, |
170 { 'target_name': 'sandbox_services', | 170 { 'target_name': 'sandbox_services', |
171 'type': 'static_library', | 171 'type': 'static_library', |
172 'sources': [ | 172 'sources': [ |
173 'services/broker_process.cc', | 173 'services/broker_process.cc', |
174 'services/broker_process.h', | 174 'services/broker_process.h', |
| 175 'services/init_process_reaper.cc', |
| 176 'services/init_process_reaper.h', |
175 ], | 177 ], |
176 'dependencies': [ | 178 'dependencies': [ |
177 '../base/base.gyp:base', | 179 '../base/base.gyp:base', |
178 ], | 180 ], |
179 'conditions': [ | 181 'conditions': [ |
180 ['compile_credentials==1', { | 182 ['compile_credentials==1', { |
181 'sources': [ | 183 'sources': [ |
182 'services/credentials.cc', | 184 'services/credentials.cc', |
183 'services/credentials.h', | 185 'services/credentials.h', |
184 ], | 186 ], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 'target_name': 'suid_sandbox_client', | 229 'target_name': 'suid_sandbox_client', |
228 'type': 'static_library', | 230 'type': 'static_library', |
229 'sources': [ | 231 'sources': [ |
230 'suid/common/sandbox.h', | 232 'suid/common/sandbox.h', |
231 'suid/common/suid_unsafe_environment_variables.h', | 233 'suid/common/suid_unsafe_environment_variables.h', |
232 'suid/client/setuid_sandbox_client.cc', | 234 'suid/client/setuid_sandbox_client.cc', |
233 'suid/client/setuid_sandbox_client.h', | 235 'suid/client/setuid_sandbox_client.h', |
234 ], | 236 ], |
235 'dependencies': [ | 237 'dependencies': [ |
236 '../base/base.gyp:base', | 238 '../base/base.gyp:base', |
| 239 'sandbox_services', |
237 ], | 240 ], |
238 'include_dirs': [ | 241 'include_dirs': [ |
239 '..', | 242 '..', |
240 ], | 243 ], |
241 }, | 244 }, |
242 ], | 245 ], |
243 'conditions': [ | 246 'conditions': [ |
244 # Strategy copied from base_unittests_apk in base/base.gyp. | 247 # Strategy copied from base_unittests_apk in base/base.gyp. |
245 [ 'OS=="android" and gtest_target_type == "shared_library"', { | 248 [ 'OS=="android" and gtest_target_type == "shared_library"', { |
246 'targets': [ | 249 'targets': [ |
247 { | 250 { |
248 'target_name': 'sandbox_linux_jni_unittests_apk', | 251 'target_name': 'sandbox_linux_jni_unittests_apk', |
249 'type': 'none', | 252 'type': 'none', |
250 'variables': { | 253 'variables': { |
251 'test_suite_name': 'sandbox_linux_jni_unittests', | 254 'test_suite_name': 'sandbox_linux_jni_unittests', |
252 'input_shlib_path': | 255 'input_shlib_path': |
253 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)' | 256 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)' |
254 'sandbox_linux_jni_unittests' | 257 'sandbox_linux_jni_unittests' |
255 '<(SHARED_LIB_SUFFIX)', | 258 '<(SHARED_LIB_SUFFIX)', |
256 }, | 259 }, |
257 'dependencies': [ | 260 'dependencies': [ |
258 'sandbox_linux_jni_unittests', | 261 'sandbox_linux_jni_unittests', |
259 ], | 262 ], |
260 'includes': [ '../../build/apk_test.gypi' ], | 263 'includes': [ '../../build/apk_test.gypi' ], |
261 } | 264 } |
262 ], | 265 ], |
263 }], | 266 }], |
264 ], | 267 ], |
265 } | 268 } |
OLD | NEW |