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

Unified Diff: components/filesystem/filesystem.gyp

Issue 1708253004: mojo: Get mojo:leveldb and mojo:filesystem compiled into content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Probable fix to the build flake. Created 4 years, 10 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 | « components/filesystem/file_system_impl.cc ('k') | components/leveldb/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/filesystem.gyp
diff --git a/components/filesystem/filesystem.gyp b/components/filesystem/filesystem.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..718830d02c7246329b82b0ff2d3d847a7c7dd819
--- /dev/null
+++ b/components/filesystem/filesystem.gyp
@@ -0,0 +1,68 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ # This turns on e.g. the filename-based detection of which
+ # platforms to include source files on (e.g. files ending in
+ # _mac.h or _mac.cc are only compiled on MacOSX).
+ 'chromium_code': 1,
+ },
+ 'targets': [
+ {
+ # GN version: //components/filesystem:lib
+ 'target_name': 'filesystem_lib',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'directory_impl.cc',
+ 'directory_impl.h',
+ 'file_impl.cc',
+ 'file_impl.h',
+ 'file_system_impl.cc',
+ 'file_system_impl.h',
+ 'lock_table.cc',
+ 'lock_table.h',
+ 'util.cc',
+ 'util.h',
+ ],
+ 'dependencies': [
+ 'filesystem_bindings',
+ '../../mojo/mojo_base.gyp:mojo_application_base',
+ '../../mojo/mojo_edk.gyp:mojo_system_impl',
+ '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ '../../mojo/mojo_platform_handle.gyp:platform_handle',
+ '../../url/url.gyp:url_lib',
+ ],
+ 'export_dependent_settings': [
+ 'filesystem_bindings',
+ ],
+ },
+ {
+ # GN version: //components/filesystem/public/interfaces
+ 'target_name': 'filesystem_bindings',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'filesystem_bindings_mojom',
+ ],
+ },
+ {
+ 'target_name': 'filesystem_bindings_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ 'public/interfaces/directory.mojom',
+ 'public/interfaces/file.mojom',
+ 'public/interfaces/file_system.mojom',
+ 'public/interfaces/types.mojom',
+ ],
+ },
+ 'includes': [
+ '../../mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ }
+ ],
+}
« no previous file with comments | « components/filesystem/file_system_impl.cc ('k') | components/leveldb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698