OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 } | 7 } |
8 | 8 |
9 component("sessions") { | 9 component("sessions") { |
10 sources = [ | 10 sources = [ |
11 "serialized_navigation_entry.cc", | 11 "serialized_navigation_entry.cc", |
12 "serialized_navigation_entry.h", | 12 "serialized_navigation_entry.h", |
13 "session_id.cc", | 13 "session_id.cc", |
14 "session_id.h", | 14 "session_id.h", |
15 ] | 15 ] |
16 | 16 |
17 defines = [ "SESSIONS_IMPLEMENTATION" ] | 17 defines = [ "SESSIONS_IMPLEMENTATION" ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//content/public/browser", | 21 "//content/public/browser", |
22 "//skia", | 22 "//skia", |
| 23 "//third_party/protobuf:protobuf_lite", |
23 "//ui/base", | 24 "//ui/base", |
24 "//url", | 25 "//url", |
25 ] | 26 ] |
26 | 27 |
27 if (!is_android || !is_android_webview_build) { | 28 if (!is_android || !is_android_webview_build) { |
28 deps += [ "//sync" ] | 29 deps += [ "//sync" ] |
29 } | 30 } |
30 } | 31 } |
31 | 32 |
32 static_library("test_support") { | 33 static_library("test_support") { |
33 testonly = true | 34 testonly = true |
34 sources = [ | 35 sources = [ |
35 "serialized_navigation_entry_test_helper.cc", | 36 "serialized_navigation_entry_test_helper.cc", |
36 "serialized_navigation_entry_test_helper.h", | 37 "serialized_navigation_entry_test_helper.h", |
37 ] | 38 ] |
38 | 39 |
39 deps = [ | 40 deps = [ |
40 "//skia", | 41 "//skia", |
41 "//testing/gtest", | 42 "//testing/gtest", |
42 ] | 43 ] |
43 | 44 |
44 if (!is_android || !is_android_webview_build) { | 45 if (!is_android || !is_android_webview_build) { |
45 deps += [ "//sync" ] | 46 deps += [ "//sync" ] |
46 } | 47 } |
47 } | 48 } |
OLD | NEW |