Home | History | Annotate | Download | only in sessions
      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.
      4 
      5 if (is_android) {
      6   import("//build/config/android/config.gni")
      7 }
      8 
      9 component("sessions") {
     10   sources = [
     11     "serialized_navigation_entry.cc",
     12     "serialized_navigation_entry.h",
     13     "session_id.cc",
     14     "session_id.h",
     15   ]
     16 
     17   defines = [ "SESSIONS_IMPLEMENTATION" ]
     18 
     19   deps = [
     20     "//base",
     21     "//content/public/browser",
     22     "//skia",
     23     "//ui/base",
     24     "//url",
     25   ]
     26 
     27   if (!is_android || !is_android_webview_build) {
     28     deps += [ "//sync" ]
     29   }
     30 }
     31 
     32 static_library("test_support") {
     33   testonly = true
     34   sources = [
     35     "serialized_navigation_entry_test_helper.cc",
     36     "serialized_navigation_entry_test_helper.h",
     37   ]
     38 
     39   deps = [
     40     "//skia",
     41     "//testing/gtest",
     42   ]
     43 
     44   if (!is_android || !is_android_webview_build) {
     45     deps += [ "//sync" ]
     46   }
     47 }
     48