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

Unified Diff: components/sessions/BUILD.gn

Issue 397953005: Add more components to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: less android Created 6 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
« no previous file with comments | « components/sessions.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/BUILD.gn
diff --git a/components/sessions/BUILD.gn b/components/sessions/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..96c22d5dcafe15523edaf0392b20a2d2fa5d5241
--- /dev/null
+++ b/components/sessions/BUILD.gn
@@ -0,0 +1,43 @@
+# 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.
+
+if (is_android) {
+ import("//build/config/android/config.gn")
+}
+
+component("sessions") {
+ sources = [
+ "serialized_navigation_entry.cc",
+ "serialized_navigation_entry.h",
+ ]
+
+ defines = [ "SESSIONS_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//content/public/browser",
+ "//skia",
+ "//url",
+ ]
+
+ if (!is_android || !is_android_webview_build) {
+ deps += [ "//sync" ]
+ }
+}
+
+static_library("test_support") {
+ sources = [
+ "serialized_navigation_entry_test_helper.cc",
+ "serialized_navigation_entry_test_helper.h",
+ ]
+
+ deps = [
+ "//skia",
+ "//testing/gtest",
+ ]
+
+ if (!is_android || !is_android_webview_build) {
+ deps += [ "//sync" ]
+ }
+}
« no previous file with comments | « components/sessions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698