| 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("//third_party/mojo/src/mojo/public/mojo_application.gni") | 5 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 mojo_native_application("filesystem") { | 7 mojo_native_application("filesystem") { |
| 8 sources = [ | 8 sources = [ |
| 9 "directory_impl.cc", | 9 "directory_impl.cc", |
| 10 "directory_impl.h", | 10 "directory_impl.h", |
| 11 "file_impl.cc", | 11 "file_impl.cc", |
| 12 "file_impl.h", | 12 "file_impl.h", |
| 13 "file_system_impl.cc", | 13 "file_system_impl.cc", |
| 14 "file_system_impl.h", | 14 "file_system_impl.h", |
| 15 "futimens.h", | |
| 16 "futimens_android.cc", | |
| 17 "main.cc", | 15 "main.cc", |
| 18 "shared_impl.cc", | |
| 19 "shared_impl.h", | |
| 20 "util.cc", | 16 "util.cc", |
| 21 "util.h", | 17 "util.h", |
| 22 ] | 18 ] |
| 23 | 19 |
| 24 deps = [ | 20 deps = [ |
| 25 "//base", | 21 "//base", |
| 26 "//components/filesystem/public/interfaces", | 22 "//components/filesystem/public/interfaces", |
| 27 "//mojo/application/public/cpp", | 23 "//mojo/application/public/cpp", |
| 28 "//mojo/common", | 24 "//mojo/common", |
| 29 "//mojo/environment:chromium", | 25 "//mojo/environment:chromium", |
| 30 "//third_party/mojo/src/mojo/public/cpp/bindings", | 26 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 31 "//third_party/mojo/src/mojo/public/cpp/system", | 27 "//third_party/mojo/src/mojo/public/cpp/system", |
| 32 ] | 28 ] |
| 33 } | 29 } |
| 34 | 30 |
| 35 mojo_native_application("apptests") { | 31 mojo_native_application("apptests") { |
| 36 output_name = "files_apptests" | 32 output_name = "filesystem_apptests" |
| 37 | 33 |
| 38 testonly = true | 34 testonly = true |
| 39 | 35 |
| 40 sources = [ | 36 sources = [ |
| 41 "directory_impl_unittest.cc", | 37 "directory_impl_unittest.cc", |
| 42 "file_impl_unittest.cc", | 38 "file_impl_unittest.cc", |
| 43 "files_test_base.cc", | 39 "files_test_base.cc", |
| 44 "files_test_base.h", | 40 "files_test_base.h", |
| 45 ] | 41 ] |
| 46 | 42 |
| 47 deps = [ | 43 deps = [ |
| 48 "//base", | 44 "//base", |
| 49 "//components/filesystem/public/interfaces", | 45 "//components/filesystem/public/interfaces", |
| 50 "//mojo/application/public/cpp:test_support", | 46 "//mojo/application/public/cpp:test_support", |
| 51 "//third_party/mojo/src/mojo/public/cpp/bindings", | 47 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 52 ] | 48 ] |
| 53 } | 49 } |
| OLD | NEW |