mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
37 lines
744 B
Plaintext
37 lines
744 B
Plaintext
# Copyright 2016 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("//testing/test.gni")
|
|
|
|
component("service") {
|
|
output_name = "discardable_memory_service"
|
|
|
|
defines = [ "DISCARDABLE_MEMORY_IMPLEMENTATION" ]
|
|
|
|
sources = [
|
|
"discardable_shared_memory_manager.cc",
|
|
"discardable_shared_memory_manager.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//components/discardable_memory/common",
|
|
"//components/discardable_memory/public/interfaces",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"discardable_shared_memory_manager_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":service",
|
|
"//base",
|
|
"//testing/gtest",
|
|
]
|
|
}
|