OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/subresource_filter/core/browser | 8 # GN version: //components/subresource_filter/core/browser |
9 'target_name': 'subresource_filter_core_browser', | 9 'target_name': 'subresource_filter_core_browser', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 'sources': [ | 105 'sources': [ |
106 # Note: sources list duplicated in GN build. | 106 # Note: sources list duplicated in GN build. |
107 'subresource_filter/core/common/proto/rules.proto', | 107 'subresource_filter/core/common/proto/rules.proto', |
108 ], | 108 ], |
109 'variables': { | 109 'variables': { |
110 'proto_in_dir': 'subresource_filter/core/common/proto', | 110 'proto_in_dir': 'subresource_filter/core/common/proto', |
111 'proto_out_dir': 'components/subresource_filter/core/common/proto', | 111 'proto_out_dir': 'components/subresource_filter/core/common/proto', |
112 }, | 112 }, |
113 'includes': [ '../build/protoc.gypi' ], | 113 'includes': [ '../build/protoc.gypi' ], |
114 }, | 114 }, |
| 115 { |
| 116 # GN version: //components/subresource_filter/core/common:test_support |
| 117 'target_name': 'subresource_filter_core_common_test_support', |
| 118 'type': 'static_library', |
| 119 'dependencies': [ |
| 120 '../base/base.gyp:base', |
| 121 '../testing/gtest.gyp:gtest', |
| 122 ], |
| 123 'include_dirs': [ |
| 124 '..', |
| 125 ], |
| 126 'sources': [ |
| 127 # Note: sources list duplicated in GN build. |
| 128 'subresource_filter/core/common/test_ruleset_creator.cc', |
| 129 'subresource_filter/core/common/test_ruleset_creator.h', |
| 130 ], |
| 131 }, |
115 ], | 132 ], |
116 'conditions': [ | 133 'conditions': [ |
117 ['OS != "ios"', { | 134 ['OS != "ios"', { |
118 'targets': [ | 135 'targets': [ |
119 { | 136 { |
120 # GN version: //components/subresource_filter/content/common | 137 # GN version: //components/subresource_filter/content/common |
121 'target_name': 'subresource_filter_content_common', | 138 'target_name': 'subresource_filter_content_common', |
122 'type': 'static_library', | 139 'type': 'static_library', |
123 'dependencies': [ | 140 'dependencies': [ |
124 '../content/content.gyp:content_common', | 141 '../content/content.gyp:content_common', |
(...skipping 20 matching lines...) Expand all Loading... |
145 '../content/content.gyp:content_renderer', | 162 '../content/content.gyp:content_renderer', |
146 '../ipc/ipc.gyp:ipc', | 163 '../ipc/ipc.gyp:ipc', |
147 'subresource_filter_content_common', | 164 'subresource_filter_content_common', |
148 'subresource_filter_core_common', | 165 'subresource_filter_core_common', |
149 ], | 166 ], |
150 'include_dirs': [ | 167 'include_dirs': [ |
151 '..', | 168 '..', |
152 ], | 169 ], |
153 'sources': [ | 170 'sources': [ |
154 # Note: sources list duplicated in GN build. | 171 # Note: sources list duplicated in GN build. |
| 172 'subresource_filter/content/renderer/document_subresource_filter.cc'
, |
| 173 'subresource_filter/content/renderer/document_subresource_filter.h', |
155 'subresource_filter/content/renderer/ruleset_dealer.cc', | 174 'subresource_filter/content/renderer/ruleset_dealer.cc', |
156 'subresource_filter/content/renderer/ruleset_dealer.h', | 175 'subresource_filter/content/renderer/ruleset_dealer.h', |
157 'subresource_filter/content/renderer/subresource_filter_agent.cc', | 176 'subresource_filter/content/renderer/subresource_filter_agent.cc', |
158 'subresource_filter/content/renderer/subresource_filter_agent.h', | 177 'subresource_filter/content/renderer/subresource_filter_agent.h', |
159 ], | 178 ], |
160 }, | 179 }, |
161 { | 180 { |
162 # GN version: //components/subresource_filter/content/browser | 181 # GN version: //components/subresource_filter/content/browser |
163 'target_name': 'subresource_filter_content_browser', | 182 'target_name': 'subresource_filter_content_browser', |
164 'type': 'static_library', | 183 'type': 'static_library', |
(...skipping 17 matching lines...) Expand all Loading... |
182 'subresource_filter/content/browser/content_subresource_filter_drive
r.cc', | 201 'subresource_filter/content/browser/content_subresource_filter_drive
r.cc', |
183 'subresource_filter/content/browser/content_subresource_filter_drive
r.h', | 202 'subresource_filter/content/browser/content_subresource_filter_drive
r.h', |
184 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.cc', | 203 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.cc', |
185 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.h', | 204 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.h', |
186 ], | 205 ], |
187 }, | 206 }, |
188 ], | 207 ], |
189 }], | 208 }], |
190 ], | 209 ], |
191 } | 210 } |
OLD | NEW |