naiveproxy/components/download/public/BUILD.gn

57 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# 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.
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
}
source_set("public") {
sources = [
"client.h",
"clients.h",
"download_metadata.cc",
"download_metadata.h",
"download_params.cc",
"download_params.h",
"download_service.h",
"download_task_types.h",
"features.cc",
"features.h",
"logger.h",
"navigation_monitor.h",
"service_config.h",
"task_scheduler.h",
]
deps = [
"//components/keyed_service/core",
]
public_deps = [
"//base",
"//net",
"//url",
]
}
if (is_android) {
android_library("public_java") {
srcjar_deps = [ ":jni_enums" ]
deps = [
"//base:base_java",
"//third_party/android_tools:android_support_annotations_java",
]
}
java_cpp_enum("jni_enums") {
visibility = [ "*" ]
sources = [
"download_task_types.h",
]
}
}