| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 compile_suid_client = is_linux | 9 compile_suid_client = is_linux |
| 10 | 10 |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 "services/libc_urandom_override.h", | 307 "services/libc_urandom_override.h", |
| 308 ] | 308 ] |
| 309 deps = [ | 309 deps = [ |
| 310 "//base", | 310 "//base", |
| 311 ] | 311 ] |
| 312 } | 312 } |
| 313 | 313 |
| 314 if (compile_suid_client) { | 314 if (compile_suid_client) { |
| 315 component("suid_sandbox_client") { | 315 component("suid_sandbox_client") { |
| 316 sources = [ | 316 sources = [ |
| 317 "suid/common/sandbox.h", | |
| 318 "suid/common/suid_unsafe_environment_variables.h", | |
| 319 "suid/client/setuid_sandbox_client.cc", | 317 "suid/client/setuid_sandbox_client.cc", |
| 320 "suid/client/setuid_sandbox_client.h", | 318 "suid/client/setuid_sandbox_client.h", |
| 321 "suid/client/setuid_sandbox_host.cc", | 319 "suid/client/setuid_sandbox_host.cc", |
| 322 "suid/client/setuid_sandbox_host.h", | 320 "suid/client/setuid_sandbox_host.h", |
| 321 "suid/common/sandbox.h", |
| 322 "suid/common/suid_unsafe_environment_variables.h", |
| 323 ] | 323 ] |
| 324 defines = [ "SANDBOX_IMPLEMENTATION" ] | 324 defines = [ "SANDBOX_IMPLEMENTATION" ] |
| 325 | 325 |
| 326 deps = [ | 326 deps = [ |
| 327 ":sandbox_services", | 327 ":sandbox_services", |
| 328 "//base", | 328 "//base", |
| 329 ] | 329 ] |
| 330 } | 330 } |
| 331 } | 331 } |
| 332 | 332 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 355 # 'type': 'none', | 355 # 'type': 'none', |
| 356 # 'variables': { | 356 # 'variables': { |
| 357 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 357 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
| 358 # }, | 358 # }, |
| 359 # 'dependencies': [ | 359 # 'dependencies': [ |
| 360 # 'sandbox_linux_jni_unittests', | 360 # 'sandbox_linux_jni_unittests', |
| 361 # ], | 361 # ], |
| 362 # 'includes': [ '../../build/apk_test.gypi' ], | 362 # 'includes': [ '../../build/apk_test.gypi' ], |
| 363 # } | 363 # } |
| 364 } | 364 } |
| OLD | NEW |