| 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/mac/mac_sdk.gni") | 5 import("//build/config/mac/mac_sdk.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("sandbox") { | 8 component("sandbox") { |
| 9 sources = [ | 9 sources = [ |
| 10 "bootstrap_sandbox.cc", | 10 "bootstrap_sandbox.cc", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 defines = [ "SANDBOX_IMPLEMENTATION" ] | 28 defines = [ "SANDBOX_IMPLEMENTATION" ] |
| 29 libs = [ "bsm" ] | 29 libs = [ "bsm" ] |
| 30 | 30 |
| 31 deps = [ | 31 deps = [ |
| 32 "//base", | 32 "//base", |
| 33 ] | 33 ] |
| 34 } | 34 } |
| 35 | 35 |
| 36 component("seatbelt") { | 36 component("seatbelt") { |
| 37 sources = [ | 37 sources = [ |
| 38 "sandbox_compiler.cc", |
| 39 "sandbox_compiler.h", |
| 38 "seatbelt.cc", | 40 "seatbelt.cc", |
| 39 "seatbelt.h", | 41 "seatbelt.h", |
| 40 "seatbelt_export.h", | 42 "seatbelt_export.h", |
| 41 ] | 43 ] |
| 42 libs = [ "sandbox" ] | 44 libs = [ "sandbox" ] |
| 43 defines = [ "SEATBELT_IMPLEMENTATION" ] | 45 defines = [ "SEATBELT_IMPLEMENTATION" ] |
| 44 } | 46 } |
| 45 | 47 |
| 46 test("sandbox_mac_unittests") { | 48 test("sandbox_mac_unittests") { |
| 47 sources = [ | 49 sources = [ |
| 48 "bootstrap_sandbox_unittest.mm", | 50 "bootstrap_sandbox_unittest.mm", |
| 49 "policy_unittest.cc", | 51 "policy_unittest.cc", |
| 52 "sandbox_mac_compiler_unittest.mm", |
| 53 "sandbox_mac_compiler_v2_unittest.mm", |
| 50 "xpc_message_server_unittest.cc", | 54 "xpc_message_server_unittest.cc", |
| 51 ] | 55 ] |
| 52 | 56 |
| 53 libs = [ | 57 libs = [ |
| 54 "CoreFoundation.framework", | 58 "CoreFoundation.framework", |
| 55 "Foundation.framework", | 59 "Foundation.framework", |
| 56 ] | 60 ] |
| 57 | 61 |
| 58 deps = [ | 62 deps = [ |
| 59 ":sandbox", | 63 ":sandbox", |
| 64 ":seatbelt", |
| 60 "//base", | 65 "//base", |
| 61 "//base/test:run_all_unittests", | 66 "//base/test:run_all_unittests", |
| 62 "//testing/gtest", | 67 "//testing/gtest", |
| 63 ] | 68 ] |
| 64 } | 69 } |
| OLD | NEW |