Commit 51e63525 authored by Alexey Baskakov's avatar Alexey Baskakov Committed by Commit Bot

WebApp: Add web_app_group to share configs in web_application/ build targets.

We need to enforce exit_time_destructors compiler flag warning everywhere.

Bug: 860581
Change-Id: I7cbb2ef3ba5c71a69233bc8bd50725786b6ea0b1
Reviewed-on: https://chromium-review.googlesource.com/1155276Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: Alexey Baskakov <loyso@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579323}
parent de7eb6fc
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
# 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.
group("web_app_group") {
public_configs = [ "//build/config/compiler:wexit_time_destructors" ]
}
source_set("web_applications") { source_set("web_applications") {
sources = [ sources = [
"web_app_provider.cc", "web_app_provider.cc",
...@@ -11,6 +15,7 @@ source_set("web_applications") { ...@@ -11,6 +15,7 @@ source_set("web_applications") {
] ]
deps = [ deps = [
":web_app_group",
"//chrome/browser/web_applications/bookmark_apps", "//chrome/browser/web_applications/bookmark_apps",
"//chrome/common", "//chrome/common",
] ]
...@@ -18,7 +23,9 @@ source_set("web_applications") { ...@@ -18,7 +23,9 @@ source_set("web_applications") {
source_set("unit_tests") { source_set("unit_tests") {
testonly = true testonly = true
deps = [ deps = [
":web_app_group",
"//chrome/browser/web_applications/bookmark_apps:unit_tests", "//chrome/browser/web_applications/bookmark_apps:unit_tests",
"//chrome/browser/web_applications/components:unit_tests", "//chrome/browser/web_applications/components:unit_tests",
"//chrome/browser/web_applications/extensions:unit_tests", "//chrome/browser/web_applications/extensions:unit_tests",
......
...@@ -16,6 +16,7 @@ source_set("bookmark_apps") { ...@@ -16,6 +16,7 @@ source_set("bookmark_apps") {
deps = [ deps = [
"//chrome/browser/extensions", "//chrome/browser/extensions",
"//chrome/browser/web_applications:web_app_group",
"//chrome/common", "//chrome/common",
"//skia", "//skia",
] ]
...@@ -30,6 +31,7 @@ source_set("unit_tests") { ...@@ -30,6 +31,7 @@ source_set("unit_tests") {
deps = [ deps = [
":bookmark_apps", ":bookmark_apps",
"//chrome/browser/web_applications:web_app_group",
"//skia", "//skia",
"//testing/gmock", "//testing/gmock",
] ]
......
...@@ -36,9 +36,8 @@ source_set("components") { ...@@ -36,9 +36,8 @@ source_set("components") {
] ]
} }
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [ deps = [
"//chrome/browser/web_applications:web_app_group",
"//content/public/browser", "//content/public/browser",
"//skia", "//skia",
] ]
...@@ -62,6 +61,7 @@ source_set("unit_tests") { ...@@ -62,6 +61,7 @@ source_set("unit_tests") {
deps = [ deps = [
":components", ":components",
"//chrome/app/theme:theme_resources", "//chrome/app/theme:theme_resources",
"//chrome/browser/web_applications:web_app_group",
"//content/public/browser", "//content/public/browser",
"//skia", "//skia",
"//testing/gmock", "//testing/gmock",
......
...@@ -26,6 +26,7 @@ source_set("extensions") { ...@@ -26,6 +26,7 @@ source_set("extensions") {
deps = [ deps = [
"//base", "//base",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components", "//chrome/browser/web_applications/components",
"//chrome/common", "//chrome/common",
"//content/public/browser", "//content/public/browser",
...@@ -43,6 +44,7 @@ source_set("unit_tests") { ...@@ -43,6 +44,7 @@ source_set("unit_tests") {
deps = [ deps = [
":extensions", ":extensions",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components", "//chrome/browser/web_applications/components",
"//content/public/browser", "//content/public/browser",
"//skia", "//skia",
......
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