OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['android_webview_build == 0', { | 7 ['android_webview_build == 0', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
| 10 # GN version: //components/dom_distiller/webui |
10 'target_name': 'dom_distiller_webui', | 11 'target_name': 'dom_distiller_webui', |
11 'type': 'static_library', | 12 'type': 'static_library', |
12 'dependencies': [ | 13 'dependencies': [ |
13 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
14 '../content/content.gyp:content_browser', | 15 '../content/content.gyp:content_browser', |
15 '../skia/skia.gyp:skia', | 16 '../skia/skia.gyp:skia', |
16 '../sync/sync.gyp:sync', | 17 '../sync/sync.gyp:sync', |
17 'components_resources.gyp:components_resources', | 18 'components_resources.gyp:components_resources', |
18 'components_strings.gyp:components_strings', | 19 'components_strings.gyp:components_strings', |
19 'distilled_page_proto', | 20 'distilled_page_proto', |
20 'dom_distiller_core', | 21 'dom_distiller_core', |
21 ], | 22 ], |
22 'include_dirs': [ | 23 'include_dirs': [ |
23 '..', | 24 '..', |
24 ], | 25 ], |
25 'sources': [ | 26 'sources': [ |
26 'dom_distiller/webui/dom_distiller_handler.cc', | 27 'dom_distiller/webui/dom_distiller_handler.cc', |
27 'dom_distiller/webui/dom_distiller_handler.h', | 28 'dom_distiller/webui/dom_distiller_handler.h', |
28 'dom_distiller/webui/dom_distiller_ui.cc', | 29 'dom_distiller/webui/dom_distiller_ui.cc', |
29 'dom_distiller/webui/dom_distiller_ui.h', | 30 'dom_distiller/webui/dom_distiller_ui.h', |
30 ], | 31 ], |
31 }, | 32 }, |
32 { | 33 { |
| 34 # GN version: //components/dom_distiller/core |
33 'target_name': 'dom_distiller_core', | 35 'target_name': 'dom_distiller_core', |
34 'type': 'static_library', | 36 'type': 'static_library', |
35 'dependencies': [ | 37 'dependencies': [ |
36 '../base/base.gyp:base', | 38 '../base/base.gyp:base', |
37 '../skia/skia.gyp:skia', | 39 '../skia/skia.gyp:skia', |
38 '../sync/sync.gyp:sync', | 40 '../sync/sync.gyp:sync', |
39 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_
js_proto', | 41 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_
js_proto', |
40 'components.gyp:leveldb_proto', | 42 'components.gyp:leveldb_proto', |
41 'components_resources.gyp:components_resources', | 43 'components_resources.gyp:components_resources', |
42 'components_strings.gyp:components_strings', | 44 'components_strings.gyp:components_strings', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 ], | 90 ], |
89 'conditions': [ | 91 'conditions': [ |
90 ['OS == "android"', { | 92 ['OS == "android"', { |
91 'dependencies': [ | 93 'dependencies': [ |
92 'dom_distiller_core_jni_headers', | 94 'dom_distiller_core_jni_headers', |
93 ], | 95 ], |
94 }], | 96 }], |
95 ], | 97 ], |
96 }, | 98 }, |
97 { | 99 { |
| 100 # GN version: components/dom_distiller/core:test_support |
98 'target_name': 'dom_distiller_test_support', | 101 'target_name': 'dom_distiller_test_support', |
99 'type': 'static_library', | 102 'type': 'static_library', |
100 'dependencies': [ | 103 'dependencies': [ |
101 'dom_distiller_core', | 104 'dom_distiller_core', |
102 'components.gyp:leveldb_proto_test_support', | 105 'components.gyp:leveldb_proto_test_support', |
103 '../sync/sync.gyp:sync', | 106 '../sync/sync.gyp:sync', |
104 '../testing/gmock.gyp:gmock', | 107 '../testing/gmock.gyp:gmock', |
105 ], | 108 ], |
106 'include_dirs': [ | 109 'include_dirs': [ |
107 '..', | 110 '..', |
108 ], | 111 ], |
109 'sources': [ | 112 'sources': [ |
110 'dom_distiller/core/dom_distiller_test_util.cc', | 113 'dom_distiller/core/dom_distiller_test_util.cc', |
111 'dom_distiller/core/dom_distiller_test_util.h', | 114 'dom_distiller/core/dom_distiller_test_util.h', |
112 'dom_distiller/core/fake_distiller.cc', | 115 'dom_distiller/core/fake_distiller.cc', |
113 'dom_distiller/core/fake_distiller.h', | 116 'dom_distiller/core/fake_distiller.h', |
114 'dom_distiller/core/fake_distiller_page.cc', | 117 'dom_distiller/core/fake_distiller_page.cc', |
115 'dom_distiller/core/fake_distiller_page.h', | 118 'dom_distiller/core/fake_distiller_page.h', |
116 ], | 119 ], |
117 }, | 120 }, |
118 { | 121 { |
| 122 # GN version: //components/dom_distiller/core/proto |
119 'target_name': 'distilled_page_proto', | 123 'target_name': 'distilled_page_proto', |
120 'type': 'static_library', | 124 'type': 'static_library', |
121 'sources': [ | 125 'sources': [ |
122 'dom_distiller/core/proto/distilled_article.proto', | 126 'dom_distiller/core/proto/distilled_article.proto', |
123 'dom_distiller/core/proto/distilled_page.proto', | 127 'dom_distiller/core/proto/distilled_page.proto', |
124 ], | 128 ], |
125 'variables': { | 129 'variables': { |
126 'proto_in_dir': 'dom_distiller/core/proto', | 130 'proto_in_dir': 'dom_distiller/core/proto', |
127 'proto_out_dir': 'components/dom_distiller/core/proto', | 131 'proto_out_dir': 'components/dom_distiller/core/proto', |
128 }, | 132 }, |
129 'includes': [ '../build/protoc.gypi' ] | 133 'includes': [ '../build/protoc.gypi' ] |
130 }, | 134 }, |
131 ], | 135 ], |
132 'conditions': [ | 136 'conditions': [ |
133 ['OS != "ios"', { | 137 ['OS != "ios"', { |
134 'targets': [ | 138 'targets': [ |
135 { | 139 { |
| 140 # GN version: //components/dom_distiller/content |
136 'target_name': 'dom_distiller_content', | 141 'target_name': 'dom_distiller_content', |
137 'type': 'static_library', | 142 'type': 'static_library', |
138 'dependencies': [ | 143 'dependencies': [ |
139 '../content/content.gyp:content_browser', | 144 '../content/content.gyp:content_browser', |
140 '../net/net.gyp:net', | 145 '../net/net.gyp:net', |
141 '../skia/skia.gyp:skia', | 146 '../skia/skia.gyp:skia', |
142 '../sync/sync.gyp:sync', | 147 '../sync/sync.gyp:sync', |
143 'components_resources.gyp:components_resources', | 148 'components_resources.gyp:components_resources', |
144 'components_strings.gyp:components_strings', | 149 'components_strings.gyp:components_strings', |
145 'dom_distiller_core', | 150 'dom_distiller_core', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 'jni_gen_package': 'dom_distiller_core', | 186 'jni_gen_package': 'dom_distiller_core', |
182 }, | 187 }, |
183 'includes': [ '../build/jni_generator.gypi' ], | 188 'includes': [ '../build/jni_generator.gypi' ], |
184 }, | 189 }, |
185 ], | 190 ], |
186 }], | 191 }], |
187 ], | 192 ], |
188 }], | 193 }], |
189 ], | 194 ], |
190 } | 195 } |
OLD | NEW |