| Index: mojo/dart/embedder/BUILD.gn
|
| diff --git a/mojo/dart/embedder/BUILD.gn b/mojo/dart/embedder/BUILD.gn
|
| index 98cdc91939bf1016b469aabac29b6860f2467573..495a04714af6d001be37f78f741982e536e6f0e0 100644
|
| --- a/mojo/dart/embedder/BUILD.gn
|
| +++ b/mojo/dart/embedder/BUILD.gn
|
| @@ -4,6 +4,7 @@
|
|
|
| source_set("dart_controller_no_snapshot") {
|
| sources = [
|
| + "$target_gen_dir/dart_embedder_patch_resources.cc",
|
| "builtin.cc",
|
| "builtin.h",
|
| "builtin_natives.cc",
|
| @@ -12,7 +13,6 @@ source_set("dart_controller_no_snapshot") {
|
| "isolate_data.h",
|
| "mojo_natives.cc",
|
| "mojo_natives.h",
|
| - "$target_gen_dir/dart_embedder_patch_resources.cc",
|
| ]
|
|
|
| deps = [
|
| @@ -39,11 +39,7 @@ source_set("dart_controller_no_snapshot") {
|
| action("generate_dart_embedder_patch_resources_cc") {
|
| inputs = [
|
| "//dart/runtime/tools/create_resources.py",
|
| - "//mojo/dart/embedder/core/buffer_patch.dart",
|
| - "//mojo/dart/embedder/core/data_pipe_patch.dart",
|
| - "//mojo/dart/embedder/core/handle_patch.dart",
|
| - "//mojo/dart/embedder/core/handle_watcher_patch.dart",
|
| - "//mojo/dart/embedder/core/message_pipe_patch.dart",
|
| + "//mojo/dart/embedder/core/natives_patch.dart",
|
| ]
|
| output = "$target_gen_dir/dart_embedder_patch_resources.cc"
|
| outputs = [
|
| @@ -51,14 +47,8 @@ action("generate_dart_embedder_patch_resources_cc") {
|
| ]
|
|
|
| # Patch files
|
| - buffer_patch_path = rebase_path("//mojo/dart/embedder/core/buffer_patch.dart")
|
| - data_pipe_patch_path =
|
| - rebase_path("//mojo/dart/embedder/core/data_pipe_patch.dart")
|
| - handle_patch_path = rebase_path("//mojo/dart/embedder/core/handle_patch.dart")
|
| - handle_watcher_patch_path =
|
| - rebase_path("//mojo/dart/embedder/core/handle_watcher_patch.dart")
|
| - message_pipe_patch_path =
|
| - rebase_path("//mojo/dart/embedder/core/message_pipe_patch.dart")
|
| + natives_patch_path =
|
| + rebase_path("//mojo/dart/embedder/core/natives_patch.dart")
|
|
|
| root_path = rebase_path("//mojo/dart/embedder/")
|
| script = "//dart/runtime/tools/create_resources.py"
|
| @@ -74,10 +64,6 @@ action("generate_dart_embedder_patch_resources_cc") {
|
| "dart_embedder_patch",
|
| "--root_prefix",
|
| root_path,
|
| - buffer_patch_path,
|
| - data_pipe_patch_path,
|
| - handle_patch_path,
|
| - handle_watcher_patch_path,
|
| - message_pipe_patch_path,
|
| + natives_patch_path,
|
| ]
|
| }
|
|
|