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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/tools/data/apptests ('k') | services/files/c/lib/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/c/BUILD.gn
diff --git a/services/files/c/BUILD.gn b/services/files/c/BUILD.gn
index 11e446aefbd6e5ad5d1954ec0e8de8b427bbcd00..cedc2a7a3cd187a491199f0af3657ec820789bc0 100644
--- a/services/files/c/BUILD.gn
+++ b/services/files/c/BUILD.gn
@@ -4,82 +4,78 @@
import("//mojo/public/mojo_application.gni")
-# TODO(vtl): Disabled for Android (in particular), since we need a C++11
-# standard library (e.g., std::unique_ptr and std::move).
-if (is_linux) {
- source_set("mojio") {
- sources = [
- "lib/directory_wrapper.cc",
- "lib/directory_wrapper.h",
- "lib/errno_impl.h",
- "lib/fd_impl.h",
- "lib/fd_table.cc",
- "lib/fd_table.h",
- "lib/file_fd_impl.cc",
- "lib/file_fd_impl.h",
- "lib/mojio_fcntl.cc",
- "lib/mojio_sys_stat.cc",
- "lib/mojio_unistd.cc",
- "lib/real_errno_impl.cc",
- "lib/real_errno_impl.h",
- "lib/singletons.cc",
- "lib/singletons.h",
- "lib/template_util.h",
- "lib/util.cc",
- "lib/util.h",
- "mojio_config.h",
- "mojio_fcntl.h",
- "mojio_stdio.h",
- "mojio_sys_stat.h",
- "mojio_sys_types.h",
- "mojio_time.h",
- "mojio_unistd.h",
- ]
+source_set("mojio") {
+ sources = [
+ "lib/directory_wrapper.cc",
+ "lib/directory_wrapper.h",
+ "lib/errno_impl.h",
+ "lib/fd_impl.h",
+ "lib/fd_table.cc",
+ "lib/fd_table.h",
+ "lib/file_fd_impl.cc",
+ "lib/file_fd_impl.h",
+ "lib/mojio_fcntl.cc",
+ "lib/mojio_sys_stat.cc",
+ "lib/mojio_unistd.cc",
+ "lib/real_errno_impl.cc",
+ "lib/real_errno_impl.h",
+ "lib/singletons.cc",
+ "lib/singletons.h",
+ "lib/template_util.h",
+ "lib/util.cc",
+ "lib/util.h",
+ "mojio_config.h",
+ "mojio_fcntl.h",
+ "mojio_stdio.h",
+ "mojio_sys_stat.h",
+ "mojio_sys_types.h",
+ "mojio_time.h",
+ "mojio_unistd.h",
+ ]
- deps = [
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/environment",
- "//mojo/public/cpp/system",
- "//mojo/services/files/public/interfaces",
- ]
- }
+ deps = [
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment",
+ "//mojo/public/cpp/system",
+ "//mojo/services/files/public/interfaces",
+ ]
+}
- mojo_native_application("apptests") {
- output_name = "mojio_apptests"
+mojo_native_application("apptests") {
+ output_name = "mojio_apptests"
- testonly = true
+ testonly = true
- sources = [
- "tests/directory_wrapper_unittest.cc",
- "tests/errno_impl_unittest.cc",
- "tests/fd_table_unittest.cc",
- "tests/file_fd_impl_unittest.cc",
- "tests/mock_errno_impl.cc",
- "tests/mock_errno_impl.h",
- "tests/mojio_impl_test_base.cc",
- "tests/mojio_impl_test_base.h",
- "tests/mojio_sys_stat_unittest.cc",
- "tests/mojio_test_base.cc",
- "tests/mojio_test_base.h",
- "tests/mojio_unistd_unittest.cc",
- "tests/real_errno_impl_unittest.cc",
- "tests/test_utils.cc",
- "tests/test_utils.h",
- "tests/test_utils_unittest.cc",
- "tests/util_unittest.cc",
- ]
+ sources = [
+ "tests/directory_wrapper_unittest.cc",
+ "tests/errno_impl_unittest.cc",
+ "tests/fd_table_unittest.cc",
+ "tests/file_fd_impl_unittest.cc",
+ "tests/mock_errno_impl.cc",
+ "tests/mock_errno_impl.h",
+ "tests/mojio_impl_test_base.cc",
+ "tests/mojio_impl_test_base.h",
+ "tests/mojio_sys_stat_unittest.cc",
+ "tests/mojio_test_base.cc",
+ "tests/mojio_test_base.h",
+ "tests/mojio_unistd_unittest.cc",
+ "tests/real_errno_impl_unittest.cc",
+ "tests/test_utils.cc",
+ "tests/test_utils.h",
+ "tests/test_utils_unittest.cc",
+ "tests/util_unittest.cc",
+ ]
- deps = [
- ":mojio",
- "//mojo/public/cpp/application:standalone",
- "//mojo/public/cpp/application:test_support_standalone",
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/environment",
- "//mojo/public/cpp/system",
- "//mojo/services/files/public/interfaces",
- "//testing/gtest",
- ]
+ deps = [
+ ":mojio",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/application:test_support_standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment",
+ "//mojo/public/cpp/system",
+ "//mojo/services/files/public/interfaces",
+ "//testing/gtest",
+ ]
- data_deps = [ "..:files" ]
- }
+ data_deps = [ "..:files" ]
}
« 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