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

Unified Diff: content/browser/indexed_db/indexed_db.gyp

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 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
Index: content/browser/indexed_db/indexed_db.gyp
diff --git a/content/browser/indexed_db/indexed_db.gyp b/content/browser/indexed_db/indexed_db.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ab1e8d8711a5ff03fac1bfa440e949be49d88a41
--- /dev/null
+++ b/content/browser/indexed_db/indexed_db.gyp
@@ -0,0 +1,51 @@
+# 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,
+ 'mojom_files': [
+ 'public/interfaces/indexed_db.mojom',
+ ],
+ },
+ 'targets': [
+ {
+ # GN version: //components/indexed_db:lib
+ 'target_name': 'indexed_db_lib',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '../../..',
+ ],
+ 'inputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/components/indexed_db/indexed_db.mojom.h',
+ ],
+ 'sources': [
+ 'database_impl.cc',
+ 'database_impl.h',
+ ],
+ 'dependencies': [
+ 'indexed_db_bindings',
+ '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ '../../../services/shell/shell.gyp:shell_public',
+ ]
+ },
+ {
+ # GN version: //content/browser/indexed_db
+ 'target_name': 'indexed_db_bindings',
+ 'type': 'static_library',
+ 'sources': [ '<@(mojom_files)' ],
+ 'variables': {
+ 'mojom_typemaps': [
+ '<(DEPTH)/url/mojo/origin.typemap',
+ ],
+ },
+ 'includes': [
+ '../../../mojo/mojom_bindings_generator.gypi',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698