Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Side by Side Diff: sandbox/mac/BUILD.gn

Issue 1855303003: Wrap deprecated sandbox functions in C++ class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sandbox/BUILD.gn ('k') | sandbox/mac/sandbox_mac.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
26 ] 26 ]
27 27
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") {
37 sources = [
38 "seatbelt.cc",
39 "seatbelt.h",
40 "seatbelt_export.h",
41 ]
42 libs = [ "sandbox" ]
43 defines = [ "SEATBELT_IMPLEMENTATION" ]
44 }
45
36 test("sandbox_mac_unittests") { 46 test("sandbox_mac_unittests") {
37 sources = [ 47 sources = [
38 "bootstrap_sandbox_unittest.mm", 48 "bootstrap_sandbox_unittest.mm",
39 "policy_unittest.cc", 49 "policy_unittest.cc",
40 "xpc_message_server_unittest.cc", 50 "xpc_message_server_unittest.cc",
41 ] 51 ]
42 52
43 libs = [ 53 libs = [
44 "CoreFoundation.framework", 54 "CoreFoundation.framework",
45 "Foundation.framework", 55 "Foundation.framework",
46 ] 56 ]
47 57
48 deps = [ 58 deps = [
49 ":sandbox", 59 ":sandbox",
50 "//base", 60 "//base",
51 "//base/test:run_all_unittests", 61 "//base/test:run_all_unittests",
52 "//testing/gtest", 62 "//testing/gtest",
53 ] 63 ]
54 } 64 }
OLDNEW
« no previous file with comments | « sandbox/BUILD.gn ('k') | sandbox/mac/sandbox_mac.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698