| 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 "https://www.gstatic.com/chrome/wifiprefetch/precache_config" | 10 "https://www.gstatic.com/chrome/wifiprefetch/precache_config" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 # Note the GYP build sets this as direct dependent settings, but this is | 33 # Note the GYP build sets this as direct dependent settings, but this is |
| 34 # only used to share the settings with the unit tests. Instead, we just | 34 # only used to share the settings with the unit tests. Instead, we just |
| 35 # set this config for the necessary targets manually. | 35 # set this config for the necessary targets manually. |
| 36 configs += [ ":precache_config" ] | 36 configs += [ ":precache_config" ] |
| 37 | 37 |
| 38 deps = [ | 38 deps = [ |
| 39 ":proto", | 39 ":proto", |
| 40 "//base", | 40 "//base", |
| 41 "//base:prefs", | |
| 42 "//components/history/core/browser", | 41 "//components/history/core/browser", |
| 42 "//components/prefs", |
| 43 "//net", | 43 "//net", |
| 44 "//sql", | 44 "//sql", |
| 45 "//url", | 45 "//url", |
| 46 ] | 46 ] |
| 47 } | 47 } |
| 48 | 48 |
| 49 proto_library("proto") { | 49 proto_library("proto") { |
| 50 sources = [ | 50 sources = [ |
| 51 "proto/precache.proto", | 51 "proto/precache.proto", |
| 52 ] | 52 ] |
| (...skipping 14 matching lines...) Expand all Loading... |
| 67 ":proto", | 67 ":proto", |
| 68 "//base", | 68 "//base", |
| 69 "//base/test:test_support", | 69 "//base/test:test_support", |
| 70 "//components/history/core/browser", | 70 "//components/history/core/browser", |
| 71 "//net:test_support", | 71 "//net:test_support", |
| 72 "//sql", | 72 "//sql", |
| 73 "//testing/gmock", | 73 "//testing/gmock", |
| 74 "//testing/gtest", | 74 "//testing/gtest", |
| 75 ] | 75 ] |
| 76 } | 76 } |
| OLD | NEW |