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" ] |
+ } |
+} |