naiveproxy/services/service_manager/sandbox/BUILD.gn
2018-01-29 00:30:36 +08:00

39 lines
936 B
Plaintext

# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
component("sandbox") {
sources = [
"export.h",
"sandbox_type.cc",
"sandbox_type.h",
"switches.cc",
"switches.h",
# Duplicated here to keep private.
"//services/service_manager/embedder/service_manager_embedder_export.h",
]
defines = [ "SERVICE_MANAGER_SANDBOX_IMPL" ]
public_deps = [
"//services/service_manager/embedder:embedder_switches",
]
deps = [
"//base",
]
if (is_mac) {
sources += [
"mac/sandbox_mac.h",
"mac/sandbox_mac.mm",
]
deps += [ "//sandbox/mac:seatbelt" ]
public_deps += [ "mac:packaged_sb_files" ]
libs = [
"AppKit.framework",
"CoreFoundation.framework",
"CoreGraphics.framework",
"Foundation.framework",
"IOSurface.framework",
]
}
}