Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: mojo/services/files/public/c/BUILD.gn

Issue 1133933002: Move //services/files/c -> //mojo/services/files/public/c. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//build/module_args/mojo.gni")
6 import("$mojo_sdk_root/mojo/public/mojo_application.gni")
7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni")
6 8
7 source_set("mojio") { 9 mojo_sdk_source_set("mojio") {
10 # TODO(vtl): This is needed because mojo_sdk.gni doesn't understand relative
11 # dependencies (so without this we can't depend on our interfaces!).
12 restrict_external_deps = false
13
14 public_configs = [ "../../../public/build/config:mojo_services" ]
15
8 sources = [ 16 sources = [
9 "lib/directory_wrapper.cc", 17 "lib/directory_wrapper.cc",
10 "lib/directory_wrapper.h", 18 "lib/directory_wrapper.h",
11 "lib/errno_impl.h", 19 "lib/errno_impl.h",
12 "lib/fd_impl.h", 20 "lib/fd_impl.h",
13 "lib/fd_table.cc", 21 "lib/fd_table.cc",
14 "lib/fd_table.h", 22 "lib/fd_table.h",
15 "lib/file_fd_impl.cc", 23 "lib/file_fd_impl.cc",
16 "lib/file_fd_impl.h", 24 "lib/file_fd_impl.h",
17 "lib/mojio_fcntl.cc", 25 "lib/mojio_fcntl.cc",
18 "lib/mojio_sys_stat.cc", 26 "lib/mojio_sys_stat.cc",
19 "lib/mojio_unistd.cc", 27 "lib/mojio_unistd.cc",
20 "lib/real_errno_impl.cc", 28 "lib/real_errno_impl.cc",
21 "lib/real_errno_impl.h", 29 "lib/real_errno_impl.h",
22 "lib/singletons.cc", 30 "lib/singletons.cc",
23 "lib/singletons.h", 31 "lib/singletons.h",
24 "lib/template_util.h", 32 "lib/template_util.h",
25 "lib/util.cc", 33 "lib/util.cc",
26 "lib/util.h", 34 "lib/util.h",
27 "mojio_config.h", 35 "mojio_config.h",
28 "mojio_fcntl.h", 36 "mojio_fcntl.h",
29 "mojio_stdio.h", 37 "mojio_stdio.h",
30 "mojio_sys_stat.h", 38 "mojio_sys_stat.h",
31 "mojio_sys_types.h", 39 "mojio_sys_types.h",
32 "mojio_time.h", 40 "mojio_time.h",
33 "mojio_unistd.h", 41 "mojio_unistd.h",
34 ] 42 ]
35 43
36 deps = [ 44 deps = [
37 "//mojo/public/cpp/bindings", 45 "../interfaces",
38 "//mojo/public/cpp/environment", 46 ]
39 "//mojo/public/cpp/system", 47
40 "//mojo/services/files/public/interfaces", 48 mojo_sdk_deps = [
49 "mojo/public/cpp/bindings",
50 "mojo/public/cpp/environment",
51 "mojo/public/cpp/system",
41 ] 52 ]
42 } 53 }
43 54
44 mojo_native_application("apptests") { 55 mojo_native_application("apptests") {
45 output_name = "mojio_apptests" 56 output_name = "mojio_apptests"
46 57
47 testonly = true 58 testonly = true
48 59
49 sources = [ 60 sources = [
50 "tests/directory_wrapper_unittest.cc", 61 "tests/directory_wrapper_unittest.cc",
(...skipping 10 matching lines...) Expand all
61 "tests/mojio_unistd_unittest.cc", 72 "tests/mojio_unistd_unittest.cc",
62 "tests/real_errno_impl_unittest.cc", 73 "tests/real_errno_impl_unittest.cc",
63 "tests/test_utils.cc", 74 "tests/test_utils.cc",
64 "tests/test_utils.h", 75 "tests/test_utils.h",
65 "tests/test_utils_unittest.cc", 76 "tests/test_utils_unittest.cc",
66 "tests/util_unittest.cc", 77 "tests/util_unittest.cc",
67 ] 78 ]
68 79
69 deps = [ 80 deps = [
70 ":mojio", 81 ":mojio",
71 "//mojo/public/cpp/application:standalone", 82 "../interfaces",
72 "//mojo/public/cpp/application:test_support_standalone", 83 "$mojo_sdk_root/mojo/public/cpp/application:standalone",
73 "//mojo/public/cpp/bindings", 84 "$mojo_sdk_root/mojo/public/cpp/application:test_support_standalone",
74 "//mojo/public/cpp/environment", 85 "$mojo_sdk_root/mojo/public/cpp/bindings",
75 "//mojo/public/cpp/system", 86 "$mojo_sdk_root/mojo/public/cpp/environment",
76 "//mojo/services/files/public/interfaces", 87 "$mojo_sdk_root/mojo/public/cpp/system",
77 "//testing/gtest", 88 "//testing/gtest",
78 ] 89 ]
79 90
80 data_deps = [ "..:files" ] 91 # TODO(vtl): This is really dodgy, but we need an implementation of the
92 # service.
93 data_deps = [ "//services/files" ]
81 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698