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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 source_set("unit_tests") { | 68 source_set("unit_tests") { |
69 testonly = true | 69 testonly = true |
70 sources = [ | 70 sources = [ |
71 "offline_page_metadata_store_impl_unittest.cc", | 71 "offline_page_metadata_store_impl_unittest.cc", |
72 "offline_page_model_unittest.cc", | 72 "offline_page_model_unittest.cc", |
73 ] | 73 ] |
74 | 74 |
75 deps = [ | 75 deps = [ |
76 ":offline_pages", | 76 ":offline_pages", |
| 77 ":switches", |
77 ":test_support", | 78 ":test_support", |
78 "//base", | 79 "//base", |
79 "//base/test:test_support", | 80 "//base/test:test_support", |
80 "//components/bookmarks/browser", | 81 "//components/bookmarks/browser", |
81 "//components/bookmarks/test", | 82 "//components/bookmarks/test", |
82 "//components/leveldb_proto", | 83 "//components/leveldb_proto", |
83 "//components/offline_pages/proto:offline_pages_proto", | 84 "//components/offline_pages/proto:offline_pages_proto", |
84 "//testing/gtest", | 85 "//testing/gtest", |
85 "//url", | 86 "//url", |
86 ] | 87 ] |
87 } | 88 } |
88 | 89 |
89 if (is_android) { | 90 if (is_android) { |
90 java_cpp_enum("offline_page_feature_enums_java") { | 91 java_cpp_enum("offline_page_feature_enums_java") { |
91 sources = [ | 92 sources = [ |
92 "offline_page_feature.h", | 93 "offline_page_feature.h", |
93 ] | 94 ] |
94 } | 95 } |
95 | 96 |
96 java_cpp_enum("offline_page_model_enums_java") { | 97 java_cpp_enum("offline_page_model_enums_java") { |
97 sources = [ | 98 sources = [ |
98 "offline_page_model.h", | 99 "offline_page_model.h", |
99 ] | 100 ] |
100 } | 101 } |
101 } | 102 } |
OLD | NEW |