Commit b7877786 authored by Daniel Kay's avatar Daniel Kay Committed by Commit Bot

Allow the libassistant project to use absl

Expand the visibility restrictions to allow the libassistant project to
depend on absl targets even when built in the context of chromium.

Bug: b/119188101
Test: manually verified
Change-Id: I518eb2ee85ba6186c81d7c28af2f7d81ab9e382b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1572543Reviewed-by: default avatarMirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Daniel Kay <danielkay@google.com>
Cr-Commit-Position: refs/heads/master@{#652560}
parent 72c26c97
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni") ...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni")
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni") ...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni")
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -13,6 +13,7 @@ import("//build_overrides/build.gni") ...@@ -13,6 +13,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni") ...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni")
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni") ...@@ -12,6 +12,7 @@ import("//build_overrides/build.gni")
# https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU # https://docs.google.com/document/d/1DgS1-A3rzboTLjpf4m1sqkJgWjnY_Ru2dokk1X1vBDU
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni") ...@@ -6,6 +6,7 @@ import("//build_overrides/build.gni")
if (build_with_chromium) { if (build_with_chromium) {
visibility = [ visibility = [
"//libassistant/*",
"//third_party/webrtc/*", "//third_party/webrtc/*",
"//third_party/abseil-cpp/*", "//third_party/abseil-cpp/*",
"//third_party/googletest:gtest", "//third_party/googletest:gtest",
......
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