mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
46 lines
984 B
Plaintext
46 lines
984 B
Plaintext
# Copyright 2017 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/config/features.gni")
|
|
import("//services/service_manager/public/cpp/service.gni")
|
|
import("//services/service_manager/public/service_manifest.gni")
|
|
|
|
source_set("lib") {
|
|
sources = [
|
|
"file_util_service.cc",
|
|
"file_util_service.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//mojo/public/cpp/bindings",
|
|
]
|
|
|
|
public_deps = [
|
|
"//chrome/services/file_util/public/interfaces",
|
|
"//services/service_manager/public/cpp",
|
|
]
|
|
|
|
if (is_chromeos) {
|
|
sources += [
|
|
"zip_file_creator.cc",
|
|
"zip_file_creator.h",
|
|
]
|
|
|
|
deps += [ "//components/filesystem/public/interfaces" ]
|
|
}
|
|
|
|
if (safe_browsing_mode == 1) {
|
|
sources += [
|
|
"safe_archive_analyzer.cc",
|
|
"safe_archive_analyzer.h",
|
|
]
|
|
}
|
|
}
|
|
|
|
service_manifest("manifest") {
|
|
name = "file_util"
|
|
source = "manifest.json"
|
|
}
|