OLD | NEW |
1 # Copyright 2014 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 | 6 |
7 mojo_native_application("files") { | 7 mojo_native_application("files") { |
8 sources = [ | 8 sources = [ |
| 9 "main.cc", |
| 10 ] |
| 11 |
| 12 deps = [ |
| 13 ":lib", |
| 14 "//mojo/application", |
| 15 ] |
| 16 } |
| 17 |
| 18 source_set("lib") { |
| 19 sources = [ |
9 "directory_impl.cc", | 20 "directory_impl.cc", |
10 "directory_impl.h", | 21 "directory_impl.h", |
11 "file_impl.cc", | 22 "file_impl.cc", |
12 "file_impl.h", | 23 "file_impl.h", |
| 24 "files_app.cc", |
| 25 "files_app.h", |
13 "files_impl.cc", | 26 "files_impl.cc", |
14 "files_impl.h", | 27 "files_impl.h", |
15 "futimens.h", | 28 "futimens.h", |
16 "futimens_android.cc", | 29 "futimens_android.cc", |
17 "main.cc", | |
18 "shared_impl.cc", | 30 "shared_impl.cc", |
19 "shared_impl.h", | 31 "shared_impl.h", |
20 "util.cc", | 32 "util.cc", |
21 "util.h", | 33 "util.h", |
22 ] | 34 ] |
23 | 35 |
24 deps = [ | 36 deps = [ |
25 "//base", | 37 "//base", |
26 "//mojo/application", | 38 "//mojo/application", |
27 "//mojo/common", | 39 "//mojo/common", |
(...skipping 22 matching lines...) Expand all Loading... |
50 "//mojo/application:test_support", | 62 "//mojo/application:test_support", |
51 "//mojo/public/cpp/bindings", | 63 "//mojo/public/cpp/bindings", |
52 "//mojo/services/files/interfaces", | 64 "//mojo/services/files/interfaces", |
53 "//mojo/services/files/interfaces:interfaces_sync", | 65 "//mojo/services/files/interfaces:interfaces_sync", |
54 ] | 66 ] |
55 | 67 |
56 data_deps = [ | 68 data_deps = [ |
57 ":files($default_toolchain)", | 69 ":files($default_toolchain)", |
58 ] | 70 ] |
59 } | 71 } |
OLD | NEW |