| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # file_utils is a helper library for utility functions relating to the Mojo | 7 # file_utils is a helper library for utility functions relating to the Mojo |
| 8 # files service. | 8 # files service. |
| 9 source_set("file_utils") { | 9 source_set("file_utils") { |
| 10 sources = [ | 10 sources = [ |
| 11 "file_util.cc", |
| 11 "file_util.h", | 12 "file_util.h", |
| 12 "lib/file_util.cc", | |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 public_deps = [ | 15 public_deps = [ |
| 16 "//mojo/services/files/interfaces:interfaces", | 16 "//mojo/services/files/interfaces:interfaces", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 mojo_native_application("file_utils_apptests") { | 20 mojo_native_application("file_utils_apptests") { |
| 21 output_name = "file_utils_apptests" | 21 output_name = "file_utils_apptests" |
| 22 | 22 |
| 23 testonly = true | 23 testonly = true |
| 24 | 24 |
| 25 sources = [ | 25 sources = [ |
| 26 "tests/file_util_test_base.cc", | 26 "file_util_unittest.cc", |
| 27 "tests/file_util_test_base.h", | |
| 28 "tests/file_util_unittest.cc", | |
| 29 ] | 27 ] |
| 30 | 28 |
| 31 deps = [ | 29 deps = [ |
| 32 ":file_utils", | 30 ":file_utils", |
| 33 "//mojo/public/cpp/application:standalone", | 31 "//mojo/public/cpp/application:standalone", |
| 34 "//mojo/public/cpp/application:test_support_standalone", | 32 "//mojo/public/cpp/application:test_support_standalone", |
| 35 "//mojo/public/cpp/utility", | 33 "//mojo/public/cpp/utility", |
| 36 "//testing/gtest", | 34 "//testing/gtest", |
| 37 ] | 35 ] |
| 38 } | 36 } |
| OLD | NEW |