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 = [ |
(...skipping 10 matching lines...) Expand all Loading... |
21 "session_id.h", | 21 "session_id.h", |
22 ] | 22 ] |
23 | 23 |
24 defines = [ "SESSIONS_IMPLEMENTATION" ] | 24 defines = [ "SESSIONS_IMPLEMENTATION" ] |
25 | 25 |
26 deps = [ | 26 deps = [ |
27 "//base", | 27 "//base", |
28 "//base/third_party/dynamic_annotations", | 28 "//base/third_party/dynamic_annotations", |
29 "//content/public/browser", | 29 "//content/public/browser", |
30 "//skia", | 30 "//skia", |
| 31 "//third_party/protobuf:protobuf_lite", |
31 "//ui/base", | 32 "//ui/base", |
32 "//url", | 33 "//url", |
33 ] | 34 ] |
34 | 35 |
35 if (!is_android || !is_android_webview_build) { | 36 if (!is_android || !is_android_webview_build) { |
36 deps += [ "//sync" ] | 37 deps += [ "//sync" ] |
37 } | 38 } |
38 } | 39 } |
39 | 40 |
40 static_library("test_support") { | 41 static_library("test_support") { |
41 testonly = true | 42 testonly = true |
42 sources = [ | 43 sources = [ |
43 "serialized_navigation_entry_test_helper.cc", | 44 "serialized_navigation_entry_test_helper.cc", |
44 "serialized_navigation_entry_test_helper.h", | 45 "serialized_navigation_entry_test_helper.h", |
45 ] | 46 ] |
46 | 47 |
47 deps = [ | 48 deps = [ |
48 "//skia", | 49 "//skia", |
49 "//testing/gtest", | 50 "//testing/gtest", |
50 ] | 51 ] |
51 | 52 |
52 if (!is_android || !is_android_webview_build) { | 53 if (!is_android || !is_android_webview_build) { |
53 deps += [ "//sync" ] | 54 deps += [ "//sync" ] |
54 } | 55 } |
55 } | 56 } |
OLD | NEW |