Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: components/dom_distiller.gypi

Issue 756233002: Add more components unittests to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 # GN version: //components/dom_distiller/webui
11 'target_name': 'dom_distiller_webui', 11 'target_name': 'dom_distiller_webui',
12 'type': 'static_library', 12 'type': 'static_library',
13 'dependencies': [ 13 'dependencies': [
14 '../base/base.gyp:base', 14 '../base/base.gyp:base',
15 '../content/content.gyp:content_browser', 15 '../content/content.gyp:content_browser',
16 '../net/net.gyp:net',
16 '../skia/skia.gyp:skia', 17 '../skia/skia.gyp:skia',
17 '../sync/sync.gyp:sync', 18 '../sync/sync.gyp:sync',
19 '../url/url.gyp:url_lib',
18 'components_resources.gyp:components_resources', 20 'components_resources.gyp:components_resources',
19 'components_strings.gyp:components_strings', 21 'components_strings.gyp:components_strings',
20 'distilled_page_proto', 22 'distilled_page_proto',
21 'dom_distiller_core', 23 'dom_distiller_core',
22 ], 24 ],
23 'include_dirs': [ 25 'include_dirs': [
24 '..', 26 '..',
25 ], 27 ],
26 'sources': [ 28 'sources': [
27 'dom_distiller/webui/dom_distiller_handler.cc', 29 'dom_distiller/webui/dom_distiller_handler.cc',
28 'dom_distiller/webui/dom_distiller_handler.h', 30 'dom_distiller/webui/dom_distiller_handler.h',
29 'dom_distiller/webui/dom_distiller_ui.cc', 31 'dom_distiller/webui/dom_distiller_ui.cc',
30 'dom_distiller/webui/dom_distiller_ui.h', 32 'dom_distiller/webui/dom_distiller_ui.h',
31 ], 33 ],
32 }, 34 },
33 { 35 {
34 # GN version: //components/dom_distiller/core 36 # GN version: //components/dom_distiller/core
35 'target_name': 'dom_distiller_core', 37 'target_name': 'dom_distiller_core',
36 'type': 'static_library', 38 'type': 'static_library',
37 'dependencies': [ 39 'dependencies': [
38 '../base/base.gyp:base', 40 '../base/base.gyp:base',
41 '../base/base.gyp:base_prefs',
39 '../skia/skia.gyp:skia', 42 '../skia/skia.gyp:skia',
40 '../sync/sync.gyp:sync', 43 '../sync/sync.gyp:sync',
41 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_ js_proto', 44 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_ js_proto',
42 'components.gyp:leveldb_proto', 45 'components.gyp:leveldb_proto',
43 'components_resources.gyp:components_resources', 46 'components_resources.gyp:components_resources',
44 'components_strings.gyp:components_strings', 47 'components_strings.gyp:components_strings',
45 'distilled_page_proto', 48 'distilled_page_proto',
46 'pref_registry', 49 'pref_registry',
47 ], 50 ],
48 'include_dirs': [ 51 'include_dirs': [
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 }, 112 },
110 { 113 {
111 # GN version: components/dom_distiller/core:test_support 114 # GN version: components/dom_distiller/core:test_support
112 'target_name': 'dom_distiller_test_support', 115 'target_name': 'dom_distiller_test_support',
113 'type': 'static_library', 116 'type': 'static_library',
114 'dependencies': [ 117 'dependencies': [
115 'dom_distiller_core', 118 'dom_distiller_core',
116 'components.gyp:leveldb_proto_test_support', 119 'components.gyp:leveldb_proto_test_support',
117 '../sync/sync.gyp:sync', 120 '../sync/sync.gyp:sync',
118 '../testing/gmock.gyp:gmock', 121 '../testing/gmock.gyp:gmock',
122 '../url/url.gyp:url_lib',
119 ], 123 ],
120 'include_dirs': [ 124 'include_dirs': [
121 '..', 125 '..',
122 ], 126 ],
123 'sources': [ 127 'sources': [
124 'dom_distiller/core/dom_distiller_test_util.cc', 128 'dom_distiller/core/dom_distiller_test_util.cc',
125 'dom_distiller/core/dom_distiller_test_util.h', 129 'dom_distiller/core/dom_distiller_test_util.h',
126 'dom_distiller/core/fake_distiller.cc', 130 'dom_distiller/core/fake_distiller.cc',
127 'dom_distiller/core/fake_distiller.h', 131 'dom_distiller/core/fake_distiller.h',
128 'dom_distiller/core/fake_distiller_page.cc', 132 'dom_distiller/core/fake_distiller_page.cc',
(...skipping 16 matching lines...) Expand all
145 }, 149 },
146 ], 150 ],
147 'conditions': [ 151 'conditions': [
148 ['OS != "ios"', { 152 ['OS != "ios"', {
149 'targets': [ 153 'targets': [
150 { 154 {
151 # GN version: //components/dom_distiller/content 155 # GN version: //components/dom_distiller/content
152 'target_name': 'dom_distiller_content', 156 'target_name': 'dom_distiller_content',
153 'type': 'static_library', 157 'type': 'static_library',
154 'dependencies': [ 158 'dependencies': [
159 '../base/base.gyp:base',
155 '../content/content.gyp:content_browser', 160 '../content/content.gyp:content_browser',
156 '../net/net.gyp:net', 161 '../net/net.gyp:net',
157 '../skia/skia.gyp:skia', 162 '../skia/skia.gyp:skia',
158 '../sync/sync.gyp:sync', 163 '../sync/sync.gyp:sync',
164 '../ui/gfx/gfx.gyp:gfx',
165 '../url/url.gyp:url_lib',
159 'components_resources.gyp:components_resources', 166 'components_resources.gyp:components_resources',
160 'components_strings.gyp:components_strings', 167 'components_strings.gyp:components_strings',
161 'dom_distiller_core', 168 'dom_distiller_core',
162 ], 169 ],
163 'include_dirs': [ 170 'include_dirs': [
164 '..', 171 '..',
165 ], 172 ],
166 'sources': [ 173 'sources': [
167 'dom_distiller/content/distiller_page_web_contents.cc', 174 'dom_distiller/content/distiller_page_web_contents.cc',
168 'dom_distiller/content/distiller_page_web_contents.h', 175 'dom_distiller/content/distiller_page_web_contents.h',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 'template_deps': ['dom_distiller/core/theme_list.h'], 236 'template_deps': ['dom_distiller/core/theme_list.h'],
230 }, 237 },
231 'includes': [ '../build/android/java_cpp_template.gypi' ], 238 'includes': [ '../build/android/java_cpp_template.gypi' ],
232 }, 239 },
233 ], 240 ],
234 }], 241 }],
235 ], 242 ],
236 }], 243 }],
237 ], 244 ],
238 } 245 }
OLDNEW
« no previous file with comments | « components/data_reduction_proxy/core/common/BUILD.gn ('k') | components/dom_distiller/content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698