Skip to content

Commit 40a3712

Browse files
authored
Remove the content handler for its move to topaz. (#5289)
1 parent a262da4 commit 40a3712

37 files changed

Lines changed: 466 additions & 4897 deletions

‎BUILD.gn‎

Lines changed: 5 additions & 183 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ group("flutter") {
3030
}
3131
}
3232

33-
if (is_fuchsia) {
34-
public_deps += [
35-
"$flutter_root/content_handler:aot",
36-
"$flutter_root/content_handler:jit",
37-
"$flutter_root/flow",
38-
]
39-
}
40-
4133
# If on the host, compile all unittests targets.
4234
if (current_toolchain == host_toolchain) {
4335
if (is_mac) {
@@ -70,180 +62,10 @@ config("config") {
7062
include_dirs = [ ".." ]
7163
}
7264

73-
if (is_fuchsia) {
74-
import("//build/package.gni")
75-
76-
package("flutter_aot_runner") {
77-
deps = [
78-
"$flutter_root/content_handler:aot",
79-
]
80-
if (flutter_runtime_mode != "release") {
81-
deps += [
82-
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
83-
]
84-
}
85-
86-
binary = "flutter_aot_runner"
87-
88-
if (flutter_runtime_mode != "release") {
89-
resources = [
90-
{
91-
path = rebase_path(
92-
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
93-
dest = "observatory.tar"
94-
},
95-
]
96-
}
97-
98-
meta = [
99-
{
100-
path = rebase_path("content_handler/meta/sandbox")
101-
dest = "sandbox"
102-
},
103-
]
104-
}
105-
106-
package("flutter2_aot_runner") {
107-
deps = [
108-
"$flutter_root/content_handler:aot",
109-
]
110-
if (flutter_runtime_mode != "release") {
111-
deps += [
112-
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
113-
]
114-
}
115-
116-
binary = "flutter_aot_runner"
117-
118-
if (flutter_runtime_mode != "release") {
119-
resources = [
120-
{
121-
path = rebase_path(
122-
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
123-
dest = "observatory.tar"
124-
},
125-
]
126-
}
127-
128-
meta = [
129-
{
130-
path = rebase_path("content_handler/meta/sandbox")
131-
dest = "sandbox"
132-
},
133-
]
134-
}
135-
136-
package("flutter_jit_runner") {
137-
snapshot_label = "$flutter_root/lib/snapshot:generate_snapshot_bin"
138-
snapshot_gen_dir = get_label_info(snapshot_label, "target_gen_dir")
139-
140-
deps = [
141-
"$flutter_root/content_handler:jit",
142-
snapshot_label,
143-
]
144-
if (flutter_runtime_mode != "release") {
145-
deps += [
146-
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
147-
]
148-
}
149-
150-
binary = "flutter_jit_runner"
151-
152-
resources = [
153-
{
154-
path = rebase_path("$snapshot_gen_dir/vm_isolate_snapshot.bin")
155-
dest = "vm_snapshot_data.bin"
156-
},
157-
{
158-
path = rebase_path("$snapshot_gen_dir/vm_snapshot_instructions.bin")
159-
dest = "vm_snapshot_instructions.bin"
160-
},
161-
{
162-
path = rebase_path("$snapshot_gen_dir/isolate_snapshot.bin")
163-
dest = "isolate_core_snapshot_data.bin"
164-
},
165-
{
166-
path =
167-
rebase_path("$snapshot_gen_dir/isolate_snapshot_instructions.bin")
168-
dest = "isolate_core_snapshot_instructions.bin"
169-
},
170-
]
171-
if (flutter_runtime_mode != "release") {
172-
resources += [
173-
{
174-
path = rebase_path(
175-
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
176-
dest = "observatory.tar"
177-
},
178-
]
179-
}
180-
181-
meta = [
182-
{
183-
path = rebase_path("content_handler/meta/sandbox")
184-
dest = "sandbox"
185-
},
186-
]
187-
}
188-
189-
package("flutter2_jit_runner") {
190-
snapshot_label = "//topaz/runtime/flutter_runner/kernel:kernel_core_snapshot"
191-
snapshot_gen_dir = get_label_info(snapshot_label, "target_gen_dir")
192-
193-
deps = [
194-
"$flutter_root/content_handler:jit",
195-
snapshot_label,
196-
]
197-
if (flutter_runtime_mode != "release") {
198-
deps += [
199-
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
200-
]
201-
}
202-
203-
binary = "flutter_jit_runner"
204-
205-
resources = [
206-
{
207-
path = rebase_path("$snapshot_gen_dir/vm_isolate_snapshot.bin")
208-
dest = "vm_snapshot_data.bin"
209-
},
210-
{
211-
path = rebase_path("$snapshot_gen_dir/vm_snapshot_instructions.bin")
212-
dest = "vm_snapshot_instructions.bin"
213-
},
214-
{
215-
path = rebase_path("$snapshot_gen_dir/isolate_snapshot.bin")
216-
dest = "isolate_core_snapshot_data.bin"
217-
},
218-
{
219-
path =
220-
rebase_path("$snapshot_gen_dir/isolate_snapshot_instructions.bin")
221-
dest = "isolate_core_snapshot_instructions.bin"
222-
},
223-
]
224-
if (flutter_runtime_mode != "release") {
225-
resources += [
226-
{
227-
path = rebase_path(
228-
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
229-
dest = "observatory.tar"
230-
},
231-
]
232-
}
233-
234-
meta = [
235-
{
236-
path = rebase_path("content_handler/meta/sandbox")
237-
dest = "sandbox"
238-
},
239-
]
240-
}
241-
} else {
242-
group("dist") {
243-
testonly = true
65+
group("dist") {
66+
testonly = true
24467

245-
deps = [
246-
"$flutter_root/sky/dist",
247-
]
248-
}
68+
deps = [
69+
"$flutter_root/sky/dist",
70+
]
24971
}

‎content_handler/BUILD.gn‎

Lines changed: 0 additions & 122 deletions
This file was deleted.

‎content_handler/README.md‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)