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 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
group("web_app_group") {
public_configs = [ "//build/config/compiler:wexit_time_destructors" ]
}
source_set("web_applications") {
sources = [
"web_app_provider.cc",
......@@ -11,6 +15,7 @@ source_set("web_applications") {
]
deps = [
":web_app_group",
"//chrome/browser/web_applications/bookmark_apps",
"//chrome/common",
]
......@@ -18,7 +23,9 @@ source_set("web_applications") {
source_set("unit_tests") {
testonly = true
deps = [
":web_app_group",
"//chrome/browser/web_applications/bookmark_apps:unit_tests",
"//chrome/browser/web_applications/components:unit_tests",
"//chrome/browser/web_applications/extensions:unit_tests",
......
......@@ -16,6 +16,7 @@ source_set("bookmark_apps") {
deps = [
"//chrome/browser/extensions",
"//chrome/browser/web_applications:web_app_group",
"//chrome/common",
"//skia",
]
......@@ -30,6 +31,7 @@ source_set("unit_tests") {
deps = [
":bookmark_apps",
"//chrome/browser/web_applications:web_app_group",
"//skia",
"//testing/gmock",
]
......
......@@ -36,9 +36,8 @@ source_set("components") {
]
}
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//chrome/browser/web_applications:web_app_group",
"//content/public/browser",
"//skia",
]
......@@ -62,6 +61,7 @@ source_set("unit_tests") {
deps = [
":components",
"//chrome/app/theme:theme_resources",
"//chrome/browser/web_applications:web_app_group",
"//content/public/browser",
"//skia",
"//testing/gmock",
......
......@@ -26,6 +26,7 @@ source_set("extensions") {
deps = [
"//base",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components",
"//chrome/common",
"//content/public/browser",
......@@ -43,6 +44,7 @@ source_set("unit_tests") {
deps = [
":extensions",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components",
"//content/public/browser",
"//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