OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP version: components/dom_distiller.gypi:dom_distiller_core | 5 # GYP version: components/dom_distiller.gypi:dom_distiller_core |
6 static_library("core") { | 6 source_set("core") { |
7 sources = [ | 7 sources = [ |
8 "../android/component_jni_registrar.cc", | 8 "../android/component_jni_registrar.cc", |
9 "../android/component_jni_registrar.h", | 9 "../android/component_jni_registrar.h", |
10 "article_distillation_update.cc", | 10 "article_distillation_update.cc", |
11 "article_distillation_update.h", | 11 "article_distillation_update.h", |
12 "article_entry.cc", | 12 "article_entry.cc", |
13 "article_entry.h", | 13 "article_entry.h", |
14 "distilled_content_store.cc", | 14 "distilled_content_store.cc", |
15 "distilled_content_store.h", | 15 "distilled_content_store.h", |
16 "distiller.cc", | 16 "distiller.cc", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "//components/resources", | 56 "//components/resources", |
57 "//components/strings", | 57 "//components/strings", |
58 "//net", | 58 "//net", |
59 "//skia", | 59 "//skia", |
60 "//sync", | 60 "//sync", |
61 "//ui/base", | 61 "//ui/base", |
62 "//url", | 62 "//url", |
63 ] | 63 ] |
64 | 64 |
65 if (is_android) { | 65 if (is_android) { |
| 66 sources += [ |
| 67 "dom_distiller_service_android.cc", |
| 68 "dom_distiller_service_android.h", |
| 69 ] |
66 deps += [ ":jni_headers" ] | 70 deps += [ ":jni_headers" ] |
67 } | 71 } |
68 } | 72 } |
69 | 73 |
70 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support | 74 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support |
71 static_library("test_support") { | 75 static_library("test_support") { |
72 testonly = true | 76 testonly = true |
73 sources = [ | 77 sources = [ |
74 "dom_distiller_test_util.cc", | 78 "dom_distiller_test_util.cc", |
75 "dom_distiller_test_util.h", | 79 "dom_distiller_test_util.h", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 121 |
118 generate_jni("jni_headers") { | 122 generate_jni("jni_headers") { |
119 sources = [ | 123 sources = [ |
120 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP
agePrefs.java", | 124 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP
agePrefs.java", |
121 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erService.java", | 125 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erService.java", |
122 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erUrlUtils.java", | 126 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erUrlUtils.java", |
123 ] | 127 ] |
124 jni_package = "dom_distiller_core" | 128 jni_package = "dom_distiller_core" |
125 } | 129 } |
126 } | 130 } |
OLD | NEW |