| 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 "//ui/base", |
| 23 "//url", | 24 "//url", |
| 24 ] | 25 ] |
| 25 | 26 |
| 26 if (!is_android || !is_android_webview_build) { | 27 if (!is_android || !is_android_webview_build) { |
| 27 deps += [ "//sync" ] | 28 deps += [ "//sync" ] |
| 28 } | 29 } |
| 29 } | 30 } |
| 30 | 31 |
| 31 static_library("test_support") { | 32 static_library("test_support") { |
| 32 testonly = true | 33 testonly = true |
| 33 sources = [ | 34 sources = [ |
| 34 "serialized_navigation_entry_test_helper.cc", | 35 "serialized_navigation_entry_test_helper.cc", |
| 35 "serialized_navigation_entry_test_helper.h", | 36 "serialized_navigation_entry_test_helper.h", |
| 36 ] | 37 ] |
| 37 | 38 |
| 38 deps = [ | 39 deps = [ |
| 39 "//skia", | 40 "//skia", |
| 40 "//testing/gtest", | 41 "//testing/gtest", |
| 41 ] | 42 ] |
| 42 | 43 |
| 43 if (!is_android || !is_android_webview_build) { | 44 if (!is_android || !is_android_webview_build) { |
| 44 deps += [ "//sync" ] | 45 deps += [ "//sync" ] |
| 45 } | 46 } |
| 46 } | 47 } |
| OLD | NEW |