chromium/components/offline_pages/core/request_header/BUILD.gn

# Copyright 2016 The Chromium Authors
# 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/rules.gni")
}

static_library("request_header") {
  sources = [
    "offline_page_header.cc",
    "offline_page_header.h",
    "offline_page_navigation_ui_data.cc",
    "offline_page_navigation_ui_data.h",
  ]

  deps = [
    "//base",
    "//url:url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "offline_page_header_unittest.cc" ]

  deps = [
    ":request_header",
    "//base",
    "//base/test:test_support",
    "//testing/gtest",
    "//url:url",
  ]
}