| OLD | NEW |
| 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", |
| 11 "api_activity_logger.h", | 11 "api_activity_logger.h", |
| 12 "api_definitions_natives.cc", | |
| 13 "api_definitions_natives.h", | |
| 14 "app_runtime_custom_bindings.cc", | 12 "app_runtime_custom_bindings.cc", |
| 15 "app_runtime_custom_bindings.h", | 13 "app_runtime_custom_bindings.h", |
| 16 "app_window_custom_bindings.cc", | 14 "app_window_custom_bindings.cc", |
| 17 "app_window_custom_bindings.h", | 15 "app_window_custom_bindings.h", |
| 18 "binding_generating_native_handler.cc", | |
| 19 "binding_generating_native_handler.h", | |
| 20 "blob_native_handler.cc", | |
| 21 "blob_native_handler.h", | |
| 22 "console.cc", | 16 "console.cc", |
| 23 "console.h", | 17 "console.h", |
| 24 "content_watcher.cc", | 18 "content_watcher.cc", |
| 25 "content_watcher.h", | 19 "content_watcher.h", |
| 26 "context_menus_custom_bindings.cc", | |
| 27 "context_menus_custom_bindings.h", | |
| 28 "css_native_handler.cc", | |
| 29 "css_native_handler.h", | |
| 30 "default_dispatcher_delegate.cc", | 20 "default_dispatcher_delegate.cc", |
| 31 "default_dispatcher_delegate.h", | 21 "default_dispatcher_delegate.h", |
| 32 "dispatcher.cc", | |
| 33 "dispatcher.h", | |
| 34 "dispatcher_delegate.h", | |
| 35 "document_custom_bindings.cc", | 22 "document_custom_bindings.cc", |
| 36 "document_custom_bindings.h", | 23 "document_custom_bindings.h", |
| 37 "dom_activity_logger.cc", | 24 "dom_activity_logger.cc", |
| 38 "dom_activity_logger.h", | 25 "dom_activity_logger.h", |
| 39 "event_bindings.cc", | 26 "event_bindings.cc", |
| 40 "event_bindings.h", | 27 "event_bindings.h", |
| 41 "extension_helper.cc", | 28 "extension_helper.cc", |
| 42 "extension_helper.h", | 29 "extension_helper.h", |
| 43 "extensions_render_frame_observer.cc", | 30 "extensions_render_frame_observer.cc", |
| 44 "extensions_render_frame_observer.h", | 31 "extensions_render_frame_observer.h", |
| 45 "extensions_renderer_client.cc", | 32 "extensions_renderer_client.cc", |
| 46 "extensions_renderer_client.h", | 33 "extensions_renderer_client.h", |
| 47 "extension_groups.h", | 34 "extension_groups.h", |
| 48 "guest_view/guest_view_internal_custom_bindings.cc", | 35 "guest_view/guest_view_internal_custom_bindings.cc", |
| 49 "guest_view/guest_view_internal_custom_bindings.h", | 36 "guest_view/guest_view_internal_custom_bindings.h", |
| 50 "file_system_natives.cc", | |
| 51 "file_system_natives.h", | |
| 52 "i18n_custom_bindings.cc", | 37 "i18n_custom_bindings.cc", |
| 53 "i18n_custom_bindings.h", | 38 "i18n_custom_bindings.h", |
| 54 "id_generator_custom_bindings.cc", | 39 "id_generator_custom_bindings.cc", |
| 55 "id_generator_custom_bindings.h", | 40 "id_generator_custom_bindings.h", |
| 56 "lazy_background_page_native_handler.cc", | |
| 57 "lazy_background_page_native_handler.h", | |
| 58 "logging_native_handler.cc", | |
| 59 "logging_native_handler.h", | |
| 60 "messaging_bindings.cc", | 41 "messaging_bindings.cc", |
| 61 "messaging_bindings.h", | 42 "messaging_bindings.h", |
| 62 "module_system.cc", | 43 "module_system.cc", |
| 63 "module_system.h", | 44 "module_system.h", |
| 64 "native_handler.cc", | |
| 65 "native_handler.h", | |
| 66 "object_backed_native_handler.cc", | |
| 67 "object_backed_native_handler.h", | |
| 68 "print_native_handler.cc", | |
| 69 "print_native_handler.h", | |
| 70 "process_info_native_handler.cc", | |
| 71 "process_info_native_handler.h", | |
| 72 "programmatic_script_injector.cc", | 45 "programmatic_script_injector.cc", |
| 73 "programmatic_script_injector.h", | 46 "programmatic_script_injector.h", |
| 74 "render_view_observer_natives.cc", | |
| 75 "render_view_observer_natives.h", | |
| 76 "request_sender.cc", | 47 "request_sender.cc", |
| 77 "request_sender.h", | 48 "request_sender.h", |
| 78 "resource_bundle_source_map.cc", | 49 "resource_bundle_source_map.cc", |
| 79 "resource_bundle_source_map.h", | 50 "resource_bundle_source_map.h", |
| 80 "resources/app_runtime_custom_bindings.js", | 51 "resources/app_runtime_custom_bindings.js", |
| 81 "resources/app_window_custom_bindings.js", | 52 "resources/app_window_custom_bindings.js", |
| 82 "resources/binding.js", | 53 "resources/binding.js", |
| 83 "resources/context_menus_custom_bindings.js", | 54 "resources/context_menus_custom_bindings.js", |
| 84 "resources/entry_id_manager.js", | 55 "resources/entry_id_manager.js", |
| 85 "resources/event.js", | 56 "resources/event.js", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 102 "resources/set_icon.js", | 73 "resources/set_icon.js", |
| 103 "resources/storage_area.js", | 74 "resources/storage_area.js", |
| 104 "resources/test_custom_bindings.js", | 75 "resources/test_custom_bindings.js", |
| 105 "resources/uncaught_exception_handler.js", | 76 "resources/uncaught_exception_handler.js", |
| 106 "resources/unload_event.js", | 77 "resources/unload_event.js", |
| 107 "resources/utils.js", | 78 "resources/utils.js", |
| 108 "runtime_custom_bindings.cc", | 79 "runtime_custom_bindings.cc", |
| 109 "runtime_custom_bindings.h", | 80 "runtime_custom_bindings.h", |
| 110 "safe_builtins.cc", | 81 "safe_builtins.cc", |
| 111 "safe_builtins.h", | 82 "safe_builtins.h", |
| 112 "send_request_natives.cc", | |
| 113 "send_request_natives.h", | |
| 114 "set_icon_natives.cc", | 83 "set_icon_natives.cc", |
| 115 "set_icon_natives.h", | 84 "set_icon_natives.h", |
| 116 "scoped_persistent.h", | 85 "scoped_persistent.h", |
| 117 "script_context.cc", | 86 "script_context.cc", |
| 118 "script_context.h", | 87 "script_context.h", |
| 119 "script_context_set.cc", | 88 "script_context_set.cc", |
| 120 "script_context_set.h", | 89 "script_context_set.h", |
| 121 "script_injection.cc", | 90 "script_injection.cc", |
| 122 "script_injection.h", | 91 "script_injection.h", |
| 123 "script_injection_manager.cc", | 92 "script_injection_manager.cc", |
| 124 "script_injection_manager.h", | 93 "script_injection_manager.h", |
| 125 "script_injector.h", | 94 "script_injector.h", |
| 126 "scripts_run_info.cc", | 95 "scripts_run_info.cc", |
| 127 "scripts_run_info.h", | 96 "scripts_run_info.h", |
| 128 "static_v8_external_ascii_string_resource.cc", | 97 "static_v8_external_ascii_string_resource.cc", |
| 129 "static_v8_external_ascii_string_resource.h", | 98 "static_v8_external_ascii_string_resource.h", |
| 130 "test_features_native_handler.cc", | |
| 131 "test_features_native_handler.h", | |
| 132 "user_gestures_native_handler.cc", | |
| 133 "user_gestures_native_handler.h", | |
| 134 "user_script_injector.cc", | |
| 135 "user_script_injector.h", | |
| 136 "user_script_set.cc", | |
| 137 "user_script_set.h", | |
| 138 "user_script_set_manager.cc", | |
| 139 "user_script_set_manager.h", | |
| 140 "utils_native_handler.cc", | |
| 141 "utils_native_handler.h", | |
| 142 "v8_context_native_handler.cc", | |
| 143 "v8_context_native_handler.h", | |
| 144 "v8_schema_registry.cc", | 99 "v8_schema_registry.cc", |
| 145 "v8_schema_registry.h", | 100 "v8_schema_registry.h", |
| 146 ] | 101 ] |
| 147 | 102 |
| 148 deps = [ | 103 deps = [ |
| 149 "//chrome:resources", | 104 "//chrome:resources", |
| 150 "//content:resources", | 105 "//content:resources", |
| 151 "//extensions:extensions_resources", | 106 "//extensions:extensions_resources", |
| 152 "//gin", | 107 "//gin", |
| 153 "//mojo/bindings/js", | 108 "//mojo/bindings/js", |
| 154 "//skia", | 109 "//skia", |
| 155 "//third_party/WebKit/public:blink", | 110 "//third_party/WebKit/public:blink", |
| 156 ] | 111 ] |
| 157 | 112 |
| 158 if (is_android) { | 113 if (!is_android) { |
| 159 # Temporary condition for Android until it can stop building | 114 # Temporary condition for Android until it can stop building |
| 160 # the extensions module altogether. These exemptions are taken | 115 # the extensions module altogether. These exemptions are taken |
| 161 # directly from chrome_renderer.gypi as sources are moved | 116 # directly from chrome_renderer.gypi as sources are moved |
| 162 # from //chrome/renderer to //extensions/renderer. | 117 # from //chrome/renderer to //extensions/renderer. |
| 163 sources -= [ | 118 sources += [ |
| 164 "api_definitions_natives.cc", | 119 "api_definitions_natives.cc", |
| 120 "api_definitions_natives.h", |
| 121 "binding_generating_native_handler.cc", |
| 122 "binding_generating_native_handler.h", |
| 123 "blob_native_handler.cc", |
| 124 "blob_native_handler.h", |
| 165 "context_menus_custom_bindings.cc", | 125 "context_menus_custom_bindings.cc", |
| 126 "context_menus_custom_bindings.h", |
| 127 "css_native_handler.cc", |
| 128 "css_native_handler.h", |
| 166 "dispatcher.cc", | 129 "dispatcher.cc", |
| 167 "dispatcher.h", | 130 "dispatcher.h", |
| 131 "dispatcher_delegate.h", |
| 132 "file_system_natives.cc", |
| 133 "file_system_natives.h", |
| 134 "lazy_background_page_native_handler.cc", |
| 135 "lazy_background_page_native_handler.h", |
| 136 "logging_native_handler.cc", |
| 137 "logging_native_handler.h", |
| 138 "native_handler.cc", |
| 139 "native_handler.h", |
| 140 "object_backed_native_handler.cc", |
| 141 "object_backed_native_handler.h", |
| 142 "print_native_handler.cc", |
| 143 "print_native_handler.h", |
| 144 "process_info_native_handler.cc", |
| 145 "process_info_native_handler.h", |
| 168 "render_view_observer_natives.cc", | 146 "render_view_observer_natives.cc", |
| 169 "send_request_natives.cc", | 147 "send_request_natives.cc", |
| 148 "send_request_natives.h", |
| 149 "test_features_native_handler.cc", |
| 150 "test_features_native_handler.h", |
| 151 "user_gestures_native_handler.cc", |
| 152 "user_gestures_native_handler.h", |
| 170 "user_script_injector.cc", | 153 "user_script_injector.cc", |
| 171 "user_script_injector.h", | 154 "user_script_injector.h", |
| 172 "user_script_set.cc", | 155 "user_script_set.cc", |
| 173 "user_script_set.h", | 156 "user_script_set.h", |
| 174 "user_script_set_manager.cc", | 157 "user_script_set_manager.cc", |
| 175 "user_script_set_manager.h", | 158 "user_script_set_manager.h", |
| 159 "utils_native_handler.cc", |
| 160 "utils_native_handler.h", |
| 161 "v8_context_native_handler.cc", |
| 162 "v8_context_native_handler.h", |
| 176 ] | 163 ] |
| 177 } | 164 } |
| 178 | 165 |
| 179 if (is_win) { | 166 if (is_win) { |
| 180 cflags = [ | 167 cflags = [ |
| 181 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 168 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 182 ] | 169 ] |
| 183 } | 170 } |
| 184 } | 171 } |
| OLD | NEW |