OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 } | 8 } |
9 | 9 |
10 static_library("core") { | 10 static_library("core") { |
11 sources = [ | 11 sources = [ |
12 "offline_content_aggregator.cc", | 12 "offline_content_aggregator.cc", |
13 "offline_content_aggregator.h", | 13 "offline_content_aggregator.h", |
14 "offline_content_provider.h", | 14 "offline_content_provider.h", |
15 "offline_item.cc", | 15 "offline_item.cc", |
16 "offline_item.h", | 16 "offline_item.h", |
17 | |
18 # TODO(dtrainor): Generate the Java version of these enums when the Android | |
19 # bridge is built. | |
20 "offline_item_filter.h", | 17 "offline_item_filter.h", |
21 "offline_item_state.h", | 18 "offline_item_state.h", |
22 ] | 19 ] |
23 | 20 |
24 public_deps = [ | 21 public_deps = [ |
25 "//base", | 22 "//base", |
| 23 "//components/keyed_service/core", |
26 "//url", | 24 "//url", |
27 ] | 25 ] |
28 | 26 |
29 deps = [] | 27 deps = [] |
30 | 28 |
31 if (is_android) { | 29 if (is_android) { |
32 sources += [ | 30 sources += [ |
33 "android/offline_content_aggregator_bridge.cc", | 31 "android/offline_content_aggregator_bridge.cc", |
34 "android/offline_content_aggregator_bridge.h", | 32 "android/offline_content_aggregator_bridge.h", |
35 "android/offline_item_bridge.cc", | 33 "android/offline_item_bridge.cc", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 83 |
86 java_cpp_enum("jni_enums") { | 84 java_cpp_enum("jni_enums") { |
87 visibility = [ ":*" ] | 85 visibility = [ ":*" ] |
88 | 86 |
89 sources = [ | 87 sources = [ |
90 "offline_item_filter.h", | 88 "offline_item_filter.h", |
91 "offline_item_state.h", | 89 "offline_item_state.h", |
92 ] | 90 ] |
93 } | 91 } |
94 } | 92 } |
OLD | NEW |