[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 | { |
| 8 | 'target_name': 'sessions', |
| 9 | 'type': '<(component)', |
| 10 | 'dependencies': [ |
| 11 | '../base/base.gyp:base', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 12 | '../content/content.gyp:content_browser', |
| 13 | '../skia/skia.gyp:skia', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 14 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 15 | '../url/url.gyp:url_lib', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 16 | ], |
| 17 | 'include_dirs': [ |
| 18 | '..', |
| 19 | ], |
| 20 | 'defines': [ |
| 21 | 'SESSIONS_IMPLEMENTATION', |
| 22 | ], |
| 23 | 'sources': [ |
| 24 | 'sessions/serialized_navigation_entry.cc', |
| 25 | 'sessions/serialized_navigation_entry.h', |
| 26 | ], |
| 27 | 'conditions': [ |
[email protected] | 89abf34 | 2013-04-30 09:20:40 | [diff] [blame] | 28 | ['android_webview_build == 0', { |
| 29 | 'dependencies': [ |
| 30 | '../sync/sync.gyp:sync', |
| 31 | ] |
| 32 | }], |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 33 | ], |
| 34 | }, |
| 35 | { |
| 36 | 'target_name': 'sessions_test_support', |
| 37 | 'type': 'static_library', |
| 38 | 'defines!': ['SESSIONS_IMPLEMENTATION'], |
| 39 | 'dependencies': [ |
| 40 | '../skia/skia.gyp:skia', |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 41 | '../testing/gtest.gyp:gtest', |
| 42 | ], |
| 43 | 'include_dirs': [ |
| 44 | '..', |
| 45 | ], |
| 46 | 'sources': [ |
| 47 | 'sessions/serialized_navigation_entry_test_helper.cc', |
| 48 | 'sessions/serialized_navigation_entry_test_helper.h', |
| 49 | ], |
[email protected] | 89abf34 | 2013-04-30 09:20:40 | [diff] [blame] | 50 | 'conditions': [ |
| 51 | ['android_webview_build == 0', { |
| 52 | 'dependencies': [ |
| 53 | '../sync/sync.gyp:sync', |
| 54 | ] |
| 55 | }], |
| 56 | ], |
[email protected] | 40a7e41 | 2013-04-29 18:13:01 | [diff] [blame] | 57 | }, |
| 58 | ], |
| 59 | } |