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 static_library("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", |
(...skipping 28 matching lines...) Expand all Loading... |
39 "url_constants.cc", | 39 "url_constants.cc", |
40 "url_constants.h", | 40 "url_constants.h", |
41 "url_utils_android.cc", | 41 "url_utils_android.cc", |
42 "url_utils_android.h", | 42 "url_utils_android.h", |
43 "url_utils.cc", | 43 "url_utils.cc", |
44 "url_utils.h", | 44 "url_utils.h", |
45 "viewer.cc", | 45 "viewer.cc", |
46 "viewer.h", | 46 "viewer.h", |
47 ] | 47 ] |
48 | 48 |
| 49 public_deps = [ |
| 50 "//components/dom_distiller/core/proto", |
| 51 "//third_party/dom_distiller_js:proto", |
| 52 ] |
49 deps = [ | 53 deps = [ |
50 "//base", | 54 "//base", |
51 "//components/dom_distiller/core/proto", | |
52 "//components/leveldb_proto", | 55 "//components/leveldb_proto", |
53 "//components/resources", | 56 "//components/resources", |
54 "//components/strings", | 57 "//components/strings", |
55 "//net", | 58 "//net", |
56 "//skia", | 59 "//skia", |
57 "//sync", | 60 "//sync", |
58 "//third_party/dom_distiller_js:proto", | |
59 "//ui/base", | 61 "//ui/base", |
60 "//url", | 62 "//url", |
61 ] | 63 ] |
62 | 64 |
63 forward_dependent_configs_from = [ | |
64 "//components/dom_distiller/core/proto", | |
65 "//third_party/dom_distiller_js:proto", | |
66 ] | |
67 | |
68 if (is_android) { | 65 if (is_android) { |
69 deps += [ ":jni_headers" ] | 66 deps += [ ":jni_headers" ] |
70 } | 67 } |
71 } | 68 } |
72 | 69 |
73 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support | 70 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support |
74 static_library("test_support") { | 71 static_library("test_support") { |
75 testonly = true | 72 testonly = true |
76 sources = [ | 73 sources = [ |
77 "dom_distiller_test_util.cc", | 74 "dom_distiller_test_util.cc", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 117 |
121 generate_jni("jni_headers") { | 118 generate_jni("jni_headers") { |
122 sources = [ | 119 sources = [ |
123 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP
agePrefs.java", | 120 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP
agePrefs.java", |
124 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erService.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
erUrlUtils.java", | 122 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erUrlUtils.java", |
126 ] | 123 ] |
127 jni_package = "dom_distiller_core" | 124 jni_package = "dom_distiller_core" |
128 } | 125 } |
129 } | 126 } |
OLD | NEW |