Commit 3728a547 authored by brettw's avatar brettw Committed by Commit bot

Inline extensions .gypi files into GN build.

Delete obsolete files.

Review-Url: https://codereview.chromium.org/2302743003
Cr-Commit-Position: refs/heads/master@{#416356}
parent cc5ee3bd
...@@ -260,16 +260,11 @@ exec_script_whitelist = [ ...@@ -260,16 +260,11 @@ exec_script_whitelist = [
"//content/browser/browser.gni", "//content/browser/browser.gni",
"//content/public/android/BUILD.gn", "//content/public/android/BUILD.gn",
"//content/test/BUILD.gn", "//content/test/BUILD.gn",
"//extensions/common/api/schemas.gni",
"//extensions/extensions.gni",
"//extensions/shell/app_shell.gni",
"//extensions/shell/common/api/schemas.gni",
"//google_apis/BUILD.gn", "//google_apis/BUILD.gn",
"//gpu/gles2_conform_support/BUILD.gn", "//gpu/gles2_conform_support/BUILD.gn",
"//gpu/khronos_glcts_support/BUILD.gn", "//gpu/khronos_glcts_support/BUILD.gn",
"//jingle/BUILD.gn", "//jingle/BUILD.gn",
"//net/BUILD.gn", "//net/BUILD.gn",
"//ppapi/ppapi_sources.gni",
"//printing/BUILD.gn", "//printing/BUILD.gn",
"//remoting/host/BUILD.gn", "//remoting/host/BUILD.gn",
"//remoting/remoting_srcs.gni", "//remoting/remoting_srcs.gni",
......
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
import("//extensions/extensions.gni")
import("//testing/test.gni") import("//testing/test.gni")
import("//tools/grit/grit_rule.gni") import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni") import("//tools/grit/repack.gni")
...@@ -60,9 +59,62 @@ grit("extensions_renderer_resources") { ...@@ -60,9 +59,62 @@ grit("extensions_renderer_resources") {
static_library("test_support") { static_library("test_support") {
testonly = true testonly = true
sources = rebase_path(extensions_gypi_values.extensions_test_support_sources, sources = [
".", "browser/api/cast_channel/cast_test_util.cc",
"//extensions") "browser/api/cast_channel/cast_test_util.h",
"browser/api/dns/mock_host_resolver_creator.cc",
"browser/api/dns/mock_host_resolver_creator.h",
"browser/api/storage/settings_test_util.cc",
"browser/api/storage/settings_test_util.h",
"browser/api_test_utils.cc",
"browser/api_test_utils.h",
"browser/api_unittest.cc",
"browser/api_unittest.h",
"browser/app_window/test_app_window_contents.cc",
"browser/app_window/test_app_window_contents.h",
"browser/extension_error_test_util.cc",
"browser/extension_error_test_util.h",
"browser/extensions_test.cc",
"browser/extensions_test.h",
"browser/guest_view/mime_handler_view/test_mime_handler_view_guest.cc",
"browser/guest_view/mime_handler_view/test_mime_handler_view_guest.h",
"browser/mock_extension_system.cc",
"browser/mock_extension_system.h",
"browser/scoped_ignore_content_verifier_for_test.cc",
"browser/scoped_ignore_content_verifier_for_test.h",
"browser/test_extension_registry_observer.cc",
"browser/test_extension_registry_observer.h",
"browser/test_extensions_browser_client.cc",
"browser/test_extensions_browser_client.h",
"browser/test_image_loader.cc",
"browser/test_image_loader.h",
"browser/test_management_policy.cc",
"browser/test_management_policy.h",
"browser/test_runtime_api_delegate.cc",
"browser/test_runtime_api_delegate.h",
"common/extension_builder.cc",
"common/extension_builder.h",
"common/manifest_test.cc",
"common/manifest_test.h",
"common/permissions/permission_message_test_util.cc",
"common/permissions/permission_message_test_util.h",
"common/test_util.cc",
"common/test_util.h",
"renderer/test_extensions_renderer_client.cc",
"renderer/test_extensions_renderer_client.h",
"test/background_page_watcher.cc",
"test/background_page_watcher.h",
"test/extension_test_message_listener.cc",
"test/extension_test_message_listener.h",
"test/result_catcher.cc",
"test/result_catcher.h",
"test/test_content_utility_client.cc",
"test/test_content_utility_client.h",
"test/test_extensions_client.cc",
"test/test_extensions_client.h",
"test/test_permission_message_provider.cc",
"test/test_permission_message_provider.h",
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
......
This diff is collapsed.
# 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.
{
'targets': [
{
# GN version: //extensions/browser/api
'target_name': 'extensions_api_registration',
'type': 'static_library',
# TODO(jschuh): http://crbug.com/167187 size_t -> int
'msvs_disabled_warnings': [ 4267 ],
'includes': [
'../../../build/json_schema_bundle_registration_compile.gypi',
'../../common/api/schemas.gypi',
],
'dependencies': [
'<(DEPTH)/device/serial/serial.gyp:device_serial_mojo',
'<(DEPTH)/extensions/common/api/api.gyp:cast_channel_proto',
'<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
'<(DEPTH)/skia/skia.gyp:skia',
],
},
],
}
This diff is collapsed.
...@@ -5,19 +5,88 @@ ...@@ -5,19 +5,88 @@
import("//build/config/features.gni") import("//build/config/features.gni")
import("//build/json_schema_api.gni") import("//build/json_schema_api.gni")
import("//mojo/public/tools/bindings/mojom.gni") import("//mojo/public/tools/bindings/mojom.gni")
import("schemas.gni")
assert(enable_extensions) assert(enable_extensions)
schema_files = [
"alarms.idl",
"app_current_window_internal.idl",
"app_runtime.idl",
"app_view_guest_internal.json",
"app_window.idl",
"audio.idl",
"bluetooth.idl",
"bluetooth_private.idl",
"bluetooth_socket.idl",
"cast_channel.idl",
"clipboard.idl",
"document_scan.idl",
"display_source.idl",
"dns.idl",
"events.json",
"extensions_manifest_types.json",
"extension_options_internal.idl",
"extension_view_internal.json",
"extension_types.json",
"guest_view_internal.json",
"management.json",
"hid.idl",
"idle.json",
"mime_handler_private.idl",
"mime_handler_view_guest_internal.json",
"mojo_private.idl",
"networking_private.idl",
"power.idl",
"printer_provider.idl",
"printer_provider_internal.idl",
"runtime.json",
"serial.idl",
"socket.idl",
"sockets_tcp.idl",
"sockets_tcp_server.idl",
"sockets_udp.idl",
"storage.json",
"system_cpu.idl",
"system_display.idl",
"system_memory.idl",
"system_network.idl",
"system_storage.idl",
"test.json",
"usb.idl",
"virtual_keyboard_private.json",
"web_request.json",
"web_view_internal.json",
]
if (is_chromeos) {
schema_files += [
"diagnostics.idl",
"networking_config.idl",
"vpn_provider.idl",
"webcam_private.idl",
]
}
uncompiled_sources = [ "web_request_internal.json" ]
uncompiled_bundle_schema_sources = [
"declarative_web_request.json",
"web_view_request.json",
]
root_namespace = "extensions::api::%(namespace)s"
json_schema_api("generated_api") { json_schema_api("generated_api") {
sources = schema_files
schemas = true schemas = true
bundle = true bundle = true
bundle_name = "" bundle_name = ""
# Inherit uncompiled_sources, uncompiled_bundle_schema_sources, and
# root_namespace.
} }
# GYP version: extensions/common/api/api.gyp:extensions_api_mojom
mojom("mojom") { mojom("mojom") {
sources = []
sources = [ sources = [
"mime_handler.mojom", "mime_handler.mojom",
] ]
...@@ -25,7 +94,6 @@ mojom("mojom") { ...@@ -25,7 +94,6 @@ mojom("mojom") {
use_new_wrapper_types = false use_new_wrapper_types = false
} }
# GYP version: extensions/common/api/api.gyp:extensions_api
group("api") { group("api") {
public_deps = [ public_deps = [
":generated_api", ":generated_api",
...@@ -33,8 +101,8 @@ group("api") { ...@@ -33,8 +101,8 @@ group("api") {
] ]
} }
# GYP version: extensions/browser/api/api_registration.gyp:extensions_api_registration
json_schema_api("api_registration") { json_schema_api("api_registration") {
sources = schema_files
impl_dir = "//extensions/browser/api" impl_dir = "//extensions/browser/api"
bundle_registration = true bundle_registration = true
bundle_name = "" bundle_name = ""
...@@ -45,4 +113,7 @@ json_schema_api("api_registration") { ...@@ -45,4 +113,7 @@ json_schema_api("api_registration") {
"//extensions/common/api/cast_channel:cast_channel_proto", "//extensions/common/api/cast_channel:cast_channel_proto",
"//skia", "//skia",
] ]
# Inherit uncompiled_sources, uncompiled_bundle_schema_sources, and
# root_namespace.
} }
# 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.
{
'targets': [
{
# GN version: //extensions/common/api:mojom
'target_name': 'extensions_api_mojom',
# The type of this target must be none. This is so that resources can
# depend upon this target for generating the js bindings files. Any
# generated cpp files must be listed explicitly in chrome_api.
'type': 'none',
'includes': [
'../../../mojo/mojom_bindings_generator.gypi',
],
'sources': [
'mime_handler.mojom',
],
'variables': {
'use_new_wrapper_types': 'false',
},
},
{
# GN version: //extensions/common/api
'target_name': 'extensions_api',
'type': 'static_library',
# TODO(jschuh): http://crbug.com/167187 size_t -> int
'msvs_disabled_warnings': [ 4267 ],
'includes': [
'../../../build/json_schema_bundle_compile.gypi',
'../../../build/json_schema_compile.gypi',
'schemas.gypi',
],
'dependencies': [
'extensions_api_mojom',
'../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'sources': [
'<(SHARED_INTERMEDIATE_DIR)/extensions/common/api/mime_handler.mojom.cc',
'<(SHARED_INTERMEDIATE_DIR)/extensions/common/api/mime_handler.mojom.h',
],
},
{
# Protobuf compiler / generator for chrome.cast.channel-related protocol buffers.
# GN version: //extensions/browser/api/cast_channel:cast_channel_proto
'target_name': 'cast_channel_proto',
'type': 'static_library',
'sources': [
'cast_channel/authority_keys.proto',
'cast_channel/cast_channel.proto',
'cast_channel/logging.proto',
],
'variables': {
'proto_in_dir': 'cast_channel',
'proto_out_dir': 'extensions/common/api/cast_channel',
},
'includes': [ '../../../build/protoc.gypi' ]
},
],
}
# 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.
gypi_values = exec_script("//build/gypi_to_gn.py",
[ rebase_path("schemas.gypi") ],
"scope",
[ "schemas.gypi" ])
sources = gypi_values.schema_files
if (is_chromeos) {
sources += gypi_values.chromeos_schema_files
}
uncompiled_sources = gypi_values.non_compiled_schema_files
uncompiled_bundle_schema_sources = gypi_values.non_compiled_bundle_schema_files
root_namespace = "extensions::api::%(namespace)s"
# 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.
{
'sources': [
'<@(schema_files)',
],
'variables': {
'chromium_code': 1,
'schema_files': [
'alarms.idl',
'app_current_window_internal.idl',
'app_runtime.idl',
'app_view_guest_internal.json',
'app_window.idl',
'audio.idl',
'bluetooth.idl',
'bluetooth_private.idl',
'bluetooth_socket.idl',
'cast_channel.idl',
'clipboard.idl',
'document_scan.idl',
'display_source.idl',
'dns.idl',
'events.json',
'extensions_manifest_types.json',
'extension_options_internal.idl',
'extension_view_internal.json',
'extension_types.json',
'guest_view_internal.json',
'management.json',
'hid.idl',
'idle.json',
'mime_handler_private.idl',
'mime_handler_view_guest_internal.json',
'mojo_private.idl',
'networking_private.idl',
'power.idl',
'printer_provider.idl',
'printer_provider_internal.idl',
'runtime.json',
'serial.idl',
'socket.idl',
'sockets_tcp.idl',
'sockets_tcp_server.idl',
'sockets_udp.idl',
'storage.json',
'system_cpu.idl',
'system_display.idl',
'system_memory.idl',
'system_network.idl',
'system_storage.idl',
'test.json',
'usb.idl',
'virtual_keyboard_private.json',
'web_request.json',
'web_view_internal.json'
],
# ChromeOS-specific schemas.
'chromeos_schema_files': [
'diagnostics.idl',
'networking_config.idl',
'vpn_provider.idl',
'webcam_private.idl',
],
'non_compiled_schema_files': [
'web_request_internal.json',
],
'non_compiled_bundle_schema_files': [
'declarative_web_request.json',
'web_view_request.json',
],
'conditions': [
['chromeos==1', {
'schema_files': [
'<@(chromeos_schema_files)',
],
}]
],
'cc_dir': 'extensions/common/api',
'root_namespace': 'extensions::api::%(namespace)s',
'bundle_name': '',
'impl_dir_': 'extensions/browser/api',
},
}
# 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.
{
'variables': {
# This turns on e.g. the filename-based detection of which
# platforms to include source files on (e.g. files ending in
# _mac.h or _mac.cc are only compiled on MacOSX).
'chromium_code': 1,
},
'includes': [
'javascript_dialog_extensions_client.gypi',
],
'conditions': [
['toolkit_views==1', {
'includes': [
'native_app_window.gypi',
],
}],
],
}
# 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.
# This file defines the extension gypi values. This file is read once and
# cached, which is a performance optimization that allows us to share the
# results of parsing the .gypi file between all extensions BUILD.gn files.
# It also saves us from duplicating this exec_script call.
extensions_gypi_values =
exec_script("//build/gypi_to_gn.py",
[
rebase_path("extensions.gypi"),
"--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
],
"scope",
[ "extensions.gypi" ])
This diff is collapsed.
This diff is collapsed.
# 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.
{
'targets': [
{
'target_name': 'extensions_resources',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions',
},
'dependencies': [
'common/api/api.gyp:extensions_api_mojom',
'../device/serial/serial.gyp:device_serial_mojo',
],
'actions': [
{
'action_name': 'generate_extensions_resources',
'variables': {
'grit_grd_file': 'extensions_resources.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
{
'action_name': 'generate_extensions_browser_resources',
'variables': {
'grit_grd_file': 'browser/resources/extensions_browser_resources.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
{
'action_name': 'generate_extensions_renderer_resources',
'variables': {
'grit_grd_file': 'renderer/resources/extensions_renderer_resources.grd',
'grit_additional_defines': [
'-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)',
],
},
'includes': [ '../build/grit_action.gypi' ],
},
],
'includes': [ '../build/grit_target.gypi' ],
}
]
}
# 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.
{
'targets': [
{
# GN version: //extensions:strings
'target_name': 'extensions_strings',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
},
'actions': [
{
'action_name': 'generate_extensions_strings',
'variables': {
'grit_grd_file': 'extensions_strings.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
],
'includes': [ '../build/grit_target.gypi' ],
},
],
}
...@@ -3,15 +3,190 @@ ...@@ -3,15 +3,190 @@
# found in the LICENSE file. # found in the LICENSE file.
import("//build/config/features.gni") import("//build/config/features.gni")
import("//extensions/extensions.gni")
assert(enable_extensions) assert(enable_extensions)
# GYP version: extensions/extensions.gyp:extensions_renderer # GYP version: extensions/extensions.gyp:extensions_renderer
source_set("renderer") { source_set("renderer") {
sources = rebase_path(extensions_gypi_values.extensions_renderer_sources, sources = [
".", "activity_log_converter_strategy.cc",
"//extensions") "activity_log_converter_strategy.h",
"api/automation/automation_api_helper.cc",
"api/automation/automation_api_helper.h",
"api/display_source/display_source_session.cc",
"api/display_source/display_source_session.h",
"api_activity_logger.cc",
"api_activity_logger.h",
"api_definitions_natives.cc",
"api_definitions_natives.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",
"dispatcher.cc",
"dispatcher.h",
"dispatcher_delegate.h",
"display_source_custom_bindings.cc",
"display_source_custom_bindings.h",
"document_custom_bindings.cc",
"document_custom_bindings.h",
"dom_activity_logger.cc",
"dom_activity_logger.h",
"event_bindings.cc",
"event_bindings.h",
"extension_frame_helper.cc",
"extension_frame_helper.h",
"extension_groups.h",
"extension_helper.cc",
"extension_helper.h",
"extension_injection_host.cc",
"extension_injection_host.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",
"gc_callback.cc",
"gc_callback.h",
"guest_view/extensions_guest_view_container.cc",
"guest_view/extensions_guest_view_container.h",
"guest_view/extensions_guest_view_container_dispatcher.cc",
"guest_view/extensions_guest_view_container_dispatcher.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",
"injection_host.cc",
"injection_host.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",
"process_info_native_handler.cc",
"process_info_native_handler.h",
"programmatic_script_injector.cc",
"programmatic_script_injector.h",
"render_frame_observer_natives.cc",
"renderer_extension_registry.cc",
"renderer_extension_registry.h",
"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/guest_view/app_view/app_view.js",
"resources/guest_view/extension_options/extension_options.js",
"resources/guest_view/extension_view/extension_view.js",
"resources/guest_view/web_view/web_view.js",
"resources/guest_view/web_view/web_view_events.js",
"resources/guest_view/web_view/web_view_iframe.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/utils.js",
"resources/web_request_custom_bindings.js",
"resources/web_request_internal_custom_bindings.js",
"runtime_custom_bindings.cc",
"runtime_custom_bindings.h",
"safe_builtins.cc",
"safe_builtins.h",
"script_context.cc",
"script_context.h",
"script_context_set.cc",
"script_context_set.h",
"script_injection.cc",
"script_injection.h",
"script_injection_callback.cc",
"script_injection_callback.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",
"service_worker_data.cc",
"service_worker_data.h",
"service_worker_request_sender.cc",
"service_worker_request_sender.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",
"test_native_handler.cc",
"test_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_helpers.h",
"v8_schema_registry.cc",
"v8_schema_registry.h",
"wake_event_page.cc",
"wake_event_page.h",
"web_ui_injection_host.cc",
"web_ui_injection_host.h",
"worker_script_context_set.cc",
"worker_script_context_set.h",
"worker_thread_dispatcher.cc",
"worker_thread_dispatcher.h",
]
configs += [ configs += [
"//build/config:precompiled_headers", "//build/config:precompiled_headers",
...@@ -34,11 +209,34 @@ source_set("renderer") { ...@@ -34,11 +209,34 @@ source_set("renderer") {
] ]
if (proprietary_codecs && enable_wifi_display) { if (proprietary_codecs && enable_wifi_display) {
wifi_display_sources = rebase_path( sources += [
extensions_gypi_values.extensions_renderer_sources_wifi_display, "api/display_source/wifi_display/wifi_display_audio_encoder.cc",
".", "api/display_source/wifi_display/wifi_display_audio_encoder.h",
"//extensions") "api/display_source/wifi_display/wifi_display_audio_encoder_lpcm.cc",
sources += wifi_display_sources "api/display_source/wifi_display/wifi_display_elementary_stream_descriptor.cc",
"api/display_source/wifi_display/wifi_display_elementary_stream_descriptor.h",
"api/display_source/wifi_display/wifi_display_elementary_stream_info.cc",
"api/display_source/wifi_display/wifi_display_elementary_stream_info.h",
"api/display_source/wifi_display/wifi_display_elementary_stream_packetizer.cc",
"api/display_source/wifi_display/wifi_display_elementary_stream_packetizer.h",
"api/display_source/wifi_display/wifi_display_media_encoder.cc",
"api/display_source/wifi_display/wifi_display_media_encoder.h",
"api/display_source/wifi_display/wifi_display_media_manager.cc",
"api/display_source/wifi_display/wifi_display_media_manager.h",
"api/display_source/wifi_display/wifi_display_media_packetizer.cc",
"api/display_source/wifi_display/wifi_display_media_packetizer.h",
"api/display_source/wifi_display/wifi_display_media_pipeline.cc",
"api/display_source/wifi_display/wifi_display_media_pipeline.h",
"api/display_source/wifi_display/wifi_display_session.cc",
"api/display_source/wifi_display/wifi_display_session.h",
"api/display_source/wifi_display/wifi_display_stream_packet_part.h",
"api/display_source/wifi_display/wifi_display_transport_stream_packetizer.cc",
"api/display_source/wifi_display/wifi_display_transport_stream_packetizer.h",
"api/display_source/wifi_display/wifi_display_video_encoder.cc",
"api/display_source/wifi_display/wifi_display_video_encoder.h",
"api/display_source/wifi_display/wifi_display_video_encoder_svc.cc",
"api/display_source/wifi_display/wifi_display_video_encoder_vea.cc",
]
deps += [ deps += [
"//third_party/openh264:encoder", "//third_party/openh264:encoder",
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
import("//build/config/features.gni") import("//build/config/features.gni")
import("//build/config/ui.gni") import("//build/config/ui.gni")
import("//extensions/shell/app_shell.gni")
# Technically, this directory should not depend on files from src/chrome, but # Technically, this directory should not depend on files from src/chrome, but
# that's where the VERSION file is. This should probably all be moved to # that's where the VERSION file is. This should probably all be moved to
...@@ -64,30 +63,115 @@ source_set("app_shell_lib") { ...@@ -64,30 +63,115 @@ source_set("app_shell_lib") {
"//v8", "//v8",
] ]
sources = rebase_path(app_shell_gypi_values.app_shell_lib_sources, sources = [
".", "app/paths_mac.h",
"//extensions/shell") "app/paths_mac.mm",
"app/shell_main_delegate.cc",
"app/shell_main_delegate.h",
"browser/api/identity/identity_api.cc",
"browser/api/identity/identity_api.h",
"browser/default_shell_browser_main_delegate.cc",
"browser/default_shell_browser_main_delegate.h",
"browser/desktop_controller.cc",
"browser/desktop_controller.h",
"browser/media_capture_util.cc",
"browser/media_capture_util.h",
"browser/shell_app_delegate.cc",
"browser/shell_app_delegate.h",
"browser/shell_app_view_guest_delegate.cc",
"browser/shell_app_view_guest_delegate.h",
"browser/shell_app_window_client.cc",
"browser/shell_app_window_client.h",
"browser/shell_app_window_client_mac.mm",
"browser/shell_audio_controller_chromeos.cc",
"browser/shell_audio_controller_chromeos.h",
"browser/shell_browser_context.cc",
"browser/shell_browser_context.h",
"browser/shell_browser_context_keyed_service_factories.cc",
"browser/shell_browser_context_keyed_service_factories.h",
"browser/shell_browser_main_delegate.h",
"browser/shell_browser_main_parts.cc",
"browser/shell_browser_main_parts.h",
"browser/shell_browser_main_parts_mac.h",
"browser/shell_browser_main_parts_mac.mm",
"browser/shell_content_browser_client.cc",
"browser/shell_content_browser_client.h",
"browser/shell_desktop_controller_mac.h",
"browser/shell_desktop_controller_mac.mm",
"browser/shell_device_client.cc",
"browser/shell_device_client.h",
"browser/shell_display_info_provider.cc",
"browser/shell_display_info_provider.h",
"browser/shell_extension_host_delegate.cc",
"browser/shell_extension_host_delegate.h",
"browser/shell_extension_system.cc",
"browser/shell_extension_system.h",
"browser/shell_extension_system_factory.cc",
"browser/shell_extension_system_factory.h",
"browser/shell_extension_web_contents_observer.cc",
"browser/shell_extension_web_contents_observer.h",
"browser/shell_extensions_api_client.cc",
"browser/shell_extensions_api_client.h",
"browser/shell_extensions_browser_client.cc",
"browser/shell_extensions_browser_client.h",
"browser/shell_native_app_window.cc",
"browser/shell_native_app_window.h",
"browser/shell_native_app_window_mac.h",
"browser/shell_native_app_window_mac.mm",
"browser/shell_network_controller_chromeos.cc",
"browser/shell_network_controller_chromeos.h",
"browser/shell_network_delegate.cc",
"browser/shell_network_delegate.h",
"browser/shell_oauth2_token_service.cc",
"browser/shell_oauth2_token_service.h",
"browser/shell_oauth2_token_service_delegate.cc",
"browser/shell_oauth2_token_service_delegate.h",
"browser/shell_prefs.cc",
"browser/shell_prefs.h",
"browser/shell_runtime_api_delegate.cc",
"browser/shell_runtime_api_delegate.h",
"browser/shell_special_storage_policy.cc",
"browser/shell_special_storage_policy.h",
"browser/shell_speech_recognition_manager_delegate.cc",
"browser/shell_speech_recognition_manager_delegate.h",
"browser/shell_update_query_params_delegate.cc",
"browser/shell_update_query_params_delegate.h",
"browser/shell_url_request_context_getter.cc",
"browser/shell_url_request_context_getter.h",
"common/shell_content_client.cc",
"common/shell_content_client.h",
"common/shell_extensions_client.cc",
"common/shell_extensions_client.h",
"common/switches.cc",
"common/switches.h",
"renderer/shell_content_renderer_client.cc",
"renderer/shell_content_renderer_client.h",
"renderer/shell_extensions_renderer_client.cc",
"renderer/shell_extensions_renderer_client.h",
"utility/shell_content_utility_client.cc",
"utility/shell_content_utility_client.h",
]
if (use_aura) { if (use_aura) {
sources += [
"browser/shell_app_window_client_aura.cc",
"browser/shell_desktop_controller_aura.cc",
"browser/shell_desktop_controller_aura.h",
"browser/shell_native_app_window_aura.cc",
"browser/shell_native_app_window_aura.h",
"browser/shell_screen.cc",
"browser/shell_screen.h",
]
deps += [ "//ui/wm" ] deps += [ "//ui/wm" ]
aura_sources = rebase_path(app_shell_gypi_values.app_shell_lib_sources_aura,
".",
"//extensions/shell")
sources += aura_sources
} }
if (is_chromeos) { if (is_chromeos) {
sources += [ "browser/api/vpn_provider/vpn_service_factory.cc" ]
deps += [ deps += [
"//chromeos", "//chromeos",
"//ui/chromeos", "//ui/chromeos",
"//ui/display", "//ui/display",
] ]
chromeos_sources =
rebase_path(app_shell_gypi_values.app_shell_lib_sources_chromeos,
".",
"//extensions/shell")
sources += chromeos_sources
} }
if (enable_nacl) { if (enable_nacl) {
...@@ -117,9 +201,10 @@ source_set("app_shell_lib") { ...@@ -117,9 +201,10 @@ source_set("app_shell_lib") {
executable("app_shell") { executable("app_shell") {
# testonly because :app_shell_lib is testonly. See :app_shell_lib comment. # testonly because :app_shell_lib is testonly. See :app_shell_lib comment.
testonly = true testonly = true
sources = rebase_path(app_shell_gypi_values.app_shell_sources, sources = [
".", "app/shell_main.cc",
"//extensions/shell") ]
deps = [ deps = [
":app_shell_lib", ":app_shell_lib",
"//build/config/sanitizers:deps", "//build/config/sanitizers:deps",
...@@ -144,9 +229,13 @@ executable("app_shell") { ...@@ -144,9 +229,13 @@ executable("app_shell") {
} }
test("app_shell_unittests") { test("app_shell_unittests") {
sources = rebase_path(app_shell_gypi_values.app_shell_unittests_sources, sources = [
".", "../test/extensions_unittests_main.cc",
"//extensions/shell") "browser/api/identity/identity_api_unittest.cc",
"browser/shell_oauth2_token_service_unittest.cc",
"browser/shell_prefs_unittest.cc",
"common/shell_content_client_unittest.cc",
]
data = [ data = [
"//extensions/test/data/", "//extensions/test/data/",
...@@ -172,30 +261,21 @@ test("app_shell_unittests") { ...@@ -172,30 +261,21 @@ test("app_shell_unittests") {
] ]
if (use_aura) { if (use_aura) {
sources += [
"browser/shell_desktop_controller_aura_unittest.cc",
"browser/shell_native_app_window_aura_unittest.cc",
"browser/shell_screen_unittest.cc",
]
deps += [ "//ui/aura:test_support" ] deps += [ "//ui/aura:test_support" ]
aura_sources =
rebase_path(app_shell_gypi_values.app_shell_unittests_sources_aura,
".",
"//extensions/shell")
sources += aura_sources
} }
if (is_chromeos) { if (is_chromeos) {
sources += [ "browser/shell_audio_controller_chromeos_unittest.cc" ]
deps += [ "//chromeos:test_support_without_gmock" ] deps += [ "//chromeos:test_support_without_gmock" ]
chromeos_sources =
rebase_path(app_shell_gypi_values.app_shell_unittests_sources_chromeos,
".",
"//extensions/shell")
sources += chromeos_sources
} }
if (enable_nacl) { if (enable_nacl) {
sources += sources += [ "browser/shell_nacl_browser_delegate_unittest.cc" ]
rebase_path(app_shell_gypi_values.app_shell_unittests_sources_nacl,
".",
"//extensions/shell")
} }
} }
......
# Copyright 2015 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.
# This file defines the app_shell gypi values. This file is read once and
# cached, which is a performance optimization that allows us to share the
# results of parsing the .gypi file between all app_shell BUILD.gn files.
# It also saves us from duplicating this exec_script call.
app_shell_gypi_values =
exec_script("//build/gypi_to_gn.py",
[
rebase_path("app_shell.gypi"),
"--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
],
"scope",
[ "app_shell.gypi" ])
This diff is collapsed.
# Copyright 2015 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.
{
'variables': {
'app_shell_lib_sources': [
'app/paths_mac.h',
'app/paths_mac.mm',
'app/shell_main_delegate.cc',
'app/shell_main_delegate.h',
'browser/api/identity/identity_api.cc',
'browser/api/identity/identity_api.h',
'browser/default_shell_browser_main_delegate.cc',
'browser/default_shell_browser_main_delegate.h',
'browser/desktop_controller.cc',
'browser/desktop_controller.h',
'browser/media_capture_util.cc',
'browser/media_capture_util.h',
'browser/shell_app_delegate.cc',
'browser/shell_app_delegate.h',
'browser/shell_app_view_guest_delegate.cc',
'browser/shell_app_view_guest_delegate.h',
'browser/shell_app_window_client.cc',
'browser/shell_app_window_client.h',
'browser/shell_app_window_client_mac.mm',
'browser/shell_audio_controller_chromeos.cc',
'browser/shell_audio_controller_chromeos.h',
'browser/shell_browser_context.cc',
'browser/shell_browser_context.h',
'browser/shell_browser_context_keyed_service_factories.cc',
'browser/shell_browser_context_keyed_service_factories.h',
'browser/shell_browser_main_delegate.h',
'browser/shell_browser_main_parts.cc',
'browser/shell_browser_main_parts.h',
'browser/shell_browser_main_parts_mac.h',
'browser/shell_browser_main_parts_mac.mm',
'browser/shell_content_browser_client.cc',
'browser/shell_content_browser_client.h',
'browser/shell_desktop_controller_mac.h',
'browser/shell_desktop_controller_mac.mm',
'browser/shell_device_client.cc',
'browser/shell_device_client.h',
'browser/shell_display_info_provider.cc',
'browser/shell_display_info_provider.h',
'browser/shell_extension_host_delegate.cc',
'browser/shell_extension_host_delegate.h',
'browser/shell_extension_system.cc',
'browser/shell_extension_system.h',
'browser/shell_extension_system_factory.cc',
'browser/shell_extension_system_factory.h',
'browser/shell_extension_web_contents_observer.cc',
'browser/shell_extension_web_contents_observer.h',
'browser/shell_extensions_api_client.cc',
'browser/shell_extensions_api_client.h',
'browser/shell_extensions_browser_client.cc',
'browser/shell_extensions_browser_client.h',
'browser/shell_native_app_window.cc',
'browser/shell_native_app_window.h',
'browser/shell_native_app_window_mac.h',
'browser/shell_native_app_window_mac.mm',
'browser/shell_network_controller_chromeos.cc',
'browser/shell_network_controller_chromeos.h',
'browser/shell_network_delegate.cc',
'browser/shell_network_delegate.h',
'browser/shell_oauth2_token_service_delegate.cc',
'browser/shell_oauth2_token_service_delegate.h',
'browser/shell_oauth2_token_service.cc',
'browser/shell_oauth2_token_service.h',
'browser/shell_prefs.cc',
'browser/shell_prefs.h',
'browser/shell_runtime_api_delegate.cc',
'browser/shell_runtime_api_delegate.h',
'browser/shell_special_storage_policy.cc',
'browser/shell_special_storage_policy.h',
'browser/shell_speech_recognition_manager_delegate.cc',
'browser/shell_speech_recognition_manager_delegate.h',
'browser/shell_update_query_params_delegate.cc',
'browser/shell_update_query_params_delegate.h',
'browser/shell_url_request_context_getter.cc',
'browser/shell_url_request_context_getter.h',
'common/shell_content_client.cc',
'common/shell_content_client.h',
'common/shell_extensions_client.cc',
'common/shell_extensions_client.h',
'common/switches.cc',
'common/switches.h',
'renderer/shell_content_renderer_client.cc',
'renderer/shell_content_renderer_client.h',
'renderer/shell_extensions_renderer_client.cc',
'renderer/shell_extensions_renderer_client.h',
'utility/shell_content_utility_client.cc',
'utility/shell_content_utility_client.h',
],
'app_shell_lib_sources_aura': [
'browser/shell_app_window_client_aura.cc',
'browser/shell_desktop_controller_aura.cc',
'browser/shell_desktop_controller_aura.h',
'browser/shell_native_app_window_aura.cc',
'browser/shell_native_app_window_aura.h',
'browser/shell_screen.cc',
'browser/shell_screen.h',
],
'app_shell_lib_sources_chromeos': [
'browser/api/vpn_provider/vpn_service_factory.cc',
],
'app_shell_lib_sources_nacl': [
'browser/shell_nacl_browser_delegate.cc',
'browser/shell_nacl_browser_delegate.h',
],
'app_shell_sources': [
'app/shell_main.cc',
],
'app_shell_sources_mac': [
'app/shell_main_mac.cc',
'app/shell_main_mac.h',
],
'app_shell_unittests_sources': [
'../test/extensions_unittests_main.cc',
'browser/api/identity/identity_api_unittest.cc',
'browser/shell_oauth2_token_service_unittest.cc',
'browser/shell_prefs_unittest.cc',
'common/shell_content_client_unittest.cc',
],
'app_shell_unittests_sources_aura': [
'browser/shell_desktop_controller_aura_unittest.cc',
'browser/shell_native_app_window_aura_unittest.cc',
'browser/shell_screen_unittest.cc',
],
'app_shell_unittests_sources_chromeos': [
'browser/shell_audio_controller_chromeos_unittest.cc',
],
'app_shell_unittests_sources_nacl': [
'browser/shell_nacl_browser_delegate_unittest.cc',
],
},
}
# 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.
{
'targets': [
{
'target_name': 'app_shell_resources',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/shell',
},
'actions': [
{
'action_name': 'generate_app_shell_resources',
'variables': {
'grit_grd_file': 'app_shell_resources.grd',
},
'includes': [ '../../build/grit_action.gypi' ],
},
],
'includes': [ '../../build/grit_target.gypi' ],
},
] # targets
}
# 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.
{
'targets': [
{
# GN version: //extensions/shell/common/api:api_registration
'target_name': 'shell_api_registration',
'type': 'static_library',
# TODO(jschuh): http://crbug.com/167187 size_t -> int
'msvs_disabled_warnings': [ 4267 ],
'includes': [
'../../../../build/json_schema_bundle_registration_compile.gypi',
'../../common/api/schemas.gypi',
],
'dependencies': [
'<(DEPTH)/extensions/shell/common/api/api.gyp:shell_api',
],
},
],
}
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
import("//build/json_schema_api.gni") import("//build/json_schema_api.gni")
import("//tools/json_schema_compiler/json_features.gni") import("//tools/json_schema_compiler/json_features.gni")
import("schemas.gni")
schema_sources = [ "identity.idl" ]
root_namespace = "extensions::shell::api::%(namespace)s"
# GYP version: extensions/shell/common/api/api.gyp:shell_api # GYP version: extensions/shell/common/api/api.gyp:shell_api
json_schema_api("api") { json_schema_api("api") {
......
# 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.
{
'targets': [
{
# GN version: //extensions/shell/common/api
'target_name': 'shell_api',
'type': 'static_library',
# TODO(jschuh): http://crbug.com/167187 size_t -> int
'msvs_disabled_warnings': [ 4267 ],
'includes': [
'../../../../build/json_schema_bundle_compile.gypi',
'../../../../build/json_schema_compile.gypi',
'schemas.gypi',
],
},
{
# GN version: //extensions/shell/common/api:extensions_features:shell_api_features
'target_name': 'shell_api_features',
'type': 'static_library',
'variables': {
'feature_class': 'APIFeature',
'provider_class': 'ShellAPIFeatureProvider',
'out_dir': 'extensions/shell/common/api',
'out_base_filename': 'shell_api_features',
'in_files': [
'extensions/common/api/_api_features.json',
'extensions/shell/common/api/_api_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/shell/common/api:extensions_features:shell_behavior_features
'target_name': 'shell_behavior_features',
'type': 'static_library',
'variables': {
'feature_class': 'BehaviorFeature',
'provider_class': 'ShellBehaviorFeatureProvider',
'out_dir': 'extensions/shell/common/api',
'out_base_filename': 'shell_behavior_features',
'in_files': [
'extensions/common/api/_behavior_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/shell/common/api:extensions_features:shell_manifest_features
'target_name': 'shell_manifest_features',
'type': 'static_library',
'variables': {
'feature_class': 'ManifestFeature',
'provider_class': 'ShellManifestFeatureProvider',
'out_dir': 'extensions/shell/common/api',
'out_base_filename': 'shell_manifest_features',
'in_files': [
'extensions/common/api/_manifest_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/shell/common/api:extensions_features:shell_permission_features
'target_name': 'shell_permission_features',
'type': 'static_library',
'variables': {
'feature_class': 'PermissionFeature',
'provider_class': 'ShellPermissionFeatureProvider',
'out_dir': 'extensions/shell/common/api',
'out_base_filename': 'shell_permission_features',
'in_files': [
'extensions/common/api/_permission_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/shell/common/api:extensions_features
'target_name': 'extensions_features',
'type': 'none',
'dependencies': [
'shell_api_features',
'shell_behavior_features',
'shell_manifest_features',
'shell_permission_features',
],
},
],
}
# 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.
gypi_values = exec_script("//build/gypi_to_gn.py",
[ rebase_path("schemas.gypi") ],
"scope",
[ "schemas.gypi" ])
schema_sources = gypi_values.schema_files
if (is_chromeos) {
schema_sources += gypi_values.chromeos_schema_files
}
uncompiled_sources = gypi_values.non_compiled_schema_files
root_namespace = "extensions::shell::api::%(namespace)s"
# 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.
{
'sources': [
'<@(schema_files)',
],
'variables': {
'schema_files': [
'identity.idl',
],
'non_compiled_schema_files': [
],
# Chrome OS specific APIs.
'chromeos_schema_files': [
],
'chromium_code': 1,
'cc_dir': 'extensions/shell/common/api',
'root_namespace': 'extensions::shell::api::%(namespace)s',
'bundle_name': 'Shell',
'impl_dir_': 'extensions/shell/browser/api',
'conditions': [
['chromeos==1', {
'schema_files': [
'<@(chromeos_schema_files)',
],
}],
],
},
}
# Copyright 2016 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.
{
'targets': [
{
# GN version: //extensions/test:extensions_features:test_api_features
'target_name': 'test_api_features',
'type': 'static_library',
'variables': {
'feature_class': 'APIFeature',
'provider_class': 'TestAPIFeatureProvider',
'out_dir': 'extensions/test',
'out_base_filename': 'test_api_features',
'in_files': [
'extensions/common/api/_api_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/test:extensions_features:test_behavior_features
'target_name': 'test_behavior_features',
'type': 'static_library',
'variables': {
'feature_class': 'BehaviorFeature',
'provider_class': 'TestBehaviorFeatureProvider',
'out_dir': 'extensions/test',
'out_base_filename': 'test_behavior_features',
'in_files': [
'extensions/common/api/_behavior_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/test:extensions_features:test_manifest_features
'target_name': 'test_manifest_features',
'type': 'static_library',
'variables': {
'feature_class': 'ManifestFeature',
'provider_class': 'TestManifestFeatureProvider',
'out_dir': 'extensions/test',
'out_base_filename': 'test_manifest_features',
'in_files': [
'extensions/common/api/_manifest_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/test:extensions_features:test_permission_features
'target_name': 'test_permission_features',
'type': 'static_library',
'variables': {
'feature_class': 'PermissionFeature',
'provider_class': 'TestPermissionFeatureProvider',
'out_dir': 'extensions/test',
'out_base_filename': 'test_permission_features',
'in_files': [
'extensions/common/api/_permission_features.json',
],
},
'inputs': ['<@(in_files)'],
'sources': ['<@(in_files)'],
'includes': ['../../tools/json_schema_compiler/json_features.gypi'],
},
{
# GN version: //extensions/test:extensions_features
'target_name': 'extensions_features',
'type': 'none',
'dependencies': [
'test_api_features',
'test_behavior_features',
'test_manifest_features',
'test_permission_features',
],
},
],
}
...@@ -3,15 +3,16 @@ ...@@ -3,15 +3,16 @@
# found in the LICENSE file. # found in the LICENSE file.
import("//build/config/features.gni") import("//build/config/features.gni")
import("//extensions/extensions.gni")
assert(enable_extensions) assert(enable_extensions)
# GYP version: extensions/extensions.gyp:extensions_utility
source_set("utility") { source_set("utility") {
sources = rebase_path(extensions_gypi_values.extensions_utility_sources, sources = [
".", "unpacker.cc",
"//extensions") "unpacker.h",
"utility_handler.cc",
"utility_handler.h",
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment