[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 8 | # GN version: //components/sessions |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 9 | 'target_name': 'sessions', |
| 10 | 'type': '<(component)', |
| 11 | 'dependencies': [ |
| 12 | '../base/base.gyp:base', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 13 | '../content/content.gyp:content_browser', |
| 14 | '../skia/skia.gyp:skia', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 15 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 16 | '../url/url.gyp:url_lib', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 17 | ], |
| 18 | 'include_dirs': [ |
| 19 | '..', |
| 20 | ], |
| 21 | 'defines': [ |
| 22 | 'SESSIONS_IMPLEMENTATION', |
| 23 | ], |
| 24 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 25 | # Note: sources list duplicated in GN build. |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 26 | 'sessions/serialized_navigation_entry.cc', |
| 27 | 'sessions/serialized_navigation_entry.h', |
[email protected] | e3f90c60 | 2014-08-18 12:41:59 | [diff] [blame^] | 28 | 'sessions/session_id.cc', |
| 29 | 'sessions/session_id.h', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 30 | ], |
| 31 | 'conditions': [ |
[email protected] | 89abf34 | 2013-04-30 09:20:40 | [diff] [blame] | 32 | ['android_webview_build == 0', { |
| 33 | 'dependencies': [ |
| 34 | '../sync/sync.gyp:sync', |
| 35 | ] |
| 36 | }], |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 37 | ], |
| 38 | }, |
| 39 | { |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 40 | # GN version: //components/sessions:test_support |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 41 | 'target_name': 'sessions_test_support', |
| 42 | 'type': 'static_library', |
| 43 | 'defines!': ['SESSIONS_IMPLEMENTATION'], |
| 44 | 'dependencies': [ |
| 45 | '../skia/skia.gyp:skia', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 46 | '../testing/gtest.gyp:gtest', |
| 47 | ], |
| 48 | 'include_dirs': [ |
| 49 | '..', |
| 50 | ], |
| 51 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 52 | # Note: sources list duplicated in GN build. |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 53 | 'sessions/serialized_navigation_entry_test_helper.cc', |
| 54 | 'sessions/serialized_navigation_entry_test_helper.h', |
| 55 | ], |
[email protected] | 89abf34 | 2013-04-30 09:20:40 | [diff] [blame] | 56 | 'conditions': [ |
| 57 | ['android_webview_build == 0', { |
| 58 | 'dependencies': [ |
| 59 | '../sync/sync.gyp:sync', |
| 60 | ] |
| 61 | }], |
| 62 | ], |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 63 | }, |
| 64 | ], |
| 65 | } |