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("file_manager") { |
9 sources = [ | 9 sources = [ |
| 10 "directory_impl.cc", |
| 11 "directory_impl.h", |
| 12 "file_impl.cc", |
| 13 "file_impl.h", |
| 14 "file_manager_impl.cc", |
| 15 "file_manager_impl.h", |
10 "main.cc", | 16 "main.cc", |
11 "reaper_binding.cc", | 17 "util.cc", |
12 "reaper_binding.h", | 18 "util.h", |
13 "reaper_impl.cc", | |
14 "reaper_impl.h", | |
15 "transfer_binding.cc", | |
16 "transfer_binding.h", | |
17 ] | 19 ] |
18 | 20 |
19 deps = [ | 21 deps = [ |
20 ":bindings", | 22 ":bindings", |
21 "//base", | 23 "//base", |
22 "//crypto", | |
23 "//url", | |
24 "//mojo/application", | 24 "//mojo/application", |
25 "//mojo/common", | 25 "//mojo/common", |
26 "//mojo/environment:chromium", | |
27 "//mojo/public/cpp/application", | 26 "//mojo/public/cpp/application", |
28 "//mojo/public/cpp/bindings:callback", | |
29 "//mojo/public/cpp/system", | 27 "//mojo/public/cpp/system", |
30 ] | 28 ] |
31 } | 29 } |
32 | 30 |
33 mojom("bindings") { | 31 mojom("bindings") { |
34 sources = [ | 32 sources = [ |
35 "diagnostics.mojom", | 33 "directory.mojom", |
36 "reaper.mojom", | 34 "file.mojom", |
37 "transfer.mojom", | 35 "file_manager.mojom", |
| 36 "types.mojom", |
38 ] | 37 ] |
39 } | 38 } |
40 | 39 |
41 mojo_native_application("tests") { | 40 mojo_native_application("apptests") { |
42 output_name = "reaper_apptests" | 41 output_name = "file_manager_apptests" |
43 | 42 |
44 testonly = true | 43 testonly = true |
45 | 44 |
46 sources = [ | 45 sources = [ |
47 "reaper_apptest.cc", | 46 "file_manager_apptest.cc", |
48 ] | 47 ] |
49 | 48 |
50 deps = [ | 49 deps = [ |
51 ":bindings", | 50 ":bindings", |
52 "//base", | 51 "//base", |
53 "//mojo/application", | 52 "//mojo/application", |
54 "//mojo/application:test_support", | 53 "//mojo/application:test_support", |
55 "//mojo/common", | |
56 "//mojo/public/cpp/bindings", | 54 "//mojo/public/cpp/bindings", |
57 ] | 55 ] |
58 | 56 |
59 datadeps = [ | 57 datadeps = [ |
60 ":reaper", | 58 ":file_manager", |
61 ] | 59 ] |
62 } | 60 } |
OLD | NEW |