1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 import("//build/config/android/config.gni")
9 # TODO(rohitrao): sessions_core is defined as a source_set because it declares a
10 # static function that it does not define. This prevents it from linking as a
11 # shared_library. It also cannot be a static_library because it will be linked
12 # into multiple shared libraries. Revisit this setup if necessary.
13 source_set("sessions_core") {
15 "core/serialized_navigation_driver.h",
16 "serialized_navigation_entry.cc",
17 "serialized_navigation_entry.h",
22 defines = [ "SESSIONS_IMPLEMENTATION" ]
27 "//third_party/protobuf:protobuf_lite",
32 if (!is_android || !is_android_webview_build) {
37 static_library("test_support") {
40 "serialized_navigation_entry_test_helper.cc",
41 "serialized_navigation_entry_test_helper.h",
49 if (!is_android || !is_android_webview_build) {
55 component("sessions_content") {
57 "content/content_serialized_navigation_builder.cc",
58 "content/content_serialized_navigation_builder.h",
59 "content/content_serialized_navigation_driver.cc",
60 "content/content_serialized_navigation_driver.h",
63 defines = [ "SESSIONS_IMPLEMENTATION" ]
68 "//base/third_party/dynamic_annotations",
69 "//content/public/browser",