| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 mojo_native_application("reaper") { | 8 mojo_native_application("files") { |
| 9 sources = [ | 9 sources = [ |
| 10 "directory_impl.cc", |
| 11 "directory_impl.h", |
| 12 "file_impl.cc", |
| 13 "file_impl.h", |
| 14 "files_impl.cc", |
| 15 "files_impl.h", |
| 16 "futimens.h", |
| 17 "futimens_android.cc", |
| 10 "main.cc", | 18 "main.cc", |
| 11 "reaper_binding.cc", | 19 "util.cc", |
| 12 "reaper_binding.h", | 20 "util.h", |
| 13 "reaper_impl.cc", | |
| 14 "reaper_impl.h", | |
| 15 "transfer_binding.cc", | |
| 16 "transfer_binding.h", | |
| 17 ] | 21 ] |
| 18 | 22 |
| 19 deps = [ | 23 deps = [ |
| 20 ":bindings", | 24 ":bindings", |
| 21 "//base", | 25 "//base", |
| 22 "//crypto", | |
| 23 "//url", | |
| 24 "//mojo/application", | 26 "//mojo/application", |
| 25 "//mojo/common", | 27 "//mojo/common", |
| 26 "//mojo/environment:chromium", | |
| 27 "//mojo/public/cpp/application", | 28 "//mojo/public/cpp/application", |
| 28 "//mojo/public/cpp/bindings:callback", | |
| 29 "//mojo/public/cpp/system", | 29 "//mojo/public/cpp/system", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 mojom("bindings") { | 33 mojom("bindings") { |
| 34 sources = [ | 34 sources = [ |
| 35 "diagnostics.mojom", | 35 "directory.mojom", |
| 36 "reaper.mojom", | 36 "file.mojom", |
| 37 "scythe.mojom", | 37 "files.mojom", |
| 38 "transfer.mojom", | 38 "types.mojom", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| 41 | 41 |
| 42 mojo_native_application("tests") { | 42 mojo_native_application("apptests") { |
| 43 output_name = "reaper_apptests" | 43 output_name = "files_apptests" |
| 44 | 44 |
| 45 testonly = true | 45 testonly = true |
| 46 | 46 |
| 47 sources = [ | 47 sources = [ |
| 48 "reaper_apptest.cc", | 48 "files_apptest.cc", |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 deps = [ | 51 deps = [ |
| 52 ":bindings", | 52 ":bindings", |
| 53 "//base", | 53 "//base", |
| 54 "//mojo/application", | 54 "//mojo/application", |
| 55 "//mojo/application:test_support", | 55 "//mojo/application:test_support", |
| 56 "//mojo/common", | |
| 57 "//mojo/public/cpp/bindings", | 56 "//mojo/public/cpp/bindings", |
| 58 ] | 57 ] |
| 59 | 58 |
| 60 data_deps = [ ":reaper" ] | 59 data_deps = [ ":files" ] |
| 61 } | 60 } |
| OLD | NEW |