diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/content/browser/devtools/BUILD.gn | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/content/browser/devtools/BUILD.gn')
-rw-r--r-- | chromium/content/browser/devtools/BUILD.gn | 57 |
1 files changed, 27 insertions, 30 deletions
diff --git a/chromium/content/browser/devtools/BUILD.gn b/chromium/content/browser/devtools/BUILD.gn index a39fe433f3c..a1491eb8843 100644 --- a/chromium/content/browser/devtools/BUILD.gn +++ b/chromium/content/browser/devtools/BUILD.gn @@ -6,42 +6,39 @@ import("//third_party/inspector_protocol/inspector_protocol.gni") import("//third_party/protobuf/proto_library.gni") import("//tools/grit/grit_rule.gni") -group("resources") { - if (!is_android) { - public_deps = [ ":devtools_resources" ] - } -} +# Android and Fuchsia do not support DevTools front-end. +if (!is_android && !is_fuchsia) { + grit("devtools_resources") { + source = "$root_gen_dir/devtools/devtools_resources.grd" -grit("devtools_resources") { - source = "$root_gen_dir/devtools/devtools_resources.grd" + # Required because the .grd is generated. + enable_input_discovery_for_gn_analyze = false + use_brotli = true - # Required because the .grd is generated. - enable_input_discovery_for_gn_analyze = false - use_brotli = true - - outputs = [ - "grit/devtools_resources.h", - "devtools_resources.pak", - "grit/devtools_resources_map.cc", - "grit/devtools_resources_map.h", - ] + outputs = [ + "grit/devtools_resources.h", + "devtools_resources.pak", + "grit/devtools_resources_map.cc", + "grit/devtools_resources_map.h", + ] - grit_flags = [ - "-E", - "protocol_file=" + rebase_path( - "$root_gen_dir/third_party/blink/public/devtools_protocol/protocol.json", - root_build_dir), - ] + grit_flags = [ + "-E", + "protocol_file=" + rebase_path( + "$root_gen_dir/third_party/blink/public/devtools_protocol/protocol.json", + root_build_dir), + ] - defines = - [ "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir) ] + defines = [ "SHARED_INTERMEDIATE_DIR=" + + rebase_path(root_gen_dir, root_build_dir) ] - deps = [ - "//third_party/blink/public/devtools_protocol:protocol_version", + deps = [ + "//third_party/blink/public/devtools_protocol:protocol_version", - # This is the action that generates out .grd input file. - "//third_party/blink/public:blink_generate_devtools_grd", - ] + # This is the action that generates out .grd input file. + "//third_party/blink/public:blink_generate_devtools_grd", + ] + } } inspector_protocol_generate("protocol_sources") { |