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 # TODO(rohitrao): sessions_core is defined as a source_set because it declares a | 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 | 10 # static function that it does not define. This prevents it from linking as a |
(...skipping 30 matching lines...) Expand all Loading... |
41 "//ui/base", | 41 "//ui/base", |
42 "//ui/gfx", | 42 "//ui/gfx", |
43 "//url", | 43 "//url", |
44 ] | 44 ] |
45 | 45 |
46 if (!is_android || !is_android_webview_build) { | 46 if (!is_android || !is_android_webview_build) { |
47 deps += [ "//sync" ] | 47 deps += [ "//sync" ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 static_library("test_support") { | 51 source_set("test_support") { |
52 testonly = true | 52 testonly = true |
53 sources = [ | 53 sources = [ |
54 "serialized_navigation_entry_test_helper.cc", | 54 "serialized_navigation_entry_test_helper.cc", |
55 "serialized_navigation_entry_test_helper.h", | 55 "serialized_navigation_entry_test_helper.h", |
56 ] | 56 ] |
57 | 57 |
58 deps = [ | 58 deps = [ |
| 59 ":sessions_core", |
59 "//skia", | 60 "//skia", |
60 "//testing/gtest", | 61 "//testing/gtest", |
61 ] | 62 ] |
62 | 63 |
63 if (!is_android || !is_android_webview_build) { | 64 if (!is_android || !is_android_webview_build) { |
64 deps += [ "//sync" ] | 65 deps += [ "//sync" ] |
65 } | 66 } |
66 | 67 |
67 if (!is_android && !is_ios) { | 68 if (!is_android && !is_ios) { |
68 sources += [ | 69 sources += [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ] | 104 ] |
104 deps = [ | 105 deps = [ |
105 ":sessions_content", | 106 ":sessions_content", |
106 "//base/test:test_support", | 107 "//base/test:test_support", |
107 "//testing/gtest", | 108 "//testing/gtest", |
108 "//third_party/protobuf:protobuf_lite", | 109 "//third_party/protobuf:protobuf_lite", |
109 ] | 110 ] |
110 } | 111 } |
111 } | 112 } |
112 | 113 |
OLD | NEW |