Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / sessions / BUILD.gn
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.gn")
7 }
8
9 component("sessions") {
10   sources = [
11     "serialized_navigation_entry.cc",
12     "serialized_navigation_entry.h",
13   ]
14
15   defines = [ "SESSIONS_IMPLEMENTATION" ]
16
17   deps = [
18     "//base",
19     "//content/public/browser",
20     "//skia",
21     "//url",
22   ]
23
24   if (!is_android || !is_android_webview_build) {
25     deps += [ "//sync" ]
26   }
27 }
28
29 static_library("test_support") {
30   sources = [
31     "serialized_navigation_entry_test_helper.cc",
32     "serialized_navigation_entry_test_helper.h",
33   ]
34
35   deps = [
36     "//skia",
37     "//testing/gtest",
38   ]
39
40   if (!is_android || !is_android_webview_build) {
41     deps += [ "//sync" ]
42   }
43 }