Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / components / dom_distiller.gypi
blob978fddf8527174e3efdefcd15b388f810c9137dd
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
3 # found in the LICENSE file.
6   'conditions': [
7     ['android_webview_build == 0', {
8       'targets': [
9         {
10           'target_name': 'dom_distiller_webui',
11           'type': 'static_library',
12           'dependencies': [
13             'component_strings.gyp:component_strings',
14             'distilled_page_proto',
15             'dom_distiller_core',
16             'dom_distiller_resources',
17             '../base/base.gyp:base',
18             '../content/content.gyp:content_browser',
19             '../skia/skia.gyp:skia',
20             '../sync/sync.gyp:sync',
21           ],
22           'include_dirs': [
23             '..',
24           ],
25           'sources': [
26             'dom_distiller/webui/dom_distiller_handler.cc',
27             'dom_distiller/webui/dom_distiller_handler.h',
28             'dom_distiller/webui/dom_distiller_ui.cc',
29             'dom_distiller/webui/dom_distiller_ui.h',
30           ],
31         },
32         {
33           'target_name': 'dom_distiller_resources',
34           'type': 'none',
35           'variables': {
36             'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
37           },
38           'actions': [
39             {
40               'action_name': 'dom_distiller_resources',
41               'variables': {
42                 'grit_grd_file': 'dom_distiller_resources.grd',
43               },
44               'includes': [ '../build/grit_action.gypi' ],
45             },
46           ],
47           'includes': [ '../build/grit_target.gypi' ],
48         },
49         {
50           'target_name': 'dom_distiller_core',
51           'type': 'static_library',
52           'dependencies': [
53             'distilled_page_proto',
54             'dom_distiller_resources',
55             '../base/base.gyp:base',
56             '../skia/skia.gyp:skia',
57             '../sync/sync.gyp:sync',
58             '../third_party/protobuf/protobuf.gyp:protobuf_lite',
59             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
60           ],
61           'include_dirs': [
62             '..',
63           ],
64           'export_dependent_settings': [
65             'distilled_page_proto',
66           ],
67           'sources': [
68             'dom_distiller/core/article_entry.cc',
69             'dom_distiller/core/article_entry.h',
70             'dom_distiller/core/distiller.cc',
71             'dom_distiller/core/distiller.h',
72             'dom_distiller/core/distiller_page.cc',
73             'dom_distiller/core/distiller_page.h',
74             'dom_distiller/core/distiller_url_fetcher.cc',
75             'dom_distiller/core/distiller_url_fetcher.h',
76             'dom_distiller/core/dom_distiller_constants.cc',
77             'dom_distiller/core/dom_distiller_constants.h',
78             'dom_distiller/core/dom_distiller_database.cc',
79             'dom_distiller/core/dom_distiller_database.h',
80             'dom_distiller/core/dom_distiller_model.cc',
81             'dom_distiller/core/dom_distiller_model.h',
82             'dom_distiller/core/dom_distiller_observer.h',
83             'dom_distiller/core/dom_distiller_service.cc',
84             'dom_distiller/core/dom_distiller_service.h',
85             'dom_distiller/core/dom_distiller_store.cc',
86             'dom_distiller/core/dom_distiller_store.h',
87             'dom_distiller/core/task_tracker.cc',
88             'dom_distiller/core/task_tracker.h',
89           ],
90         },
91         {
92           'target_name': 'dom_distiller_test_support',
93           'type': 'static_library',
94           'dependencies': [
95             'dom_distiller_core',
96             '../sync/sync.gyp:sync',
97             '../testing/gmock.gyp:gmock',
98           ],
99           'include_dirs': [
100             '..',
101           ],
102           'sources': [
103             'dom_distiller/core/dom_distiller_test_util.cc',
104             'dom_distiller/core/dom_distiller_test_util.h',
105             'dom_distiller/core/fake_db.cc',
106             'dom_distiller/core/fake_db.h',
107             'dom_distiller/core/fake_distiller.cc',
108             'dom_distiller/core/fake_distiller.h',
109           ],
110         },
111         {
112           'target_name': 'distilled_page_proto',
113           'type': 'static_library',
114           'sources': [
115             'dom_distiller/core/proto/distilled_page.proto',
116           ],
117           'variables': {
118             'proto_in_dir': 'dom_distiller/core/proto',
119             'proto_out_dir': 'components/dom_distiller/core/proto',
120           },
121           'includes': [ '../build/protoc.gypi' ]
122         },
123       ],
124       'conditions': [
125         ['OS != "ios"', {
126           'targets': [
127             {
128               'target_name': 'dom_distiller_content',
129               'type': 'static_library',
130               'dependencies': [
131                 'dom_distiller_core',
132                 '../skia/skia.gyp:skia',
133                 '../sync/sync.gyp:sync',
134               ],
135               'include_dirs': [
136                 '..',
137               ],
138               'sources': [
139                 'dom_distiller/content/distiller_page_web_contents.cc',
140                 'dom_distiller/content/distiller_page_web_contents.h',
141               ],
142             },
143           ],
144         }],
145       ],
146     }],
147   ],