| 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 component("sandbox") { | 5 component("sandbox") { |
| 6 sources = [ | 6 sources = [ |
| 7 "bootstrap_sandbox.cc", | 7 "bootstrap_sandbox.cc", |
| 8 "bootstrap_sandbox.h", | 8 "bootstrap_sandbox.h", |
| 9 "dispatch_source_mach.cc", |
| 10 "dispatch_source_mach.h", |
| 9 "launchd_interception_server.cc", | 11 "launchd_interception_server.cc", |
| 10 "launchd_interception_server.h", | 12 "launchd_interception_server.h", |
| 11 "mach_message_server.cc", | 13 "mach_message_server.cc", |
| 12 "mach_message_server.h", | 14 "mach_message_server.h", |
| 13 "message_server.h", | 15 "message_server.h", |
| 14 "os_compatibility.cc", | 16 "os_compatibility.cc", |
| 15 "os_compatibility.h", | 17 "os_compatibility.h", |
| 16 "policy.cc", | 18 "policy.cc", |
| 17 "policy.h", | 19 "policy.h", |
| 18 "xpc.h", | 20 "xpc.h", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 49 "-e", rebase_path(generate_stubs_header, root_build_dir), | 51 "-e", rebase_path(generate_stubs_header, root_build_dir), |
| 50 "-s", generate_stubs_output_stem, | 52 "-s", generate_stubs_output_stem, |
| 51 "-p", generate_stubs_project, | 53 "-p", generate_stubs_project, |
| 52 ] | 54 ] |
| 53 args += rebase_path(sources, root_build_dir) | 55 args += rebase_path(sources, root_build_dir) |
| 54 } | 56 } |
| 55 | 57 |
| 56 test("sandbox_mac_unittests") { | 58 test("sandbox_mac_unittests") { |
| 57 sources = [ | 59 sources = [ |
| 58 "bootstrap_sandbox_unittest.mm", | 60 "bootstrap_sandbox_unittest.mm", |
| 61 "dispatch_source_mach_unittest.cc", |
| 59 "policy_unittest.cc", | 62 "policy_unittest.cc", |
| 60 ] | 63 ] |
| 61 | 64 |
| 62 libs = [ | 65 libs = [ |
| 63 "CoreFoundation.framework", | 66 "CoreFoundation.framework", |
| 64 "Foundation.framework", | 67 "Foundation.framework", |
| 65 ] | 68 ] |
| 66 | 69 |
| 67 deps = [ | 70 deps = [ |
| 68 ":sandbox", | 71 ":sandbox", |
| 69 "//base", | 72 "//base", |
| 70 "//base/test:run_all_unittests", | 73 "//base/test:run_all_unittests", |
| 71 "//testing/gtest", | 74 "//testing/gtest", |
| 72 ] | 75 ] |
| 73 } | 76 } |
| OLD | NEW |