# 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", "resources/worker_frame.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. } }