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

Side by Side Diff: components/subresource_filter.gypi

Issue 2098453002: Revert of Data structures for Safe Browsing subresource filtering rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « no previous file | components/subresource_filter/core/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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
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',
58 ], 56 ],
59 'include_dirs': [ 57 'include_dirs': [
60 '..', 58 '..',
61 ], 59 ],
62 'sources': [ 60 'sources': [
63 # Note: sources list duplicated in GN build. 61 # Note: sources list duplicated in GN build.
64 'subresource_filter/core/common/activation_state.cc', 62 'subresource_filter/core/common/activation_state.cc',
65 'subresource_filter/core/common/activation_state.h', 63 'subresource_filter/core/common/activation_state.h',
66 'subresource_filter/core/common/memory_mapped_ruleset.cc', 64 'subresource_filter/core/common/memory_mapped_ruleset.cc',
67 'subresource_filter/core/common/memory_mapped_ruleset.h', 65 'subresource_filter/core/common/memory_mapped_ruleset.h',
68 ], 66 ],
69 'export_dependent_settings': [
70 'subresource_filter_core_common_ruleset_flatbuffer',
71 'subresource_filter_core_common_ruleset_proto',
72 ],
73 },
74 {
75 # GN version: //components/subresource_filter/core/common/flat:flatbuffer
76 'target_name': 'subresource_filter_core_common_ruleset_flatbuffer',
77 'type': 'none',
78 'sources': [
79 # Note: sources list duplicated in GN build.
80 'subresource_filter/core/common/flat/rules.fbs',
81 ],
82 'variables': {
83 'flatc_out_dir': 'components/subresource_filter/core/common/flat'
84 },
85 'includes': ['../third_party/flatbuffers/flatc.gypi'],
86 'dependencies': [
87 '<(DEPTH)/third_party/flatbuffers/flatbuffers.gyp:flatbuffers',
88 ]
89 },
90 {
91 # GN version: //components/subresource_filter/core/common/proto:proto
92 'target_name': 'subresource_filter_core_common_ruleset_proto',
93 'type': 'static_library',
94 'sources': [
95 # Note: sources list duplicated in GN build.
96 'subresource_filter/core/common/proto/rules.proto',
97 ],
98 'variables': {
99 'proto_in_dir': 'subresource_filter/core/common/proto',
100 'proto_out_dir': 'components/subresource_filter/core/common/proto',
101 },
102 'includes': [ '../build/protoc.gypi' ],
103 }, 67 },
104 ], 68 ],
105 'conditions': [ 69 'conditions': [
106 ['OS != "ios"', { 70 ['OS != "ios"', {
107 'targets': [ 71 'targets': [
108 { 72 {
109 # GN version: //components/subresource_filter/content/common 73 # GN version: //components/subresource_filter/content/common
110 'target_name': 'subresource_filter_content_common', 74 'target_name': 'subresource_filter_content_common',
111 'type': 'static_library', 75 'type': 'static_library',
112 'dependencies': [ 76 'dependencies': [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 'subresource_filter/content/browser/content_subresource_filter_drive r.cc', 135 'subresource_filter/content/browser/content_subresource_filter_drive r.cc',
172 'subresource_filter/content/browser/content_subresource_filter_drive r.h', 136 'subresource_filter/content/browser/content_subresource_filter_drive r.h',
173 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.cc', 137 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.cc',
174 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.h', 138 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.h',
175 ], 139 ],
176 }, 140 },
177 ], 141 ],
178 }], 142 }],
179 ], 143 ],
180 } 144 }
OLDNEW
« no previous file with comments | « no previous file | components/subresource_filter/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698