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

Unified Diff: components/html_viewer/BUILD.gn

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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 | « WATCHLISTS ('k') | components/html_viewer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/BUILD.gn
diff --git a/components/html_viewer/BUILD.gn b/components/html_viewer/BUILD.gn
deleted file mode 100644
index a6cff062cbb52c0909f0523caac9317752b56c4a..0000000000000000000000000000000000000000
--- a/components/html_viewer/BUILD.gn
+++ /dev/null
@@ -1,371 +0,0 @@
-# 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.
-
-import("//build_overrides/v8.gni")
-import("//mojo/public/mojo_application.gni")
-import("//testing/test.gni")
-import("//tools/grit/grit_rule.gni")
-import("//tools/grit/repack.gni")
-
-if (is_android) {
- import("//build/config/android/rules.gni")
-}
-
-grit("html_viewer_resources_grit") {
- source = "html_viewer_resources.grd"
- outputs = [
- "grit/html_viewer_resources.h",
- "html_viewer_resources.pak",
- ]
-}
-
-copy("copy_html_viewer_resources") {
- sources = [
- "$target_gen_dir/html_viewer_resources.pak",
- ]
- outputs = [
- "$root_out_dir/html_viewer_resources.pak",
- ]
-
- public_deps = [
- ":html_viewer_resources_grit",
- ]
-}
-
-repack("pak") {
- sources = [
- "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak",
- "$root_gen_dir/blink/public/resources/blink_resources.pak",
- "$root_gen_dir/components/html_viewer/html_viewer_resources.pak",
- "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
- "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
- ]
- if (!is_component_build) {
- sources += [ "$root_gen_dir/ui/resources/ui_resources_100_percent.pak" ]
- }
- output = "$root_out_dir/html_viewer.pak"
- deps = [
- ":copy_html_viewer_resources",
- "//third_party/WebKit/public:image_resources",
- "//third_party/WebKit/public:resources",
- "//ui/resources",
- "//ui/strings",
- ]
-}
-
-source_set("lib") {
- sources = [
- "ax_provider_impl.cc",
- "ax_provider_impl.h",
- "blink_basic_type_converters.cc",
- "blink_basic_type_converters.h",
- "blink_find_type_converters.cc",
- "blink_find_type_converters.h",
- "blink_platform_impl.cc",
- "blink_platform_impl.h",
- "blink_resource_constants.h",
- "blink_settings.cc",
- "blink_settings.h",
- "blink_settings_impl.cc",
- "blink_settings_impl.h",
- "blink_text_input_type_converters.cc",
- "blink_text_input_type_converters.h",
- "blink_url_request_type_converters.cc",
- "blink_url_request_type_converters.h",
- "content_handler_impl.cc",
- "content_handler_impl.h",
- "devtools_agent_impl.cc",
- "devtools_agent_impl.h",
- "discardable_memory_allocator.cc",
- "discardable_memory_allocator.h",
- "document_resource_waiter.cc",
- "document_resource_waiter.h",
- "geolocation_client_impl.cc",
- "geolocation_client_impl.h",
- "global_state.cc",
- "global_state.h",
- "html_document.cc",
- "html_document.h",
- "html_document_application_delegate.cc",
- "html_document_application_delegate.h",
- "html_factory.h",
- "html_frame.cc",
- "html_frame.h",
- "html_frame_delegate.h",
- "html_frame_properties.cc",
- "html_frame_properties.h",
- "html_frame_tree_manager.cc",
- "html_frame_tree_manager.h",
- "html_frame_tree_manager_observer.h",
- "html_viewer.cc",
- "html_viewer.h",
- "html_widget.cc",
- "html_widget.h",
- "ime_controller.cc",
- "ime_controller.h",
- "media_factory.cc",
- "media_factory.h",
- "mock_web_blob_registry_impl.cc",
- "mock_web_blob_registry_impl.h",
- "replicated_frame_state.cc",
- "replicated_frame_state.h",
- "stats_collection_controller.cc",
- "stats_collection_controller.h",
- "test_html_viewer_impl.cc",
- "test_html_viewer_impl.h",
- "touch_handler.cc",
- "touch_handler.h",
- "web_clipboard_impl.cc",
- "web_clipboard_impl.h",
- "web_cookie_jar_impl.cc",
- "web_cookie_jar_impl.h",
- "web_graphics_context_3d_command_buffer_impl.cc",
- "web_graphics_context_3d_command_buffer_impl.h",
- "web_layer_tree_view_impl.cc",
- "web_layer_tree_view_impl.h",
- "web_mime_registry_impl.cc",
- "web_mime_registry_impl.h",
- "web_notification_manager_impl.cc",
- "web_notification_manager_impl.h",
- "web_preferences.cc",
- "web_preferences.h",
- "web_socket_handle_impl.cc",
- "web_socket_handle_impl.h",
- "web_storage_namespace_impl.cc",
- "web_storage_namespace_impl.h",
- "web_theme_engine_impl.cc",
- "web_theme_engine_impl.h",
- "web_url_loader_impl.cc",
- "web_url_loader_impl.h",
- ]
-
- include_dirs = [ "third_party/WebKit" ]
-
- deps = [
- "//base",
- "//base:i18n",
- "//base/third_party/dynamic_annotations",
- "//cc",
- "//cc/blink",
- "//cc/surfaces",
- "//cc/surfaces:surface_id",
- "//components/clipboard/public/interfaces",
- "//components/devtools_service/public/interfaces",
- "//components/html_viewer/public/interfaces",
- "//components/message_port",
- "//components/mime_util",
- "//components/mus/gles2:lib",
- "//components/mus/public/interfaces",
- "//components/resource_provider/public/cpp",
- "//components/resource_provider/public/interfaces",
- "//components/scheduler:scheduler",
- "//components/startup_metric_utils/browser:lib",
- "//components/web_view:switches",
- "//components/web_view/public/interfaces",
- "//components/webcrypto",
- "//gin",
- "//gpu/blink:blink",
- "//gpu/command_buffer/common:gles2_utils",
- "//media",
- "//media:shared_memory_support",
- "//media/blink",
- "//media/mojo",
- "//mojo/common",
- "//mojo/converters/blink",
- "//mojo/converters/surfaces",
- "//mojo/gles2:headers",
- "//mojo/gpu:mojo_gles2_implementation",
- "//mojo/logging",
- "//mojo/message_pump",
- "//mojo/platform_handle",
- "//mojo/public/cpp/environment:environment",
- "//mojo/services/accessibility/public/interfaces",
- "//mojo/services/network/public/cpp",
- "//mojo/services/network/public/interfaces",
- "//mojo/services/tracing/public/cpp",
- "//mojo/services/tracing/public/interfaces",
- "//mojo/shell/public/cpp",
- "//mojo/shell/public/interfaces",
- "//net",
- "//skia",
- "//third_party/WebKit/public:image_resources",
- "//third_party/WebKit/public:resources",
- "//ui/base:base",
- "//ui/events",
- "//ui/events:gesture_detection",
- "//ui/events/blink",
- "//ui/events/gestures/blink",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/mojo/geometry:interfaces_cpp_sources",
- "//ui/mojo/ime:interfaces_cpp_sources",
- "//ui/mojo/init",
- "//ui/native_theme",
- "//url",
- "//v8",
- ]
-
- public_deps = [
- "//components/mus/public/cpp",
- "//mojo/public/cpp/bindings",
- "//third_party/WebKit/public:blink",
- ]
-
- if (is_win) {
- sources += [ "html_viewer_version.rc" ]
- }
-
- if (is_linux && !is_android) {
- deps += [ "//components/font_service/public/cpp" ]
- }
-
- data_deps = [
- "//components/clipboard",
- "//components/mus/ws:lib",
- "//mojo/services/network:network",
- "//mojo/services/tracing",
- ]
-
- configs += [ "//v8:external_startup_data" ]
-}
-
-mojo_native_application("html_viewer") {
- sources = [
- "html_viewer_main.cc",
- ]
- deps = [
- ":lib",
- ":pak",
- "//base",
- "//mojo/shell/public/cpp:sources",
- ]
- resources = [ "$root_out_dir/html_viewer.pak" ]
-
- if (v8_use_external_startup_data) {
- resources += [
- "$root_out_dir/natives_blob.bin",
- "$root_out_dir/snapshot_blob.bin",
- ]
- deps += [ "//gin" ]
- }
-}
-
-mojo_native_application("layout_test_html_viewer") {
- testonly = true
- sources = [
- "layout_test_blink_settings_impl.cc",
- "layout_test_blink_settings_impl.h",
- "layout_test_content_handler_impl.cc",
- "layout_test_content_handler_impl.h",
- "layout_test_html_viewer.cc",
- "layout_test_html_viewer.h",
- "layout_test_html_viewer_main.cc",
- "web_test_delegate_impl.cc",
- "web_test_delegate_impl.h",
- ]
- deps = [
- ":lib",
- ":pak",
- "//cc",
- "//components/test_runner",
- "//components/web_view/test_runner/public/interfaces",
- "//mojo/public/c/system:for_shared_library",
- "//mojo/shell/public/cpp:sources",
- "//third_party/WebKit/public:blink",
- "//third_party/WebKit/public:test_support",
- "//ui/base",
- "//url",
- ]
- resources = [ "$root_out_dir/html_viewer.pak" ]
-
- if (v8_use_external_startup_data) {
- resources += [
- "$root_out_dir/natives_blob.bin",
- "$root_out_dir/snapshot_blob.bin",
- ]
- deps += [ "//gin" ]
- }
-}
-
-if (is_android) {
- android_assets("unittest_assets") {
- sources = [
- "$root_build_dir/html_viewer.pak",
- ]
- deps = [
- ":pak",
- "//v8:v8_external_startup_data_assets",
- ]
- disable_compression = true
- }
-}
-
-test("html_viewer_unittests") {
- sources = [
- "ax_provider_impl_unittest.cc",
- "discardable_memory_allocator_unittest.cc",
- "input_events_unittest.cc",
- "run_all_unittests.cc",
- ]
- deps = [
- ":lib",
- ":pak",
- "//base/test:test_support",
- "//components/scheduler",
- "//gin",
- "//mojo/converters/blink",
- "//mojo/converters/input_events",
- "//mojo/gles2",
- "//mojo/platform_handle:platform_handle_impl",
- "//testing/gtest:gtest",
- "//third_party/mojo/src/mojo/edk/system",
- "//ui/base",
- "//ui/events",
- "//ui/events:test_support",
- "//ui/mojo/init",
- ]
-
- if (is_android) {
- deps += [ ":unittest_assets" ]
- write_asset_list = true
- }
-
- configs += [ "//v8:external_startup_data" ]
-}
-
-mojo_native_application("apptests") {
- output_name = "html_viewer_apptests"
- testonly = true
-
- sources = [
- "ax_provider_apptest.cc",
- "html_frame_apptest.cc",
- ]
-
- deps = [
- "//base",
- "//components/html_viewer/public/interfaces",
- "//components/mus/public/cpp",
- "//components/mus/public/cpp/tests:test_support",
- "//components/scheduler",
- "//components/web_view:lib",
- "//components/web_view:test_support",
- "//components/web_view/public/interfaces",
- "//mojo/converters/network",
- "//mojo/public/c/system:for_shared_library",
- "//mojo/services/accessibility/public/interfaces",
- "//mojo/shell/public/cpp:sources",
- "//mojo/shell/public/cpp:test_support",
- "//net:test_support",
- "//testing/gtest",
- ]
-
- data_deps = [
- ":html_viewer",
- ]
-
- if (is_linux && !is_android) {
- data_deps += [ "//components/font_service" ]
- }
-}
« no previous file with comments | « WATCHLISTS ('k') | components/html_viewer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698