Home | History | Annotate | Download | only in renderer
      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
      3 # found in the LICENSE file.
      4 
      5 # GYP version: extensions/extensions.gyp:extensions_renderer
      6 source_set("renderer") {
      7   sources = [
      8     "activity_log_converter_strategy.cc",
      9     "activity_log_converter_strategy.h",
     10     "api_activity_logger.cc",
     11     "api_activity_logger.h",
     12     "api_definitions_natives.cc",
     13     "api_definitions_natives.h",
     14     "app_runtime_custom_bindings.cc",
     15     "app_runtime_custom_bindings.h",
     16     "app_window_custom_bindings.cc",
     17     "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",
     23     "console.h",
     24     "content_watcher.cc",
     25     "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",
     31     "default_dispatcher_delegate.h",
     32     "dispatcher.cc",
     33     "dispatcher.h",
     34     "dispatcher_delegate.h",
     35     "document_custom_bindings.cc",
     36     "document_custom_bindings.h",
     37     "dom_activity_logger.cc",
     38     "dom_activity_logger.h",
     39     "event_bindings.cc",
     40     "event_bindings.h",
     41     "extension_groups.h",
     42     "extension_helper.cc",
     43     "extension_helper.h",
     44     "extensions_render_frame_observer.cc",
     45     "extensions_render_frame_observer.h",
     46     "extensions_renderer_client.cc",
     47     "extensions_renderer_client.h",
     48     "file_system_natives.cc",
     49     "file_system_natives.h",
     50     "guest_view/guest_view_container.cc",
     51     "guest_view/guest_view_container.h",
     52     "guest_view/guest_view_internal_custom_bindings.cc",
     53     "guest_view/guest_view_internal_custom_bindings.h",
     54     "i18n_custom_bindings.cc",
     55     "i18n_custom_bindings.h",
     56     "id_generator_custom_bindings.cc",
     57     "id_generator_custom_bindings.h",
     58     "lazy_background_page_native_handler.cc",
     59     "lazy_background_page_native_handler.h",
     60     "logging_native_handler.cc",
     61     "logging_native_handler.h",
     62     "messaging_bindings.cc",
     63     "messaging_bindings.h",
     64     "module_system.cc",
     65     "module_system.h",
     66     "native_handler.cc",
     67     "native_handler.h",
     68     "object_backed_native_handler.cc",
     69     "object_backed_native_handler.h",
     70     "print_native_handler.cc",
     71     "print_native_handler.h",
     72     "process_info_native_handler.cc",
     73     "process_info_native_handler.h",
     74     "programmatic_script_injector.cc",
     75     "programmatic_script_injector.h",
     76     "render_view_observer_natives.cc",
     77     "request_sender.cc",
     78     "request_sender.h",
     79     "resource_bundle_source_map.cc",
     80     "resource_bundle_source_map.h",
     81     "resources/app_runtime_custom_bindings.js",
     82     "resources/app_window_custom_bindings.js",
     83     "resources/binding.js",
     84     "resources/context_menus_custom_bindings.js",
     85     "resources/declarative_webrequest_custom_bindings.js",
     86     "resources/entry_id_manager.js",
     87     "resources/event.js",
     88     "resources/extension.css",
     89     "resources/extension_custom_bindings.js",
     90     "resources/extension_fonts.css",
     91     "resources/greasemonkey_api.js",
     92     "resources/i18n_custom_bindings.js",
     93     "resources/image_util.js",
     94     "resources/json_schema.js",
     95     "resources/last_error.js",
     96     "resources/messaging.js",
     97     "resources/messaging_utils.js",
     98     "resources/permissions_custom_bindings.js",
     99     "resources/platform_app.css",
    100     "resources/platform_app.js",
    101     "resources/runtime_custom_bindings.js",
    102     "resources/schema_utils.js",
    103     "resources/send_request.js",
    104     "resources/set_icon.js",
    105     "resources/storage_area.js",
    106     "resources/test_custom_bindings.js",
    107     "resources/uncaught_exception_handler.js",
    108     "resources/unload_event.js",
    109     "resources/utils.js",
    110     "resources/web_request_custom_bindings.js",
    111     "resources/web_request_internal_custom_bindings.js",
    112     "runtime_custom_bindings.cc",
    113     "runtime_custom_bindings.h",
    114     "safe_builtins.cc",
    115     "safe_builtins.h",
    116     "scoped_persistent.h",
    117     "script_context.cc",
    118     "script_context.h",
    119     "script_context_set.cc",
    120     "script_context_set.h",
    121     "script_injection.cc",
    122     "script_injection.h",
    123     "script_injection_manager.cc",
    124     "script_injection_manager.h",
    125     "script_injector.h",
    126     "scripts_run_info.cc",
    127     "scripts_run_info.h",
    128     "send_request_natives.cc",
    129     "send_request_natives.h",
    130     "set_icon_natives.cc",
    131     "set_icon_natives.h",
    132     "static_v8_external_ascii_string_resource.cc",
    133     "static_v8_external_ascii_string_resource.h",
    134     "test_features_native_handler.cc",
    135     "test_features_native_handler.h",
    136     "user_gestures_native_handler.cc",
    137     "user_gestures_native_handler.h",
    138     "user_script_injector.cc",
    139     "user_script_injector.h",
    140     "user_script_set.cc",
    141     "user_script_set.h",
    142     "user_script_set_manager.cc",
    143     "user_script_set_manager.h",
    144     "utils_native_handler.cc",
    145     "utils_native_handler.h",
    146     "v8_context_native_handler.cc",
    147     "v8_context_native_handler.h",
    148     "v8_schema_registry.cc",
    149     "v8_schema_registry.h",
    150   ]
    151 
    152   deps = [
    153     "//chrome:resources",
    154     "//content:resources",
    155     "//extensions:extensions_resources",
    156     "//gin",
    157     "//mojo/bindings/js",
    158     "//skia",
    159     "//third_party/WebKit/public:blink",
    160   ]
    161 
    162   if (is_win) {
    163     cflags = [
    164       "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
    165     ]
    166   }
    167 }
    168