diff --git a/front_end/models/visibility.gni b/front_end/models/visibility.gni index 5cf7ac8341..cc481309b9 100644 --- a/front_end/models/visibility.gni +++ b/front_end/models/visibility.gni @@ -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 } diff --git a/front_end/panels/visibility.gni b/front_end/panels/visibility.gni index be7029930b..f68ab7bb37 100644 --- a/front_end/panels/visibility.gni +++ b/front_end/panels/visibility.gni @@ -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 } diff --git a/front_end/third_party/visibility.gni b/front_end/third_party/visibility.gni index 6c5dbed920..c782047a0b 100644 --- a/front_end/third_party/visibility.gni +++ b/front_end/third_party/visibility.gni @@ -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 } diff --git a/front_end/ui/components/visibility.gni b/front_end/ui/components/visibility.gni index 61f7c71026..90feb756b1 100644 --- a/front_end/ui/components/visibility.gni +++ b/front_end/ui/components/visibility.gni @@ -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 = [ diff --git a/front_end/ui/legacy/visibility.gni b/front_end/ui/legacy/visibility.gni index 62993fd09f..c31d8e9c46 100644 --- a/front_end/ui/legacy/visibility.gni +++ b/front_end/ui/legacy/visibility.gni @@ -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 } diff --git a/front_end/ui/lit-html/visibility.gni b/front_end/ui/lit-html/visibility.gni index 7d787eb3c3..63a04ca5ea 100644 --- a/front_end/ui/lit-html/visibility.gni +++ b/front_end/ui/lit-html/visibility.gni @@ -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 } diff --git a/front_end/visibility.gni b/front_end/visibility.gni new file mode 100644 index 0000000000..ec9d580cbf --- /dev/null +++ b/front_end/visibility.gni @@ -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 = [] +}