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

Side by Side Diff: components/subresource_filter.gypi

Issue 2094803003: Reland 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 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
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/memory_mapped_ruleset.cc', 66 'subresource_filter/core/common/memory_mapped_ruleset.cc',
65 'subresource_filter/core/common/memory_mapped_ruleset.h', 67 'subresource_filter/core/common/memory_mapped_ruleset.h',
66 ], 68 ],
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' ],
67 }, 103 },
68 ], 104 ],
69 'conditions': [ 105 'conditions': [
70 ['OS != "ios"', { 106 ['OS != "ios"', {
71 'targets': [ 107 'targets': [
72 { 108 {
73 # GN version: //components/subresource_filter/content/common 109 # GN version: //components/subresource_filter/content/common
74 'target_name': 'subresource_filter_content_common', 110 'target_name': 'subresource_filter_content_common',
75 'type': 'static_library', 111 'type': 'static_library',
76 'dependencies': [ 112 'dependencies': [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 'subresource_filter/content/browser/content_subresource_filter_drive r.cc', 171 'subresource_filter/content/browser/content_subresource_filter_drive r.cc',
136 'subresource_filter/content/browser/content_subresource_filter_drive r.h', 172 'subresource_filter/content/browser/content_subresource_filter_drive r.h',
137 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.cc', 173 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.cc',
138 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.h', 174 'subresource_filter/content/browser/content_subresource_filter_drive r_factory.h',
139 ], 175 ],
140 }, 176 },
141 ], 177 ],
142 }], 178 }],
143 ], 179 ],
144 } 180 }
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