forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
87 lines (79 loc) · 1.72 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright 2018 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.
assert(is_fuchsia)
import("fuchsia_sdk_pkg.gni")
config("sdk_lib_dirs_config") {
lib_dirs = [ "sdk/arch/${target_cpu}/lib" ]
}
fuchsia_sdk_pkg("async") {
sources = [
"ops.c",
]
}
# async-default keep a per-thread dispatcher for async.
fuchsia_sdk_pkg("async_default") {
name = "async-default"
libs = [ "async.default" ]
}
fuchsia_sdk_pkg("zx") {
sources = [
"channel.cpp",
"event.cpp",
"eventpair.cpp",
"fifo.cpp",
"guest.cpp",
"interrupt.cpp",
"job.cpp",
"log.cpp",
"port.cpp",
"process.cpp",
"resource.cpp",
"socket.cpp",
"thread.cpp",
"timer.cpp",
"vmar.cpp",
"vmo.cpp",
]
}
fuchsia_sdk_pkg("fidl") {
# FIDL headers include async headers. These dependencies needs to be public
# to ensure that dependent targets get correct include paths.
public_deps = [
":async",
":async_default",
]
sources = [
"builder.cpp",
"decoding.cpp",
"encoding.cpp",
"formatting.cpp",
"message.cpp",
"message_buffer.cpp",
"message_builder.cpp",
"validating.cpp",
]
}
fuchsia_sdk_pkg("fidl_cpp") {
public_deps = [
":fidl",
":zx",
]
sources = [
"clone.cc",
"coding_traits.cc",
"decoder.cc",
"encoder.cc",
"internal",
"internal/logging.cc",
"internal/message_handler.cc",
"internal/message_reader.cc",
"internal/pending_response.cc",
"internal/proxy_controller.cc",
"internal/stub.cc",
"internal/stub_controller.cc",
"internal/synchronous_proxy.cc",
"internal/weak_stub_controller.cc",
"string.cc",
]
}