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

Unified Diff: components/leveldb_proto.gypi

Issue 330833002: Extract protobuf database into a new 'leveldb_proto' component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 6 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/dom_distiller/standalone/content_extractor.cc ('k') | components/leveldb_proto/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb_proto.gypi
diff --git a/components/leveldb_proto.gypi b/components/leveldb_proto.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..a86b0dfd2815769d6d150250f2dc4c7b6f2181f2
--- /dev/null
+++ b/components/leveldb_proto.gypi
@@ -0,0 +1,44 @@
+# Copyright (c) 2012 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'leveldb_proto',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
+ ],
+ 'sources': [
+ 'leveldb_proto/leveldb_database.cc',
+ 'leveldb_proto/leveldb_database.h',
+ 'leveldb_proto/proto_database.h',
+ 'leveldb_proto/proto_database_impl.h',
+ ]
+ },
+ {
+ 'target_name': 'leveldb_proto_test_support',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'leveldb_proto',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'leveldb_proto/testing/fake_db.h',
+ 'leveldb_proto/testing/proto/test.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': 'leveldb_proto/testing/proto',
+ 'proto_out_dir': 'components/leveldb_proto/testing/proto',
+ },
+ 'includes': [ '../build/protoc.gypi' ]
+ },
+ ],
+}
« no previous file with comments | « components/dom_distiller/standalone/content_extractor.cc ('k') | components/leveldb_proto/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698