Chromium Code Reviews| Index: components/offline_pages/request_header/BUILD.gn |
| diff --git a/components/link_header_util/BUILD.gn b/components/offline_pages/request_header/BUILD.gn |
| similarity index 51% |
| copy from components/link_header_util/BUILD.gn |
| copy to components/offline_pages/request_header/BUILD.gn |
| index 6faef62389c66f9acdb0307557204d8924d368c6..37dcb8a2df55148965f381b9051d71b3416c6ad5 100644 |
| --- a/components/link_header_util/BUILD.gn |
| +++ b/components/offline_pages/request_header/BUILD.gn |
| @@ -2,28 +2,32 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| -static_library("link_header_util") { |
| +if (is_android) { |
| + import("//build/config/android/rules.gni") |
| +} |
| + |
| +# GYP: //components/offline_pages.gypi:request_header |
|
brettw
2016/09/20 20:39:15
Why did you add this? offline_pages.gypi doesn't e
jianli
2016/09/20 20:46:54
Done.
|
| +static_library("request_header") { |
| sources = [ |
| - "link_header_util.cc", |
| - "link_header_util.h", |
| + "offline_page_header.cc", |
| + "offline_page_header.h", |
| ] |
| deps = [ |
| "//base", |
| - "//net", |
| ] |
| } |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| - "link_header_util_unittest.cc", |
| + "offline_page_header_unittest.cc", |
| ] |
| deps = [ |
| - ":link_header_util", |
| + ":request_header", |
| "//base", |
| - "//net", |
| + "//base/test:test_support", |
| "//testing/gtest", |
| ] |
| } |