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..9641417f57210e2f47f945969e77607c124e86ee |
--- /dev/null |
+++ b/content/browser/indexed_db/indexed_db.gyp |
@@ -0,0 +1,52 @@ |
+# 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. |
+ |
+# TODO(cmumford): Don't even think this file is used. Verify and delete. |
+{ |
+ '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', |
+ ], |
+ }, |
+ ], |
+} |