Commit 2ae47e4e authored by Devlin Cronin's avatar Devlin Cronin Committed by Commit Bot

[Extensions] Enable gn check for all of //extensions/renderer

Enable gn check for all targets under //extensions/renderer. Correct
previous failures by properly depending on targets.

Bug: None
Change-Id: I9a075fdcdd82cba8e934889abd395f7bb1794fed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1626663Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#668503}
parent 071693c8
...@@ -276,7 +276,7 @@ check_targets = [ ...@@ -276,7 +276,7 @@ check_targets = [
"//extensions/common/*", "//extensions/common/*",
"//extensions/components/javascript_dialog_extensions_client", "//extensions/components/javascript_dialog_extensions_client",
"//extensions/components/native_app_window", "//extensions/components/native_app_window",
"//extensions/renderer:unit_tests", "//extensions/renderer/*",
"//extensions/shell/*", "//extensions/shell/*",
"//extensions/strings/*", "//extensions/strings/*",
"//fuchsia/*", "//fuchsia/*",
......
...@@ -252,15 +252,23 @@ jumbo_source_set("renderer") { ...@@ -252,15 +252,23 @@ jumbo_source_set("renderer") {
deps = [ deps = [
"//chrome:resources", "//chrome:resources",
"//components/crx_file",
"//components/guest_view/common",
"//components/guest_view/renderer", "//components/guest_view/renderer",
"//components/version_info",
"//content:resources", "//content:resources",
"//content/app/strings:strings",
"//content/public/renderer",
"//extensions:extensions_resources", "//extensions:extensions_resources",
"//extensions/common", "//extensions/common",
"//extensions/common/api", "//extensions/common/api",
"//gin", "//gin",
"//mojo/public/js:resources",
"//skia", "//skia",
"//storage/common",
"//third_party/blink/public:blink", "//third_party/blink/public:blink",
"//third_party/cld_3/src/src:cld_3", "//third_party/cld_3/src/src:cld_3",
"//third_party/zlib/google:compression_utils",
] ]
if (proprietary_codecs && enable_wifi_display) { if (proprietary_codecs && enable_wifi_display) {
...@@ -324,8 +332,9 @@ jumbo_static_library("unit_test_support") { ...@@ -324,8 +332,9 @@ jumbo_static_library("unit_test_support") {
deps = [ deps = [
":renderer", ":renderer",
"//base", "//base",
"//base/test:test_support",
"//components/crx_file", "//components/crx_file",
"//content/public/child", "//content/public/renderer",
"//content/test:test_support", "//content/test:test_support",
"//extensions:test_support", "//extensions:test_support",
"//extensions/common", "//extensions/common",
...@@ -333,6 +342,7 @@ jumbo_static_library("unit_test_support") { ...@@ -333,6 +342,7 @@ jumbo_static_library("unit_test_support") {
"//gin:gin_test", "//gin:gin_test",
"//testing/gmock", "//testing/gmock",
"//testing/gtest", "//testing/gtest",
"//third_party/zlib/google:compression_utils",
] ]
} }
...@@ -392,7 +402,6 @@ source_set("unit_tests") { ...@@ -392,7 +402,6 @@ source_set("unit_tests") {
"//base", "//base",
"//base/test:test_support", "//base/test:test_support",
"//components/crx_file:crx_file", "//components/crx_file:crx_file",
"//content/public/child",
"//content/test:test_support", "//content/test:test_support",
"//extensions:extensions_renderer_resources", "//extensions:extensions_renderer_resources",
"//extensions:test_support", "//extensions:test_support",
......
include_rules = [ include_rules = [
"+components/translate/core/language_detection", "+components/translate/core/language_detection",
"+content/app/strings/grit", "+content/app/strings/grit",
"+content/public/child",
"+content/public/renderer", "+content/public/renderer",
"+gin", "+gin",
......
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