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

Unified Diff: extensions/renderer/BUILD.gn

Issue 566133002: Cleanup: Reorganize extensions renderer build files so we only have to list each file once, rather … (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/extensions.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/BUILD.gn
diff --git a/extensions/renderer/BUILD.gn b/extensions/renderer/BUILD.gn
index 6f47c91c2401873a66c1b0810a936a2825e01b86..d8d8598c3e09622caafdd53309710aea1984f578 100644
--- a/extensions/renderer/BUILD.gn
+++ b/extensions/renderer/BUILD.gn
@@ -9,29 +9,16 @@ source_set("renderer") {
"activity_log_converter_strategy.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",
@@ -47,32 +34,16 @@ source_set("renderer") {
"extension_groups.h",
"guest_view/guest_view_internal_custom_bindings.cc",
"guest_view/guest_view_internal_custom_bindings.h",
- "file_system_natives.cc",
- "file_system_natives.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",
- "render_view_observer_natives.h",
"request_sender.cc",
"request_sender.h",
"resource_bundle_source_map.cc",
@@ -109,8 +80,6 @@ source_set("renderer") {
"runtime_custom_bindings.h",
"safe_builtins.cc",
"safe_builtins.h",
- "send_request_natives.cc",
- "send_request_natives.h",
"set_icon_natives.cc",
"set_icon_natives.h",
"scoped_persistent.h",
@@ -127,20 +96,6 @@ source_set("renderer") {
"scripts_run_info.h",
"static_v8_external_ascii_string_resource.cc",
"static_v8_external_ascii_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",
]
@@ -155,24 +110,56 @@ source_set("renderer") {
"//third_party/WebKit/public:blink",
]
- if (is_android) {
+ if (!is_android) {
# Temporary condition for Android until it can stop building
# the extensions module altogether. These exemptions are taken
# directly from chrome_renderer.gypi as sources are moved
# from //chrome/renderer to //extensions/renderer.
- sources -= [
+ sources += [
"api_definitions_natives.cc",
+ "api_definitions_natives.h",
+ "binding_generating_native_handler.cc",
+ "binding_generating_native_handler.h",
+ "blob_native_handler.cc",
+ "blob_native_handler.h",
"context_menus_custom_bindings.cc",
+ "context_menus_custom_bindings.h",
+ "css_native_handler.cc",
+ "css_native_handler.h",
"dispatcher.cc",
"dispatcher.h",
+ "dispatcher_delegate.h",
+ "file_system_natives.cc",
+ "file_system_natives.h",
+ "lazy_background_page_native_handler.cc",
+ "lazy_background_page_native_handler.h",
+ "logging_native_handler.cc",
+ "logging_native_handler.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",
"render_view_observer_natives.cc",
"send_request_natives.cc",
+ "send_request_natives.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",
]
}
« 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