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

Side by Side Diff: extensions/renderer/BUILD.gn

Issue 559103003: Cleanup: Remove Dispatcher and UserScript classes from builds where extensions are disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « extensions/extensions.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # GYP version: extensions/extensions.gyp:extensions_renderer 5 # GYP version: extensions/extensions.gyp:extensions_renderer
6 source_set("renderer") { 6 source_set("renderer") {
7 sources = [ 7 sources = [
8 "activity_log_converter_strategy.cc", 8 "activity_log_converter_strategy.cc",
9 "activity_log_converter_strategy.h", 9 "activity_log_converter_strategy.h",
10 "api_activity_logger.cc", 10 "api_activity_logger.cc",
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ] 156 ]
157 157
158 if (is_android) { 158 if (is_android) {
159 # Temporary condition for Android until it can stop building 159 # Temporary condition for Android until it can stop building
160 # the extensions module altogether. These exemptions are taken 160 # the extensions module altogether. These exemptions are taken
161 # directly from chrome_renderer.gypi as sources are moved 161 # directly from chrome_renderer.gypi as sources are moved
162 # from //chrome/renderer to //extensions/renderer. 162 # from //chrome/renderer to //extensions/renderer.
163 sources -= [ 163 sources -= [
164 "api_definitions_natives.cc", 164 "api_definitions_natives.cc",
165 "context_menus_custom_bindings.cc", 165 "context_menus_custom_bindings.cc",
166 "dispatcher.cc",
167 "dispatcher.h",
166 "render_view_observer_natives.cc", 168 "render_view_observer_natives.cc",
167 "send_request_natives.cc", 169 "send_request_natives.cc",
170 "user_script_injector.cc",
171 "user_script_injector.h",
172 "user_script_set.cc",
173 "user_script_set.h",
174 "user_script_set_manager.cc",
175 "user_script_set_manager.h",
168 ] 176 ]
169 } 177 }
170 178
171 if (is_win) { 179 if (is_win) {
172 cflags = [ 180 cflags = [
173 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 181 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
174 ] 182 ]
175 } 183 }
176 } 184 }
OLDNEW
« no previous file with comments | « extensions/extensions.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698