Create a single default variable for visibility lists

Bug: none
Change-Id: Ic744806971748d973b24b44a99c2a69f90df672b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3021233
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
Alex Rudenko
2021-07-12 16:42:25 +00:00
committed by Devtools-frontend LUCI CQ
parent 0f7a51b049
commit 0177a4bd3a
7 changed files with 25 additions and 6 deletions
+3 -1
View File
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../visibility.gni")
declare_args() {
devtools_models_visibility = []
devtools_models_visibility = devtools_visibility
}
+3 -1
View File
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../visibility.gni")
declare_args() {
devtools_panels_visibility = []
devtools_panels_visibility = devtools_visibility
}
+3 -1
View File
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../visibility.gni")
declare_args() {
devtools_third_party_visibility = []
devtools_third_party_visibility = devtools_visibility
}
+3 -1
View File
@@ -2,8 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../visibility.gni")
declare_args() {
devtools_components_visibility = []
devtools_components_visibility = devtools_visibility
}
default_components_visibility = [
+3 -1
View File
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../visibility.gni")
declare_args() {
devtools_ui_legacy_visibility = []
devtools_ui_legacy_visibility = devtools_visibility
}
+3 -1
View File
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../visibility.gni")
declare_args() {
devtools_lit_visibility = []
devtools_lit_visibility = devtools_visibility
}
+7
View File
@@ -0,0 +1,7 @@
# Copyright 2021 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.
declare_args() {
devtools_visibility = []
}