Index: components/offline_pages.gypi |
diff --git a/components/offline_pages.gypi b/components/offline_pages.gypi |
index 668c8062dc5040d89c7f7edb2be31ab71151d7cc..b71297f5b578fa100254ee295750f0e2b164d5d8 100644 |
--- a/components/offline_pages.gypi |
+++ b/components/offline_pages.gypi |
@@ -15,7 +15,10 @@ |
'../base/base.gyp:base', |
'../net/net.gyp:net', |
'../url/url.gyp:url_lib', |
+ '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
+ 'components.gyp:leveldb_proto', |
'keyed_service_core', |
+ 'offline_pages_proto', |
], |
'sources': [ |
'offline_pages/offline_page_archiver.h', |
@@ -25,7 +28,21 @@ |
'offline_pages/offline_page_model.h', |
'offline_pages/offline_page_metadata_store.cc', |
'offline_pages/offline_page_metadata_store.h', |
+ 'offline_pages/offline_page_metadata_store_impl.cc', |
+ 'offline_pages/offline_page_metadata_store_impl.h', |
], |
}, |
+ { |
+ # Protobuf compiler / generator for the offline page item protocol buffer. |
+ # GN version: //components/offline_pages/proto |
+ 'target_name': 'offline_pages_proto', |
+ 'type': 'static_library', |
+ 'sources': [ 'offline_pages/proto/offline_pages.proto', ], |
+ 'variables': { |
+ 'proto_in_dir': 'offline_pages/proto', |
+ 'proto_out_dir': 'components/offline_pages/proto', |
+ }, |
+ 'includes': [ '../build/protoc.gypi', ], |
+ }, |
], |
} |