OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # Core sources shared by sessions_content and sessions_ios. These can't | 7 # Core sources shared by sessions_content and sessions_ios. These can't |
8 # be a separate shared library since one symbol is implemented higher up in | 8 # be a separate shared library since one symbol is implemented higher up in |
9 # the sessions_content/ios layer. | 9 # the sessions_content/ios layer. |
10 'sessions_core_sources': [ | 10 'sessions_core_sources': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'sessions/core/tab_restore_service_observer.h', | 42 'sessions/core/tab_restore_service_observer.h', |
43 ], | 43 ], |
44 }, | 44 }, |
45 'targets': [ | 45 'targets': [ |
46 { | 46 { |
47 # GN version: //components/sessions:test_support | 47 # GN version: //components/sessions:test_support |
48 'target_name': 'sessions_test_support', | 48 'target_name': 'sessions_test_support', |
49 'type': 'static_library', | 49 'type': 'static_library', |
50 'dependencies': [ | 50 'dependencies': [ |
51 '../skia/skia.gyp:skia', | 51 '../skia/skia.gyp:skia', |
52 '../sync/sync.gyp:sync', | 52 '../components/sync.gyp:sync', |
53 '../testing/gtest.gyp:gtest', | 53 '../testing/gtest.gyp:gtest', |
54 ], | 54 ], |
55 'include_dirs': [ | 55 'include_dirs': [ |
56 '..', | 56 '..', |
57 ], | 57 ], |
58 'sources': [ | 58 'sources': [ |
59 # Note: sources list duplicated in GN build. | 59 # Note: sources list duplicated in GN build. |
60 'sessions/core/serialized_navigation_entry_test_helper.cc', | 60 'sessions/core/serialized_navigation_entry_test_helper.cc', |
61 'sessions/core/serialized_navigation_entry_test_helper.h', | 61 'sessions/core/serialized_navigation_entry_test_helper.h', |
62 ], | 62 ], |
(...skipping 14 matching lines...) Expand all Loading... |
77 'targets': [ | 77 'targets': [ |
78 { | 78 { |
79 # GN version: //components/sessions | 79 # GN version: //components/sessions |
80 'target_name': 'sessions_content', | 80 'target_name': 'sessions_content', |
81 'type': '<(component)', | 81 'type': '<(component)', |
82 'dependencies': [ | 82 'dependencies': [ |
83 '../base/base.gyp:base', | 83 '../base/base.gyp:base', |
84 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 84 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
85 '../content/content.gyp:content_browser', | 85 '../content/content.gyp:content_browser', |
86 '../skia/skia.gyp:skia', | 86 '../skia/skia.gyp:skia', |
87 '../sync/sync.gyp:sync', | 87 '../components/sync.gyp:sync', |
88 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 88 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
89 '../ui/base/ui_base.gyp:ui_base', | 89 '../ui/base/ui_base.gyp:ui_base', |
90 '../ui/gfx/gfx.gyp:gfx_geometry', | 90 '../ui/gfx/gfx.gyp:gfx_geometry', |
91 '../url/url.gyp:url_lib', | 91 '../url/url.gyp:url_lib', |
92 'keyed_service_core', | 92 'keyed_service_core', |
93 'variations', | 93 'variations', |
94 ], | 94 ], |
95 'include_dirs': [ | 95 'include_dirs': [ |
96 '..', | 96 '..', |
97 ], | 97 ], |
(...skipping 28 matching lines...) Expand all Loading... |
126 }], | 126 }], |
127 }, { # OS==ios | 127 }, { # OS==ios |
128 'targets': [ | 128 'targets': [ |
129 { | 129 { |
130 # GN version: //components/sessions | 130 # GN version: //components/sessions |
131 'target_name': 'sessions_ios', | 131 'target_name': 'sessions_ios', |
132 'type': 'static_library', | 132 'type': 'static_library', |
133 'dependencies': [ | 133 'dependencies': [ |
134 '../base/base.gyp:base', | 134 '../base/base.gyp:base', |
135 '../ios/web/ios_web.gyp:ios_web', | 135 '../ios/web/ios_web.gyp:ios_web', |
136 '../sync/sync.gyp:sync', | 136 '../components/sync.gyp:sync', |
137 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 137 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
138 '../ui/base/ui_base.gyp:ui_base', | 138 '../ui/base/ui_base.gyp:ui_base', |
139 '../ui/gfx/gfx.gyp:gfx_geometry', | 139 '../ui/gfx/gfx.gyp:gfx_geometry', |
140 '../url/url.gyp:url_lib', | 140 '../url/url.gyp:url_lib', |
141 'keyed_service_core', | 141 'keyed_service_core', |
142 'variations', | 142 'variations', |
143 ], | 143 ], |
144 'include_dirs': [ | 144 'include_dirs': [ |
145 '..', | 145 '..', |
146 ], | 146 ], |
147 'defines': [ | 147 'defines': [ |
148 'SESSIONS_IMPLEMENTATION', | 148 'SESSIONS_IMPLEMENTATION', |
149 ], | 149 ], |
150 'sources': [ | 150 'sources': [ |
151 '<@(sessions_core_sources)', | 151 '<@(sessions_core_sources)', |
152 | 152 |
153 'sessions/ios/ios_live_tab.h', | 153 'sessions/ios/ios_live_tab.h', |
154 'sessions/ios/ios_live_tab.mm', | 154 'sessions/ios/ios_live_tab.mm', |
155 'sessions/ios/ios_serialized_navigation_builder.h', | 155 'sessions/ios/ios_serialized_navigation_builder.h', |
156 'sessions/ios/ios_serialized_navigation_builder.mm', | 156 'sessions/ios/ios_serialized_navigation_builder.mm', |
157 'sessions/ios/ios_serialized_navigation_driver.cc', | 157 'sessions/ios/ios_serialized_navigation_driver.cc', |
158 'sessions/ios/ios_serialized_navigation_driver.h', | 158 'sessions/ios/ios_serialized_navigation_driver.h', |
159 ], | 159 ], |
160 }, | 160 }, |
161 ], | 161 ], |
162 }], | 162 }], |
163 ], | 163 ], |
164 | 164 |
165 } | 165 } |
OLD | NEW |