diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-29 18:13:01 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-29 18:13:01 +0000 |
commit | 40a7e41b4820be63de44ece14c70b3bfe7e4c564 (patch) | |
tree | 7c69188b5bd6cd9a2e6571eb4854b473083d38f7 /components/sessions.gypi | |
parent | f61e7201ea58f7a9395e9c122a8f40c2b8c6b0d5 (diff) | |
download | chromium_src-40a7e41b4820be63de44ece14c70b3bfe7e4c564.zip chromium_src-40a7e41b4820be63de44ece14c70b3bfe7e4c564.tar.gz chromium_src-40a7e41b4820be63de44ece14c70b3bfe7e4c564.tar.bz2 |
Moves TabNavigation into components/sessions and renames
SerializedNaviationEntry. FreezeDriedNavigationEntry is probably an
even better name, but I couldn't bring myself to such a long and wordy
class name.
Additionally did the following changes to make it easier to move:
. exposed a bunch of getters on SerializedNavigationEntry so that you don't need to go through SerializedNavigationTestHelper.
. Make WriteToPickle take the max size. This way the code doesn't have a dependency on SessionID.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/14497003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/sessions.gypi')
-rw-r--r-- | components/sessions.gypi | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/components/sessions.gypi b/components/sessions.gypi new file mode 100644 index 0000000..d8820b8 --- /dev/null +++ b/components/sessions.gypi @@ -0,0 +1,54 @@ +# Copyright (c) 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'sessions', + 'type': '<(component)', + 'dependencies': [ + '../base/base.gyp:base', + '../build/temp_gyp/googleurl.gyp:googleurl', + '../content/content.gyp:content_browser', + '../skia/skia.gyp:skia', + '../sync/sync.gyp:sync', + '../third_party/protobuf/protobuf.gyp:protobuf_lite', + ], + 'include_dirs': [ + '..', + ], + 'defines': [ + 'SESSIONS_IMPLEMENTATION', + ], + 'sources': [ + 'sessions/serialized_navigation_entry.cc', + 'sessions/serialized_navigation_entry.h', + ], + 'conditions': [ + ['OS != "ios"', { + 'dependencies': [ + '../webkit/support/webkit_support.gyp:glue', + ] + }], + ], + }, + { + 'target_name': 'sessions_test_support', + 'type': 'static_library', + 'defines!': ['SESSIONS_IMPLEMENTATION'], + 'dependencies': [ + '../skia/skia.gyp:skia', + '../sync/sync.gyp:sync', + '../testing/gtest.gyp:gtest', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'sessions/serialized_navigation_entry_test_helper.cc', + 'sessions/serialized_navigation_entry_test_helper.h', + ], + }, + ], +} |