| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN version: //components/subresource_filter/core/browser | |
| 9 'target_name': 'subresource_filter_core_browser', | |
| 10 'type': 'static_library', | |
| 11 'dependencies': [ | |
| 12 '../base/base.gyp:base', | |
| 13 '../components/components.gyp:variations', | |
| 14 '../components/prefs/prefs.gyp:prefs', | |
| 15 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
| 16 'subresource_filter_core_common', | |
| 17 ], | |
| 18 'include_dirs': [ | |
| 19 '..', | |
| 20 ], | |
| 21 'sources': [ | |
| 22 # Note: sources list duplicated in GN build. | |
| 23 'subresource_filter/core/browser/ruleset_distributor.h', | |
| 24 'subresource_filter/core/browser/ruleset_service.cc', | |
| 25 'subresource_filter/core/browser/ruleset_service.h', | |
| 26 'subresource_filter/core/browser/subresource_filter_client.h', | |
| 27 'subresource_filter/core/browser/subresource_filter_constants.cc', | |
| 28 'subresource_filter/core/browser/subresource_filter_constants.h', | |
| 29 'subresource_filter/core/browser/subresource_filter_features.cc', | |
| 30 'subresource_filter/core/browser/subresource_filter_features.h', | |
| 31 ], | |
| 32 }, | |
| 33 { | |
| 34 # GN version: //components/subresource_filter/core/browser:test_support | |
| 35 'target_name': 'subresource_filter_core_browser_test_support', | |
| 36 'type': 'static_library', | |
| 37 'dependencies': [ | |
| 38 '../base/base.gyp:base', | |
| 39 '../components/components.gyp:variations', | |
| 40 '../testing/gtest.gyp:gtest', | |
| 41 'subresource_filter_core_browser', | |
| 42 ], | |
| 43 'include_dirs': [ | |
| 44 '..', | |
| 45 ], | |
| 46 'sources': [ | |
| 47 # Note: sources list duplicated in GN build. | |
| 48 'subresource_filter/core/browser/subresource_filter_features_test_suppor
t.cc', | |
| 49 'subresource_filter/core/browser/subresource_filter_features_test_suppor
t.h', | |
| 50 ], | |
| 51 }, | |
| 52 { | |
| 53 # GN version: //components/subresource_filter/core/common | |
| 54 'target_name': 'subresource_filter_core_common', | |
| 55 'type': 'static_library', | |
| 56 'dependencies': [ | |
| 57 '../base/base.gyp:base', | |
| 58 '../net/net.gyp:net', | |
| 59 '../third_party/flatbuffers/flatbuffers.gyp:flatbuffers', | |
| 60 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
| 61 '../url/url.gyp:url_lib', | |
| 62 'subresource_filter_core_common_ruleset_flatbuffer', | |
| 63 'subresource_filter_core_common_ruleset_proto', | |
| 64 ], | |
| 65 'include_dirs': [ | |
| 66 '..', | |
| 67 ], | |
| 68 'sources': [ | |
| 69 # Note: sources list duplicated in GN build. | |
| 70 'subresource_filter/core/common/activation_scope.cc', | |
| 71 'subresource_filter/core/common/activation_scope.h', | |
| 72 'subresource_filter/core/common/activation_state.cc', | |
| 73 'subresource_filter/core/common/activation_state.h', | |
| 74 'subresource_filter/core/common/closed_hash_map.h', | |
| 75 'subresource_filter/core/common/copying_file_stream.cc', | |
| 76 'subresource_filter/core/common/copying_file_stream.h', | |
| 77 'subresource_filter/core/common/fuzzy_pattern_matching.cc', | |
| 78 'subresource_filter/core/common/fuzzy_pattern_matching.h', | |
| 79 'subresource_filter/core/common/indexed_ruleset.cc', | |
| 80 'subresource_filter/core/common/indexed_ruleset.h', | |
| 81 'subresource_filter/core/common/knuth_morris_pratt.h', | |
| 82 'subresource_filter/core/common/memory_mapped_ruleset.cc', | |
| 83 'subresource_filter/core/common/memory_mapped_ruleset.h', | |
| 84 'subresource_filter/core/common/ngram_extractor.h', | |
| 85 'subresource_filter/core/common/string_splitter.h', | |
| 86 'subresource_filter/core/common/uint64_hasher.h', | |
| 87 'subresource_filter/core/common/unindexed_ruleset.cc', | |
| 88 'subresource_filter/core/common/unindexed_ruleset.h', | |
| 89 'subresource_filter/core/common/url_pattern.cc', | |
| 90 'subresource_filter/core/common/url_pattern.h', | |
| 91 'subresource_filter/core/common/url_pattern_matching.h', | |
| 92 ], | |
| 93 'export_dependent_settings': [ | |
| 94 'subresource_filter_core_common_ruleset_flatbuffer', | |
| 95 'subresource_filter_core_common_ruleset_proto', | |
| 96 ], | |
| 97 }, | |
| 98 { | |
| 99 # GN version: //components/subresource_filter/core/common/flat:flatbuffer | |
| 100 'target_name': 'subresource_filter_core_common_ruleset_flatbuffer', | |
| 101 'type': 'none', | |
| 102 'sources': [ | |
| 103 # Note: sources list duplicated in GN build. | |
| 104 'subresource_filter/core/common/flat/rules.fbs', | |
| 105 ], | |
| 106 'variables': { | |
| 107 'flatc_out_dir': 'components/subresource_filter/core/common/flat' | |
| 108 }, | |
| 109 'includes': ['../third_party/flatbuffers/flatc.gypi'], | |
| 110 'dependencies': [ | |
| 111 '<(DEPTH)/third_party/flatbuffers/flatbuffers.gyp:flatbuffers', | |
| 112 ] | |
| 113 }, | |
| 114 { | |
| 115 # GN version: //components/subresource_filter/core/common/proto:proto | |
| 116 'target_name': 'subresource_filter_core_common_ruleset_proto', | |
| 117 'type': 'static_library', | |
| 118 'sources': [ | |
| 119 # Note: sources list duplicated in GN build. | |
| 120 'subresource_filter/core/common/proto/rules.proto', | |
| 121 ], | |
| 122 'variables': { | |
| 123 'proto_in_dir': 'subresource_filter/core/common/proto', | |
| 124 'proto_out_dir': 'components/subresource_filter/core/common/proto', | |
| 125 }, | |
| 126 'includes': [ '../build/protoc.gypi' ], | |
| 127 }, | |
| 128 { | |
| 129 # GN version: //components/subresource_filter/core/common:test_support | |
| 130 'target_name': 'subresource_filter_core_common_test_support', | |
| 131 'type': 'static_library', | |
| 132 'dependencies': [ | |
| 133 '../base/base.gyp:base', | |
| 134 '../testing/gtest.gyp:gtest', | |
| 135 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
| 136 'subresource_filter_core_common', | |
| 137 ], | |
| 138 'include_dirs': [ | |
| 139 '..', | |
| 140 ], | |
| 141 'sources': [ | |
| 142 # Note: sources list duplicated in GN build. | |
| 143 'subresource_filter/core/common/test_ruleset_creator.cc', | |
| 144 'subresource_filter/core/common/test_ruleset_creator.h', | |
| 145 ], | |
| 146 }, | |
| 147 ], | |
| 148 'conditions': [ | |
| 149 ['OS != "ios"', { | |
| 150 'targets': [ | |
| 151 { | |
| 152 # GN version: //components/subresource_filter/content/common | |
| 153 'target_name': 'subresource_filter_content_common', | |
| 154 'type': 'static_library', | |
| 155 'dependencies': [ | |
| 156 '../content/content.gyp:content_common', | |
| 157 '../ipc/ipc.gyp:ipc', | |
| 158 'subresource_filter_core_common', | |
| 159 ], | |
| 160 'include_dirs': [ | |
| 161 '..', | |
| 162 ], | |
| 163 'sources': [ | |
| 164 # Note: sources list duplicated in GN build. | |
| 165 'subresource_filter/content/common/subresource_filter_message_genera
tor.cc', | |
| 166 'subresource_filter/content/common/subresource_filter_message_genera
tor.h', | |
| 167 'subresource_filter/content/common/subresource_filter_messages.h', | |
| 168 ], | |
| 169 }, | |
| 170 { | |
| 171 # GN version: //components/subresource_filter/content/renderer | |
| 172 'target_name': 'subresource_filter_content_renderer', | |
| 173 'type': 'static_library', | |
| 174 'dependencies': [ | |
| 175 '../base/base.gyp:base', | |
| 176 '../content/content.gyp:content_common', | |
| 177 '../content/content.gyp:content_renderer', | |
| 178 '../ipc/ipc.gyp:ipc', | |
| 179 'subresource_filter_content_common', | |
| 180 'subresource_filter_core_common', | |
| 181 ], | |
| 182 'include_dirs': [ | |
| 183 '..', | |
| 184 ], | |
| 185 'sources': [ | |
| 186 # Note: sources list duplicated in GN build. | |
| 187 'subresource_filter/content/renderer/document_subresource_filter.cc'
, | |
| 188 'subresource_filter/content/renderer/document_subresource_filter.h', | |
| 189 'subresource_filter/content/renderer/ruleset_dealer.cc', | |
| 190 'subresource_filter/content/renderer/ruleset_dealer.h', | |
| 191 'subresource_filter/content/renderer/subresource_filter_agent.cc', | |
| 192 'subresource_filter/content/renderer/subresource_filter_agent.h', | |
| 193 ], | |
| 194 }, | |
| 195 { | |
| 196 # GN version: //components/subresource_filter/content/browser | |
| 197 'target_name': 'subresource_filter_content_browser', | |
| 198 'type': 'static_library', | |
| 199 'dependencies': [ | |
| 200 '../base/base.gyp:base', | |
| 201 '../content/content.gyp:content_browser', | |
| 202 '../content/content.gyp:content_common', | |
| 203 '../ipc/ipc.gyp:ipc', | |
| 204 'subresource_filter_content_common', | |
| 205 'subresource_filter_core_browser', | |
| 206 'subresource_filter_core_common', | |
| 207 '../url/url.gyp:url_lib', | |
| 208 ], | |
| 209 'include_dirs': [ | |
| 210 '..', | |
| 211 ], | |
| 212 'sources': [ | |
| 213 # Note: sources list duplicated in GN build. | |
| 214 'subresource_filter/content/browser/content_ruleset_distributor.cc', | |
| 215 'subresource_filter/content/browser/content_ruleset_distributor.h', | |
| 216 'subresource_filter/content/browser/content_subresource_filter_drive
r.cc', | |
| 217 'subresource_filter/content/browser/content_subresource_filter_drive
r.h', | |
| 218 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.cc', | |
| 219 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.h', | |
| 220 'subresource_filter/content/browser/subresource_filter_navigation_th
rottle.cc', | |
| 221 'subresource_filter/content/browser/subresource_filter_navigation_th
rottle.h', | |
| 222 ], | |
| 223 }, | |
| 224 ], | |
| 225 }], | |
| 226 ], | |
| 227 } | |
| OLD | NEW |