| 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 source_set("test_support") { | 51 static_library("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", | |
| 60 "//skia", | 59 "//skia", |
| 61 "//testing/gtest", | 60 "//testing/gtest", |
| 62 ] | 61 ] |
| 63 | 62 |
| 64 if (!is_android || !is_android_webview_build) { | 63 if (!is_android || !is_android_webview_build) { |
| 65 deps += [ "//sync" ] | 64 deps += [ "//sync" ] |
| 66 } | 65 } |
| 67 | 66 |
| 68 if (!is_android && !is_ios) { | 67 if (!is_android && !is_ios) { |
| 69 sources += [ | 68 sources += [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 ] | 103 ] |
| 105 deps = [ | 104 deps = [ |
| 106 ":sessions_content", | 105 ":sessions_content", |
| 107 "//base/test:test_support", | 106 "//base/test:test_support", |
| 108 "//testing/gtest", | 107 "//testing/gtest", |
| 109 "//third_party/protobuf:protobuf_lite", | 108 "//third_party/protobuf:protobuf_lite", |
| 110 ] | 109 ] |
| 111 } | 110 } |
| 112 } | 111 } |
| 113 | 112 |
| OLD | NEW |