| 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   'targets': [ | 6   'targets': [ | 
| 7     { | 7     { | 
| 8       'target_name': 'precache', | 8       'target_name': 'precache', | 
| 9       'type': 'static_library', | 9       'type': 'static_library', | 
| 10       'dependencies': [ | 10       'dependencies': [ | 
|  | 11         'precache_content', | 
| 11         'precache_core', | 12         'precache_core', | 
| 12       ], | 13       ], | 
| 13       'include_dirs': [ | 14       'include_dirs': [ | 
| 14         '..', | 15         '..', | 
| 15       ], | 16       ], | 
| 16     }, | 17     }, | 
| 17     { | 18     { | 
|  | 19       'target_name': 'precache_content', | 
|  | 20       'type': 'static_library', | 
|  | 21       'dependencies': [ | 
|  | 22         'precache_core', | 
|  | 23         '../base/base.gyp:base', | 
|  | 24         '../content/content.gyp:content_browser', | 
|  | 25         '../url/url.gyp:url_lib', | 
|  | 26       ], | 
|  | 27       'include_dirs': [ | 
|  | 28         '..', | 
|  | 29       ], | 
|  | 30       'sources': [ | 
|  | 31         'precache/content/precache_manager.cc', | 
|  | 32         'precache/content/precache_manager.h', | 
|  | 33         'precache/content/precache_manager_factory.cc', | 
|  | 34         'precache/content/precache_manager_factory.h', | 
|  | 35       ], | 
|  | 36     }, | 
|  | 37     { | 
| 18       'target_name': 'precache_core', | 38       'target_name': 'precache_core', | 
| 19       'type': 'static_library', | 39       'type': 'static_library', | 
| 20       'dependencies': [ | 40       'dependencies': [ | 
| 21         'precache_core_proto', | 41         'precache_core_proto', | 
| 22         '../base/base.gyp:base', | 42         '../base/base.gyp:base', | 
| 23         '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 43         '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 
| 24         '../url/url.gyp:url_lib', | 44         '../url/url.gyp:url_lib', | 
| 25       ], | 45       ], | 
| 26       'include_dirs': [ | 46       'include_dirs': [ | 
| 27         '..', | 47         '..', | 
| 28       ], | 48       ], | 
| 29       'sources': [ | 49       'sources': [ | 
|  | 50         'precache/core/precache_database.cc', | 
|  | 51         'precache/core/precache_database.h', | 
| 30         'precache/core/precache_fetcher.cc', | 52         'precache/core/precache_fetcher.cc', | 
| 31         'precache/core/precache_fetcher.h', | 53         'precache/core/precache_fetcher.h', | 
|  | 54         'precache/core/precache_statistics_table.cc', | 
|  | 55         'precache/core/precache_statistics_table.h', | 
| 32         'precache/core/precache_switches.cc', | 56         'precache/core/precache_switches.cc', | 
| 33         'precache/core/precache_switches.h', | 57         'precache/core/precache_switches.h', | 
|  | 58         'precache/core/precache_url_table.cc', | 
|  | 59         'precache/core/precache_url_table.h', | 
|  | 60         'precache/core/url_list_provider.h', | 
| 34       ], | 61       ], | 
| 35       'includes': [ 'precache/precache_defines.gypi', ], | 62       'includes': [ 'precache/precache_defines.gypi', ], | 
| 36       'direct_dependent_settings': { | 63       'direct_dependent_settings': { | 
| 37         # Make direct dependents also include the precache defines. This allows | 64         # Make direct dependents also include the precache defines. This allows | 
| 38         # the unit tests to use these defines. | 65         # the unit tests to use these defines. | 
| 39         'includes': [ 'precache/precache_defines.gypi', ], | 66         'includes': [ 'precache/precache_defines.gypi', ], | 
| 40       }, | 67       }, | 
| 41     }, | 68     }, | 
| 42     { | 69     { | 
| 43       'target_name': 'precache_core_proto', | 70       'target_name': 'precache_core_proto', | 
| 44       'type': 'static_library', | 71       'type': 'static_library', | 
| 45       'sources': [ | 72       'sources': [ | 
| 46         'precache/core/proto/precache.proto', | 73         'precache/core/proto/precache.proto', | 
| 47       ], | 74       ], | 
| 48       'variables': { | 75       'variables': { | 
| 49         'proto_in_dir': 'precache/core/proto', | 76         'proto_in_dir': 'precache/core/proto', | 
| 50         'proto_out_dir': 'components/precache/core/proto', | 77         'proto_out_dir': 'components/precache/core/proto', | 
| 51       }, | 78       }, | 
| 52       'includes': [ '../build/protoc.gypi', ], | 79       'includes': [ '../build/protoc.gypi', ], | 
| 53     }, | 80     }, | 
| 54   ], | 81   ], | 
| 55 } | 82 } | 
| OLD | NEW | 
|---|