summaryrefslogtreecommitdiffstats
path: root/components/leveldb_proto
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-15 19:20:06 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-15 19:20:06 +0000
commit5dce66d1349da2adf1111fe6e6301bcb1c0a889e (patch)
tree723eb20c41cff54fd08c062a79e5492aa15c9d27 /components/leveldb_proto
parent47874b4746dd7d39e7c40545ae855677c08ed29e (diff)
downloadchromium_src-5dce66d1349da2adf1111fe6e6301bcb1c0a889e.zip
chromium_src-5dce66d1349da2adf1111fe6e6301bcb1c0a889e.tar.gz
chromium_src-5dce66d1349da2adf1111fe6e6301bcb1c0a889e.tar.bz2
components: Add GN build files for three more components.
This patch adds BUILD files for: - enhanced_bookmarks - leveldb_proto - omaha_query_params BUG=None TEST=gn gen out/Debug_gn && ninja -C out/Debug_gn R=brettw@chromium.org TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/391603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/leveldb_proto')
-rw-r--r--components/leveldb_proto/BUILD.gn28
-rw-r--r--components/leveldb_proto/testing/proto/BUILD.gn11
2 files changed, 39 insertions, 0 deletions
diff --git a/components/leveldb_proto/BUILD.gn b/components/leveldb_proto/BUILD.gn
new file mode 100644
index 0000000..9743af0
--- /dev/null
+++ b/components/leveldb_proto/BUILD.gn
@@ -0,0 +1,28 @@
+# Copyright 2014 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.
+
+source_set("leveldb_proto") {
+ sources = [
+ "leveldb_database.cc",
+ "leveldb_database.h",
+ "proto_database.h",
+ "proto_database_impl.h",
+ ]
+
+ deps = [
+ "//base",
+ "//third_party/leveldatabase",
+ ]
+}
+
+source_set("test_support") {
+ sources = [
+ "testing/fake_db.h",
+ ]
+
+ deps = [
+ ":leveldb_proto",
+ "//components/leveldb_proto/testing/proto",
+ ]
+}
diff --git a/components/leveldb_proto/testing/proto/BUILD.gn b/components/leveldb_proto/testing/proto/BUILD.gn
new file mode 100644
index 0000000..9f50367
--- /dev/null
+++ b/components/leveldb_proto/testing/proto/BUILD.gn
@@ -0,0 +1,11 @@
+# Copyright 2014 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.
+
+import("//third_party/protobuf/proto_library.gni")
+
+proto_library("proto") {
+ sources = [
+ "test.proto",
+ ]
+}