| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//mojo/public/mojo_application.gni") | |
| 6 | |
| 7 source_set("mojio") { | |
| 8 sources = [ | |
| 9 "lib/directory_wrapper.cc", | |
| 10 "lib/directory_wrapper.h", | |
| 11 "lib/errno_impl.h", | |
| 12 "lib/fd_impl.h", | |
| 13 "lib/fd_table.cc", | |
| 14 "lib/fd_table.h", | |
| 15 "lib/file_fd_impl.cc", | |
| 16 "lib/file_fd_impl.h", | |
| 17 "lib/mojio_fcntl.cc", | |
| 18 "lib/mojio_sys_stat.cc", | |
| 19 "lib/mojio_unistd.cc", | |
| 20 "lib/real_errno_impl.cc", | |
| 21 "lib/real_errno_impl.h", | |
| 22 "lib/singletons.cc", | |
| 23 "lib/singletons.h", | |
| 24 "lib/template_util.h", | |
| 25 "lib/util.cc", | |
| 26 "lib/util.h", | |
| 27 "mojio_config.h", | |
| 28 "mojio_fcntl.h", | |
| 29 "mojio_stdio.h", | |
| 30 "mojio_sys_stat.h", | |
| 31 "mojio_sys_types.h", | |
| 32 "mojio_time.h", | |
| 33 "mojio_unistd.h", | |
| 34 ] | |
| 35 | |
| 36 deps = [ | |
| 37 "//mojo/public/cpp/bindings", | |
| 38 "//mojo/public/cpp/environment", | |
| 39 "//mojo/public/cpp/system", | |
| 40 "//mojo/services/files/public/interfaces", | |
| 41 ] | |
| 42 } | |
| 43 | |
| 44 mojo_native_application("apptests") { | |
| 45 output_name = "mojio_apptests" | |
| 46 | |
| 47 testonly = true | |
| 48 | |
| 49 sources = [ | |
| 50 "tests/directory_wrapper_unittest.cc", | |
| 51 "tests/errno_impl_unittest.cc", | |
| 52 "tests/fd_table_unittest.cc", | |
| 53 "tests/file_fd_impl_unittest.cc", | |
| 54 "tests/mock_errno_impl.cc", | |
| 55 "tests/mock_errno_impl.h", | |
| 56 "tests/mojio_impl_test_base.cc", | |
| 57 "tests/mojio_impl_test_base.h", | |
| 58 "tests/mojio_sys_stat_unittest.cc", | |
| 59 "tests/mojio_test_base.cc", | |
| 60 "tests/mojio_test_base.h", | |
| 61 "tests/mojio_unistd_unittest.cc", | |
| 62 "tests/real_errno_impl_unittest.cc", | |
| 63 "tests/test_utils.cc", | |
| 64 "tests/test_utils.h", | |
| 65 "tests/test_utils_unittest.cc", | |
| 66 "tests/util_unittest.cc", | |
| 67 ] | |
| 68 | |
| 69 deps = [ | |
| 70 ":mojio", | |
| 71 "//mojo/public/cpp/application:standalone", | |
| 72 "//mojo/public/cpp/application:test_support_standalone", | |
| 73 "//mojo/public/cpp/bindings", | |
| 74 "//mojo/public/cpp/environment", | |
| 75 "//mojo/public/cpp/system", | |
| 76 "//mojo/services/files/public/interfaces", | |
| 77 "//testing/gtest", | |
| 78 ] | |
| 79 | |
| 80 data_deps = [ "..:files" ] | |
| 81 } | |
| OLD | NEW |