| # 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", |
| "features.cc", |
| "features.h", |
| "logger.h", |
| "navigation_monitor.h", |
| "service_config.h", |
| ] |
| |
| deps = [ |
| "//components/keyed_service/core", |
| ] |
| |
| # TODO(xingliu): Create blob target that doesn't need to depend on blink. |
| # Currently gn header check will fail even if the code is not built into any targets. |
| if (!is_ios) { |
| deps += [ "//storage/browser" ] |
| } |
| |
| public_deps = [ |
| "//base", |
| "//components/download/public/task:public", |
| "//net", |
| "//url", |
| ] |
| } |