| Index: services/files/BUILD.gn
|
| diff --git a/services/reaper/BUILD.gn b/services/files/BUILD.gn
|
| similarity index 51%
|
| copy from services/reaper/BUILD.gn
|
| copy to services/files/BUILD.gn
|
| index 3be1edccd1c67cd168a01028bf04db98a0015687..e5ae2a7010168af594fc66debfa59ae390e58e87 100644
|
| --- a/services/reaper/BUILD.gn
|
| +++ b/services/files/BUILD.gn
|
| @@ -1,51 +1,51 @@
|
| -# Copyright 2015 The Chromium Authors. All rights reserved.
|
| +# Copyright 2014 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.
|
|
|
| import("//mojo/public/mojo_application.gni")
|
| import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
| -mojo_native_application("reaper") {
|
| +mojo_native_application("files") {
|
| sources = [
|
| + "directory_impl.cc",
|
| + "directory_impl.h",
|
| + "file_impl.cc",
|
| + "file_impl.h",
|
| + "files_impl.cc",
|
| + "files_impl.h",
|
| + "futimens.h",
|
| + "futimens_android.cc",
|
| "main.cc",
|
| - "reaper_binding.cc",
|
| - "reaper_binding.h",
|
| - "reaper_impl.cc",
|
| - "reaper_impl.h",
|
| - "transfer_binding.cc",
|
| - "transfer_binding.h",
|
| + "util.cc",
|
| + "util.h",
|
| ]
|
|
|
| deps = [
|
| ":bindings",
|
| "//base",
|
| - "//crypto",
|
| - "//url",
|
| "//mojo/application",
|
| "//mojo/common",
|
| - "//mojo/environment:chromium",
|
| "//mojo/public/cpp/application",
|
| - "//mojo/public/cpp/bindings:callback",
|
| "//mojo/public/cpp/system",
|
| ]
|
| }
|
|
|
| mojom("bindings") {
|
| sources = [
|
| - "diagnostics.mojom",
|
| - "reaper.mojom",
|
| - "scythe.mojom",
|
| - "transfer.mojom",
|
| + "directory.mojom",
|
| + "file.mojom",
|
| + "files.mojom",
|
| + "types.mojom",
|
| ]
|
| }
|
|
|
| -mojo_native_application("tests") {
|
| - output_name = "reaper_apptests"
|
| +mojo_native_application("apptests") {
|
| + output_name = "files_apptests"
|
|
|
| testonly = true
|
|
|
| sources = [
|
| - "reaper_apptest.cc",
|
| + "files_apptest.cc",
|
| ]
|
|
|
| deps = [
|
| @@ -53,9 +53,8 @@ mojo_native_application("tests") {
|
| "//base",
|
| "//mojo/application",
|
| "//mojo/application:test_support",
|
| - "//mojo/common",
|
| "//mojo/public/cpp/bindings",
|
| ]
|
|
|
| - data_deps = [ ":reaper" ]
|
| + data_deps = [ ":files" ]
|
| }
|
|
|