mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Copyright 2018 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.
|
|
|
|
import("//build_overrides/build.gni")
|
|
|
|
if (build_with_chromium) {
|
|
visibility = [
|
|
"//third_party/webrtc/*",
|
|
"//third_party/abseil-cpp/*",
|
|
"//third_party/googletest:gtest",
|
|
]
|
|
} else {
|
|
visibility = [ "*" ]
|
|
}
|
|
|
|
source_set("algorithm") {
|
|
configs -= [ "//build/config/compiler:chromium_code" ]
|
|
configs += [
|
|
"//build/config/compiler:no_chromium_code",
|
|
"//third_party/abseil-cpp:absl_default_cflags_cc",
|
|
]
|
|
public_configs = [ "//third_party/abseil-cpp:absl_include_config" ]
|
|
public = [
|
|
"algorithm.h",
|
|
]
|
|
}
|
|
|
|
source_set("container") {
|
|
configs -= [ "//build/config/compiler:chromium_code" ]
|
|
configs += [
|
|
"//build/config/compiler:no_chromium_code",
|
|
"//third_party/abseil-cpp:absl_default_cflags_cc",
|
|
]
|
|
public_configs = [ "//third_party/abseil-cpp:absl_include_config" ]
|
|
public = [
|
|
"container.h",
|
|
]
|
|
deps = [
|
|
":algorithm",
|
|
"../base:core_headers",
|
|
"../meta:type_traits",
|
|
]
|
|
}
|