OLD | NEW |
1 # Copyright 2015 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', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
13 '../components/components.gyp:variations', | 13 '../components/components.gyp:variations', |
14 '../components/prefs/prefs.gyp:prefs', | 14 '../components/prefs/prefs.gyp:prefs', |
15 'subresource_filter_core_common', | 15 'subresource_filter_core_common', |
16 ], | 16 ], |
17 'include_dirs': [ | 17 'include_dirs': [ |
(...skipping 28 matching lines...) Expand all Loading... |
46 'subresource_filter/core/browser/subresource_filter_features_test_suppor
t.cc', | 46 'subresource_filter/core/browser/subresource_filter_features_test_suppor
t.cc', |
47 'subresource_filter/core/browser/subresource_filter_features_test_suppor
t.h', | 47 'subresource_filter/core/browser/subresource_filter_features_test_suppor
t.h', |
48 ], | 48 ], |
49 }, | 49 }, |
50 { | 50 { |
51 # GN version: //components/subresource_filter/core/common | 51 # GN version: //components/subresource_filter/core/common |
52 'target_name': 'subresource_filter_core_common', | 52 'target_name': 'subresource_filter_core_common', |
53 'type': 'static_library', | 53 'type': 'static_library', |
54 'dependencies': [ | 54 'dependencies': [ |
55 '../base/base.gyp:base', | 55 '../base/base.gyp:base', |
| 56 'subresource_filter_core_common_ruleset_flatbuffer', |
| 57 'subresource_filter_core_common_ruleset_proto', |
56 ], | 58 ], |
57 'include_dirs': [ | 59 'include_dirs': [ |
58 '..', | 60 '..', |
59 ], | 61 ], |
60 'sources': [ | 62 'sources': [ |
61 # Note: sources list duplicated in GN build. | 63 # Note: sources list duplicated in GN build. |
62 'subresource_filter/core/common/activation_state.cc', | 64 'subresource_filter/core/common/activation_state.cc', |
63 'subresource_filter/core/common/activation_state.h', | 65 'subresource_filter/core/common/activation_state.h', |
64 'subresource_filter/core/common/closed_hash_map.h', | 66 'subresource_filter/core/common/closed_hash_map.h', |
65 'subresource_filter/core/common/fuzzy_pattern_matching.cc', | 67 'subresource_filter/core/common/fuzzy_pattern_matching.cc', |
66 'subresource_filter/core/common/fuzzy_pattern_matching.h', | 68 'subresource_filter/core/common/fuzzy_pattern_matching.h', |
67 'subresource_filter/core/common/knuth_morris_pratt.h', | 69 'subresource_filter/core/common/knuth_morris_pratt.h', |
68 'subresource_filter/core/common/memory_mapped_ruleset.cc', | 70 'subresource_filter/core/common/memory_mapped_ruleset.cc', |
69 'subresource_filter/core/common/memory_mapped_ruleset.h', | 71 'subresource_filter/core/common/memory_mapped_ruleset.h', |
70 'subresource_filter/core/common/ngram_extractor.h', | 72 'subresource_filter/core/common/ngram_extractor.h', |
71 'subresource_filter/core/common/string_splitter.h', | 73 'subresource_filter/core/common/string_splitter.h', |
72 'subresource_filter/core/common/uint64_hasher.h', | 74 'subresource_filter/core/common/uint64_hasher.h', |
73 ], | 75 ], |
| 76 'export_dependent_settings': [ |
| 77 'subresource_filter_core_common_ruleset_flatbuffer', |
| 78 'subresource_filter_core_common_ruleset_proto', |
| 79 ], |
| 80 }, |
| 81 { |
| 82 # GN version: //components/subresource_filter/core/common/flat:flatbuffer |
| 83 'target_name': 'subresource_filter_core_common_ruleset_flatbuffer', |
| 84 'type': 'none', |
| 85 'sources': [ |
| 86 # Note: sources list duplicated in GN build. |
| 87 'subresource_filter/core/common/flat/rules.fbs', |
| 88 ], |
| 89 'variables': { |
| 90 'flatc_out_dir': 'components/subresource_filter/core/common/flat' |
| 91 }, |
| 92 'includes': ['../third_party/flatbuffers/flatc.gypi'], |
| 93 'dependencies': [ |
| 94 '<(DEPTH)/third_party/flatbuffers/flatbuffers.gyp:flatbuffers', |
| 95 ] |
| 96 }, |
| 97 { |
| 98 # GN version: //components/subresource_filter/core/common/proto:proto |
| 99 'target_name': 'subresource_filter_core_common_ruleset_proto', |
| 100 'type': 'static_library', |
| 101 'sources': [ |
| 102 # Note: sources list duplicated in GN build. |
| 103 'subresource_filter/core/common/proto/rules.proto', |
| 104 ], |
| 105 'variables': { |
| 106 'proto_in_dir': 'subresource_filter/core/common/proto', |
| 107 'proto_out_dir': 'components/subresource_filter/core/common/proto', |
| 108 }, |
| 109 'includes': [ '../build/protoc.gypi' ], |
74 }, | 110 }, |
75 ], | 111 ], |
76 'conditions': [ | 112 'conditions': [ |
77 ['OS != "ios"', { | 113 ['OS != "ios"', { |
78 'targets': [ | 114 'targets': [ |
79 { | 115 { |
80 # GN version: //components/subresource_filter/content/common | 116 # GN version: //components/subresource_filter/content/common |
81 'target_name': 'subresource_filter_content_common', | 117 'target_name': 'subresource_filter_content_common', |
82 'type': 'static_library', | 118 'type': 'static_library', |
83 'dependencies': [ | 119 'dependencies': [ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 'subresource_filter/content/browser/content_subresource_filter_drive
r.cc', | 178 'subresource_filter/content/browser/content_subresource_filter_drive
r.cc', |
143 'subresource_filter/content/browser/content_subresource_filter_drive
r.h', | 179 'subresource_filter/content/browser/content_subresource_filter_drive
r.h', |
144 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.cc', | 180 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.cc', |
145 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.h', | 181 'subresource_filter/content/browser/content_subresource_filter_drive
r_factory.h', |
146 ], | 182 ], |
147 }, | 183 }, |
148 ], | 184 ], |
149 }], | 185 }], |
150 ], | 186 ], |
151 } | 187 } |
OLD | NEW |