| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 if (is_android) { | |
| 6 import("//build/config/android/rules.gni") | |
| 7 } | |
| 8 | |
| 9 static_library("request_header") { | |
| 10 sources = [ | |
| 11 "offline_page_header.cc", | |
| 12 "offline_page_header.h", | |
| 13 ] | |
| 14 | |
| 15 deps = [ | |
| 16 "//base", | |
| 17 ] | |
| 18 } | |
| 19 | |
| 20 source_set("unit_tests") { | |
| 21 testonly = true | |
| 22 sources = [ | |
| 23 "offline_page_header_unittest.cc", | |
| 24 ] | |
| 25 | |
| 26 deps = [ | |
| 27 ":request_header", | |
| 28 "//base", | |
| 29 "//base/test:test_support", | |
| 30 "//testing/gtest", | |
| 31 ] | |
| 32 } | |
| OLD | NEW |