summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/BUILD.gn
blob: 3ced1d46bceac4e57de4fe96b505e6b7b6cb2a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/features.gni")

assert(enable_extensions)

# GYP version: extensions/extensions.gyp:extensions_renderer
source_set("renderer") {
  sources = [
    "activity_log_converter_strategy.cc",
    "activity_log_converter_strategy.h",
    "api/automation/automation_api_helper.cc",
    "api/automation/automation_api_helper.h",
    "api_activity_logger.cc",
    "api_activity_logger.h",
    "api_definitions_natives.cc",
    "api_definitions_natives.h",
    "app_runtime_custom_bindings.cc",
    "app_runtime_custom_bindings.h",
    "app_window_custom_bindings.cc",
    "app_window_custom_bindings.h",
    "binding_generating_native_handler.cc",
    "binding_generating_native_handler.h",
    "blob_native_handler.cc",
    "blob_native_handler.h",
    "console.cc",
    "console.h",
    "content_watcher.cc",
    "content_watcher.h",
    "context_menus_custom_bindings.cc",
    "context_menus_custom_bindings.h",
    "css_native_handler.cc",
    "css_native_handler.h",
    "default_dispatcher_delegate.cc",
    "default_dispatcher_delegate.h",
    "dispatcher.cc",
    "dispatcher.h",
    "dispatcher_delegate.h",
    "document_custom_bindings.cc",
    "document_custom_bindings.h",
    "dom_activity_logger.cc",
    "dom_activity_logger.h",
    "event_bindings.cc",
    "event_bindings.h",
    "extension_groups.h",
    "extension_helper.cc",
    "extension_helper.h",
    "extensions_render_frame_observer.cc",
    "extensions_render_frame_observer.h",
    "extensions_renderer_client.cc",
    "extensions_renderer_client.h",
    "file_system_natives.cc",
    "file_system_natives.h",
    "guest_view/extensions_guest_view_container.cc",
    "guest_view/extensions_guest_view_container.h",
    "guest_view/guest_view_container.cc",
    "guest_view/guest_view_container.h",
    "guest_view/guest_view_internal_custom_bindings.cc",
    "guest_view/guest_view_internal_custom_bindings.h",
    "guest_view/mime_handler_view/mime_handler_view_container.cc",
    "guest_view/mime_handler_view/mime_handler_view_container.h",
    "i18n_custom_bindings.cc",
    "i18n_custom_bindings.h",
    "id_generator_custom_bindings.cc",
    "id_generator_custom_bindings.h",
    "lazy_background_page_native_handler.cc",
    "lazy_background_page_native_handler.h",
    "logging_native_handler.cc",
    "logging_native_handler.h",
    "messaging_bindings.cc",
    "messaging_bindings.h",
    "module_system.cc",
    "module_system.h",
    "native_handler.cc",
    "native_handler.h",
    "object_backed_native_handler.cc",
    "object_backed_native_handler.h",
    "print_native_handler.cc",
    "print_native_handler.h",
    "process_info_native_handler.cc",
    "process_info_native_handler.h",
    "programmatic_script_injector.cc",
    "programmatic_script_injector.h",
    "render_view_observer_natives.cc",
    "request_sender.cc",
    "request_sender.h",
    "resource_bundle_source_map.cc",
    "resource_bundle_source_map.h",
    "resources/app_runtime_custom_bindings.js",
    "resources/app_window_custom_bindings.js",
    "resources/binding.js",
    "resources/context_menus_custom_bindings.js",
    "resources/declarative_webrequest_custom_bindings.js",
    "resources/entry_id_manager.js",
    "resources/event.js",
    "resources/extension.css",
    "resources/extension_custom_bindings.js",
    "resources/extension_fonts.css",
    "resources/greasemonkey_api.js",
    "resources/i18n_custom_bindings.js",
    "resources/image_util.js",
    "resources/json_schema.js",
    "resources/last_error.js",
    "resources/messaging.js",
    "resources/messaging_utils.js",
    "resources/permissions_custom_bindings.js",
    "resources/platform_app.css",
    "resources/platform_app.js",
    "resources/runtime_custom_bindings.js",
    "resources/schema_utils.js",
    "resources/send_request.js",
    "resources/set_icon.js",
    "resources/storage_area.js",
    "resources/test_custom_bindings.js",
    "resources/uncaught_exception_handler.js",
    "resources/unload_event.js",
    "resources/utils.js",
    "resources/web_view.js",
    "resources/web_view_events.js",
    "resources/web_view_experimental.js",
    "resources/web_request_custom_bindings.js",
    "resources/web_request_internal_custom_bindings.js",
    "runtime_custom_bindings.cc",
    "runtime_custom_bindings.h",
    "safe_builtins.cc",
    "safe_builtins.h",
    "scoped_persistent.h",
    "script_context.cc",
    "script_context.h",
    "script_context_set.cc",
    "script_context_set.h",
    "script_injection.cc",
    "script_injection.h",
    "script_injection_manager.cc",
    "script_injection_manager.h",
    "script_injector.h",
    "scripts_run_info.cc",
    "scripts_run_info.h",
    "send_request_natives.cc",
    "send_request_natives.h",
    "set_icon_natives.cc",
    "set_icon_natives.h",
    "static_v8_external_one_byte_string_resource.cc",
    "static_v8_external_one_byte_string_resource.h",
    "test_features_native_handler.cc",
    "test_features_native_handler.h",
    "user_gestures_native_handler.cc",
    "user_gestures_native_handler.h",
    "user_script_injector.cc",
    "user_script_injector.h",
    "user_script_set.cc",
    "user_script_set.h",
    "user_script_set_manager.cc",
    "user_script_set_manager.h",
    "utils_native_handler.cc",
    "utils_native_handler.h",
    "v8_context_native_handler.cc",
    "v8_context_native_handler.h",
    "v8_schema_registry.cc",
    "v8_schema_registry.h",
  ]

  deps = [
    "//chrome:resources",
    "//content:resources",
    "//extensions:extensions_resources",
    "//gin",
    "//mojo/edk/js",
    "//skia",
    "//third_party/WebKit/public:blink",
  ]

  if (is_win) {
    cflags = [
      "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
    ]
  }
}