| 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 config("implementation") { | 9 config("implementation") { |
| 10 defines = [ "SESSIONS_IMPLEMENTATION" ] | 10 defines = [ "SESSIONS_IMPLEMENTATION" ] |
| 11 } | 11 } |
| 12 | 12 |
| 13 if (!is_ios) { | 13 if (!is_ios) { |
| 14 # GYP version: components/sessions.gypi:sessions_content | 14 # GYP version: components/sessions.gypi:sessions_content |
| 15 component("sessions") { | 15 source_set("sessions") { |
| 16 sources = [ | 16 sources = [ |
| 17 "content/content_open_tab.cc", |
| 18 "content/content_open_tab.h", |
| 17 "content/content_serialized_navigation_builder.cc", | 19 "content/content_serialized_navigation_builder.cc", |
| 18 "content/content_serialized_navigation_builder.h", | 20 "content/content_serialized_navigation_builder.h", |
| 19 "content/content_serialized_navigation_driver.cc", | 21 "content/content_serialized_navigation_driver.cc", |
| 20 "content/content_serialized_navigation_driver.h", | 22 "content/content_serialized_navigation_driver.h", |
| 21 "content/content_tab_client_data.cc", | 23 "content/content_tab_client_data.cc", |
| 22 "content/content_tab_client_data.h", | 24 "content/content_tab_client_data.h", |
| 23 ] | 25 ] |
| 24 | 26 |
| 25 configs += [ ":implementation" ] | 27 configs += [ ":implementation" ] |
| 26 | 28 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 # Sources shared between the content and iOS implementations. | 64 # Sources shared between the content and iOS implementations. |
| 63 source_set("shared") { | 65 source_set("shared") { |
| 64 visibility = [ ":*" ] | 66 visibility = [ ":*" ] |
| 65 | 67 |
| 66 sources = [ | 68 sources = [ |
| 67 "base_session_service.cc", | 69 "base_session_service.cc", |
| 68 "base_session_service.h", | 70 "base_session_service.h", |
| 69 "base_session_service_commands.cc", | 71 "base_session_service_commands.cc", |
| 70 "base_session_service_commands.h", | 72 "base_session_service_commands.h", |
| 71 "base_session_service_delegate.h", | 73 "base_session_service_delegate.h", |
| 74 "core/open_tab.h", |
| 72 "core/serialized_navigation_driver.h", | 75 "core/serialized_navigation_driver.h", |
| 73 "core/session_constants.cc", | 76 "core/session_constants.cc", |
| 74 "core/session_constants.h", | 77 "core/session_constants.h", |
| 75 "core/tab_restore_service_client.cc", | 78 "core/tab_restore_service_client.cc", |
| 76 "core/tab_restore_service_client.h", | 79 "core/tab_restore_service_client.h", |
| 77 "serialized_navigation_entry.cc", | 80 "serialized_navigation_entry.cc", |
| 78 "serialized_navigation_entry.h", | 81 "serialized_navigation_entry.h", |
| 79 "session_backend.cc", | 82 "session_backend.cc", |
| 80 "session_backend.h", | 83 "session_backend.h", |
| 81 "session_command.cc", | 84 "session_command.cc", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ] | 143 ] |
| 141 deps = [ | 144 deps = [ |
| 142 ":sessions", | 145 ":sessions", |
| 143 ":test_support", | 146 ":test_support", |
| 144 "//base/test:test_support", | 147 "//base/test:test_support", |
| 145 "//testing/gtest", | 148 "//testing/gtest", |
| 146 "//third_party/protobuf:protobuf_lite", | 149 "//third_party/protobuf:protobuf_lite", |
| 147 ] | 150 ] |
| 148 } | 151 } |
| 149 } | 152 } |
| OLD | NEW |