| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //components/sessions |
| 8 'target_name': 'sessions', | 9 'target_name': 'sessions', |
| 9 'type': '<(component)', | 10 'type': '<(component)', |
| 10 'dependencies': [ | 11 'dependencies': [ |
| 11 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 12 '../content/content.gyp:content_browser', | 13 '../content/content.gyp:content_browser', |
| 13 '../skia/skia.gyp:skia', | 14 '../skia/skia.gyp:skia', |
| 14 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 15 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 15 '../url/url.gyp:url_lib', | 16 '../url/url.gyp:url_lib', |
| 16 ], | 17 ], |
| 17 'include_dirs': [ | 18 'include_dirs': [ |
| 18 '..', | 19 '..', |
| 19 ], | 20 ], |
| 20 'defines': [ | 21 'defines': [ |
| 21 'SESSIONS_IMPLEMENTATION', | 22 'SESSIONS_IMPLEMENTATION', |
| 22 ], | 23 ], |
| 23 'sources': [ | 24 'sources': [ |
| 25 # Note: sources list duplicated in GN build. |
| 24 'sessions/serialized_navigation_entry.cc', | 26 'sessions/serialized_navigation_entry.cc', |
| 25 'sessions/serialized_navigation_entry.h', | 27 'sessions/serialized_navigation_entry.h', |
| 26 ], | 28 ], |
| 27 'conditions': [ | 29 'conditions': [ |
| 28 ['android_webview_build == 0', { | 30 ['android_webview_build == 0', { |
| 29 'dependencies': [ | 31 'dependencies': [ |
| 30 '../sync/sync.gyp:sync', | 32 '../sync/sync.gyp:sync', |
| 31 ] | 33 ] |
| 32 }], | 34 }], |
| 33 ], | 35 ], |
| 34 }, | 36 }, |
| 35 { | 37 { |
| 38 # GN version: //components/sessions:test_support |
| 36 'target_name': 'sessions_test_support', | 39 'target_name': 'sessions_test_support', |
| 37 'type': 'static_library', | 40 'type': 'static_library', |
| 38 'defines!': ['SESSIONS_IMPLEMENTATION'], | 41 'defines!': ['SESSIONS_IMPLEMENTATION'], |
| 39 'dependencies': [ | 42 'dependencies': [ |
| 40 '../skia/skia.gyp:skia', | 43 '../skia/skia.gyp:skia', |
| 41 '../testing/gtest.gyp:gtest', | 44 '../testing/gtest.gyp:gtest', |
| 42 ], | 45 ], |
| 43 'include_dirs': [ | 46 'include_dirs': [ |
| 44 '..', | 47 '..', |
| 45 ], | 48 ], |
| 46 'sources': [ | 49 'sources': [ |
| 50 # Note: sources list duplicated in GN build. |
| 47 'sessions/serialized_navigation_entry_test_helper.cc', | 51 'sessions/serialized_navigation_entry_test_helper.cc', |
| 48 'sessions/serialized_navigation_entry_test_helper.h', | 52 'sessions/serialized_navigation_entry_test_helper.h', |
| 49 ], | 53 ], |
| 50 'conditions': [ | 54 'conditions': [ |
| 51 ['android_webview_build == 0', { | 55 ['android_webview_build == 0', { |
| 52 'dependencies': [ | 56 'dependencies': [ |
| 53 '../sync/sync.gyp:sync', | 57 '../sync/sync.gyp:sync', |
| 54 ] | 58 ] |
| 55 }], | 59 }], |
| 56 ], | 60 ], |
| 57 }, | 61 }, |
| 58 ], | 62 ], |
| 59 } | 63 } |
| OLD | NEW |