Chromium Code Reviews| Index: components/offline_items_collection/core/BUILD.gn |
| diff --git a/components/offline_items_collection/core/BUILD.gn b/components/offline_items_collection/core/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cad014cac559fcc08b0f037dcc486a8de05f2a00 |
| --- /dev/null |
| +++ b/components/offline_items_collection/core/BUILD.gn |
| @@ -0,0 +1,37 @@ |
| +# Copyright 2017 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. |
| + |
| +source_set("core") { |
|
brettw
2017/03/06 18:35:50
I'd make this a static library. It will build slig
David Trainor- moved to gerrit
2017/03/06 19:03:21
Done.
|
| + sources = [ |
| + "offline_content_aggregator.cc", |
| + "offline_content_aggregator.h", |
| + "offline_content_provider.h", |
| + "offline_item.cc", |
| + "offline_item.h", |
| + |
| + # TODO(dtrainor): Generate the Java version of these enums when the Android |
| + # bridge is built. |
| + "offline_item_filter.h", |
| + "offline_item_state.h", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//url", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
|
brettw
2017/03/06 18:35:50
Keep this as-is.
David Trainor- moved to gerrit
2017/03/06 19:03:20
Acknowledged.
|
| + testonly = true |
| + |
| + sources = [ |
| + "offline_content_aggregator_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":core", |
| + "//base/test:test_support", |
| + "//components/offline_items_collection/core/test_support", |
| + ] |
| +} |