OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 # These values are duplicated in the GYP build in: | 7 # These values are duplicated in the GYP build in: |
8 # //components/precache/precache_defines.gypi | 8 # //components/precache/precache_defines.gypi |
9 precache_config_settings_url = | 9 precache_config_settings_url = |
10 "http://www.gstatic.com/chrome/wifiprefetch/precache_config" | 10 "http://www.gstatic.com/chrome/wifiprefetch/precache_config" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 source_set("unit_tests") { | 51 source_set("unit_tests") { |
52 testonly = true | 52 testonly = true |
53 sources = [ | 53 sources = [ |
54 "precache_database_unittest.cc", | 54 "precache_database_unittest.cc", |
55 "precache_fetcher_unittest.cc", | 55 "precache_fetcher_unittest.cc", |
56 "precache_url_table_unittest.cc", | 56 "precache_url_table_unittest.cc", |
57 ] | 57 ] |
| 58 |
| 59 configs += [ ":precache_config" ] |
| 60 |
58 deps = [ | 61 deps = [ |
59 ":core", | 62 ":core", |
60 ":proto", | 63 ":proto", |
61 "//testing/gmock", | 64 "//testing/gmock", |
62 "//testing/gtest", | 65 "//testing/gtest", |
63 ] | 66 ] |
64 } | 67 } |
OLD | NEW |