Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 # GYP: //components/offline_pages.gypi:offline_pages | 9 # GYP: //components/offline_pages.gypi:offline_pages |
| 10 static_library("offline_pages") { | 10 static_library("offline_pages") { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 "//base", | 71 "//base", |
| 72 "//components/version_info", | 72 "//components/version_info", |
| 73 ] | 73 ] |
| 74 } | 74 } |
| 75 | 75 |
| 76 source_set("unit_tests") { | 76 source_set("unit_tests") { |
| 77 testonly = true | 77 testonly = true |
| 78 sources = [ | 78 sources = [ |
| 79 "archive_manager_unittest.cc", | 79 "archive_manager_unittest.cc", |
| 80 "client_policy_controller_unittest.cc", | 80 "client_policy_controller_unittest.cc", |
| 81 "fake_offline_page_model.h", | |
|
fgorski
2016/06/01 18:04:00
I think this belongs in test_support
and componen
dougarnett
2016/06/01 20:28:28
Thanks - Done
| |
| 81 "offline_page_metadata_store_impl_unittest.cc", | 82 "offline_page_metadata_store_impl_unittest.cc", |
| 82 "offline_page_model_impl_unittest.cc", | 83 "offline_page_model_impl_unittest.cc", |
| 83 "offline_page_storage_manager_unittest.cc", | 84 "offline_page_storage_manager_unittest.cc", |
| 84 "snapshot_controller_unittest.cc", | 85 "snapshot_controller_unittest.cc", |
| 85 ] | 86 ] |
| 86 | 87 |
| 87 deps = [ | 88 deps = [ |
| 88 ":offline_pages", | 89 ":offline_pages", |
| 89 ":switches", | 90 ":switches", |
| 90 ":test_support", | 91 ":test_support", |
| 91 "//base", | 92 "//base", |
| 92 "//base/test:test_support", | 93 "//base/test:test_support", |
| 93 "//testing/gtest", | 94 "//testing/gtest", |
| 94 "//url", | 95 "//url", |
| 95 ] | 96 ] |
| 96 } | 97 } |
| 97 | 98 |
| 98 if (is_android) { | 99 if (is_android) { |
| 99 java_cpp_enum("offline_page_model_enums_java") { | 100 java_cpp_enum("offline_page_model_enums_java") { |
| 100 sources = [ | 101 sources = [ |
| 101 "offline_page_types.h", | 102 "offline_page_types.h", |
| 102 ] | 103 ] |
| 103 } | 104 } |
| 104 } | 105 } |
| OLD | NEW |