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

Unified Diff: sandbox/mac/BUILD.gn

Issue 1853713004: mac: Remove some 10.6-SDK-only sandbox code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sandbox/mac/bootstrap_sandbox_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/BUILD.gn
diff --git a/sandbox/mac/BUILD.gn b/sandbox/mac/BUILD.gn
index cdaf527a561f7259691241fc910e05bfac8680b1..c317cefddbf05449a2986999eb8f5ffc99790e10 100644
--- a/sandbox/mac/BUILD.gn
+++ b/sandbox/mac/BUILD.gn
@@ -5,45 +5,6 @@
import("//build/config/mac/mac_sdk.gni")
import("//testing/test.gni")
-generate_stubs_script = "//tools/generate_stubs/generate_stubs.py"
-generate_stubs_header = "xpc_stubs_header.fragment"
-generate_stubs_sig_public = "xpc_stubs.sig"
-generate_stubs_sig_private = "xpc_private_stubs.sig"
-generate_stubs_project = "sandbox/mac"
-generate_stubs_output_stem = "xpc_stubs"
-
-action("generate_stubs") {
- script = generate_stubs_script
- sources = [
- generate_stubs_sig_private,
- generate_stubs_sig_public,
- ]
- inputs = [
- generate_stubs_header,
- ]
- outputs = [
- "$target_gen_dir/$generate_stubs_output_stem.cc",
- "$target_gen_dir/$generate_stubs_output_stem.h",
- ]
- args = [
- "-i",
- rebase_path(target_gen_dir, root_build_dir),
- "-o",
- rebase_path(target_gen_dir, root_build_dir),
- "-t",
- "posix_stubs",
- "-e",
- rebase_path(generate_stubs_header, root_build_dir),
- "-s",
- generate_stubs_output_stem,
- "-p",
- generate_stubs_project,
- "-x",
- "SANDBOX_EXPORT",
- ]
- args += rebase_path(sources, root_build_dir)
-}
-
component("sandbox") {
sources = [
"bootstrap_sandbox.cc",
@@ -59,7 +20,6 @@ component("sandbox") {
"policy.h",
"pre_exec_delegate.cc",
"pre_exec_delegate.h",
- "xpc.cc",
"xpc.h",
"xpc_message_server.cc",
"xpc_message_server.h",
@@ -71,15 +31,6 @@ component("sandbox") {
deps = [
"//base",
]
-
- # When the build SDK is 10.6, generate a dynamic stub loader. When the
- # SDK is higher, then libxpc.dylib will be loaded automatically as part
- # of libSystem, and only forward declarations of private symbols are
- # necessary.
- if (mac_sdk_version == "10.6") {
- deps += [ ":generate_stubs" ]
- sources += get_target_outputs(":generate_stubs")
- }
}
test("sandbox_mac_unittests") {
« no previous file with comments | « no previous file | sandbox/mac/bootstrap_sandbox_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698