# Copyright 2018 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. assert(is_fuchsia) import("//build/config/fuchsia/rules.gni") import("//tools/grit/repack.gni") executable("webrunner") { deps = [ ":webrunner_pak", "//base", "//build/config:exe_and_shlib_deps", "//components/version_info", "//content/public/app:both", "//content/public/browser", "//content/public/child", "//content/public/common", "//content/public/renderer", "//services/network/public/cpp", "//ui/display", ] data_deps = [ ":webrunner_pak", ] data = [ "$root_out_dir/webrunner.pak", ] sources = [ "app/webrunner_main.cc", "app/webrunner_main_delegate.cc", "app/webrunner_main_delegate.h", "browser/webrunner_browser_context.cc", "browser/webrunner_browser_context.h", "browser/webrunner_browser_main.cc", "browser/webrunner_browser_main.h", "browser/webrunner_browser_main_parts.cc", "browser/webrunner_browser_main_parts.h", "browser/webrunner_content_browser_client.cc", "browser/webrunner_content_browser_client.h", "browser/webrunner_net_log.cc", "browser/webrunner_net_log.h", "browser/webrunner_screen.cc", "browser/webrunner_screen.h", "browser/webrunner_url_request_context_getter.cc", "browser/webrunner_url_request_context_getter.h", "common/webrunner_content_client.cc", "common/webrunner_content_client.h", ] } fuchsia_executable_runner("webrunner_runner") { exe_target = ":webrunner" } repack("webrunner_pak") { sources = [ "$root_gen_dir/components/components_resources.pak", "$root_gen_dir/components/strings/components_strings_en-US.pak", "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", "$root_gen_dir/content/app/strings/content_strings_en-US.pak", "$root_gen_dir/content/browser/devtools/devtools_resources.pak", "$root_gen_dir/content/browser/tracing/tracing_resources.pak", "$root_gen_dir/content/content_resources.pak", "$root_gen_dir/mojo/public/js/mojo_bindings_resources.pak", "$root_gen_dir/net/net_resources.pak", "$root_gen_dir/third_party/blink/public/resources/blink_resources.pak", "$root_gen_dir/third_party/blink/public/resources/blink_scaled_resources_100_percent.pak", "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", "$root_gen_dir/ui/resources/webui_resources.pak", "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", "$root_gen_dir/ui/strings/ui_strings_en-US.pak", ] deps = [ "//components/resources:components_resources", "//components/strings", "//content:resources", "//content/app/resources", "//content/app/strings", "//content/browser/devtools:resources", "//content/browser/tracing:resources", "//mojo/public/js:resources", "//net:net_resources", "//third_party/blink/public:resources", "//third_party/blink/public:scaled_resources_100_percent", "//ui/resources", "//ui/strings", ] output = "$root_out_dir/webrunner.pak" }