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

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

Issue 1130873002: Enable //services/files/c:apptests on Android now that we have the C++11 library. (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
« no previous file with comments | « mojo/tools/data/apptests ('k') | services/files/c/lib/util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//mojo/public/mojo_application.gni")
6 6
7 # TODO(vtl): Disabled for Android (in particular), since we need a C++11 7 source_set("mojio") {
8 # standard library (e.g., std::unique_ptr and std::move). 8 sources = [
9 if (is_linux) { 9 "lib/directory_wrapper.cc",
10 source_set("mojio") { 10 "lib/directory_wrapper.h",
11 sources = [ 11 "lib/errno_impl.h",
12 "lib/directory_wrapper.cc", 12 "lib/fd_impl.h",
13 "lib/directory_wrapper.h", 13 "lib/fd_table.cc",
14 "lib/errno_impl.h", 14 "lib/fd_table.h",
15 "lib/fd_impl.h", 15 "lib/file_fd_impl.cc",
16 "lib/fd_table.cc", 16 "lib/file_fd_impl.h",
17 "lib/fd_table.h", 17 "lib/mojio_fcntl.cc",
18 "lib/file_fd_impl.cc", 18 "lib/mojio_sys_stat.cc",
19 "lib/file_fd_impl.h", 19 "lib/mojio_unistd.cc",
20 "lib/mojio_fcntl.cc", 20 "lib/real_errno_impl.cc",
21 "lib/mojio_sys_stat.cc", 21 "lib/real_errno_impl.h",
22 "lib/mojio_unistd.cc", 22 "lib/singletons.cc",
23 "lib/real_errno_impl.cc", 23 "lib/singletons.h",
24 "lib/real_errno_impl.h", 24 "lib/template_util.h",
25 "lib/singletons.cc", 25 "lib/util.cc",
26 "lib/singletons.h", 26 "lib/util.h",
27 "lib/template_util.h", 27 "mojio_config.h",
28 "lib/util.cc", 28 "mojio_fcntl.h",
29 "lib/util.h", 29 "mojio_stdio.h",
30 "mojio_config.h", 30 "mojio_sys_stat.h",
31 "mojio_fcntl.h", 31 "mojio_sys_types.h",
32 "mojio_stdio.h", 32 "mojio_time.h",
33 "mojio_sys_stat.h", 33 "mojio_unistd.h",
34 "mojio_sys_types.h", 34 ]
35 "mojio_time.h",
36 "mojio_unistd.h",
37 ]
38 35
39 deps = [ 36 deps = [
40 "//mojo/public/cpp/bindings", 37 "//mojo/public/cpp/bindings",
41 "//mojo/public/cpp/environment", 38 "//mojo/public/cpp/environment",
42 "//mojo/public/cpp/system", 39 "//mojo/public/cpp/system",
43 "//mojo/services/files/public/interfaces", 40 "//mojo/services/files/public/interfaces",
44 ] 41 ]
45 } 42 }
46 43
47 mojo_native_application("apptests") { 44 mojo_native_application("apptests") {
48 output_name = "mojio_apptests" 45 output_name = "mojio_apptests"
49 46
50 testonly = true 47 testonly = true
51 48
52 sources = [ 49 sources = [
53 "tests/directory_wrapper_unittest.cc", 50 "tests/directory_wrapper_unittest.cc",
54 "tests/errno_impl_unittest.cc", 51 "tests/errno_impl_unittest.cc",
55 "tests/fd_table_unittest.cc", 52 "tests/fd_table_unittest.cc",
56 "tests/file_fd_impl_unittest.cc", 53 "tests/file_fd_impl_unittest.cc",
57 "tests/mock_errno_impl.cc", 54 "tests/mock_errno_impl.cc",
58 "tests/mock_errno_impl.h", 55 "tests/mock_errno_impl.h",
59 "tests/mojio_impl_test_base.cc", 56 "tests/mojio_impl_test_base.cc",
60 "tests/mojio_impl_test_base.h", 57 "tests/mojio_impl_test_base.h",
61 "tests/mojio_sys_stat_unittest.cc", 58 "tests/mojio_sys_stat_unittest.cc",
62 "tests/mojio_test_base.cc", 59 "tests/mojio_test_base.cc",
63 "tests/mojio_test_base.h", 60 "tests/mojio_test_base.h",
64 "tests/mojio_unistd_unittest.cc", 61 "tests/mojio_unistd_unittest.cc",
65 "tests/real_errno_impl_unittest.cc", 62 "tests/real_errno_impl_unittest.cc",
66 "tests/test_utils.cc", 63 "tests/test_utils.cc",
67 "tests/test_utils.h", 64 "tests/test_utils.h",
68 "tests/test_utils_unittest.cc", 65 "tests/test_utils_unittest.cc",
69 "tests/util_unittest.cc", 66 "tests/util_unittest.cc",
70 ] 67 ]
71 68
72 deps = [ 69 deps = [
73 ":mojio", 70 ":mojio",
74 "//mojo/public/cpp/application:standalone", 71 "//mojo/public/cpp/application:standalone",
75 "//mojo/public/cpp/application:test_support_standalone", 72 "//mojo/public/cpp/application:test_support_standalone",
76 "//mojo/public/cpp/bindings", 73 "//mojo/public/cpp/bindings",
77 "//mojo/public/cpp/environment", 74 "//mojo/public/cpp/environment",
78 "//mojo/public/cpp/system", 75 "//mojo/public/cpp/system",
79 "//mojo/services/files/public/interfaces", 76 "//mojo/services/files/public/interfaces",
80 "//testing/gtest", 77 "//testing/gtest",
81 ] 78 ]
82 79
83 data_deps = [ "..:files" ] 80 data_deps = [ "..:files" ]
84 }
85 } 81 }
OLDNEW
« no previous file with comments | « mojo/tools/data/apptests ('k') | services/files/c/lib/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698