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