| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 "//base", | 50 "//base", |
| 51 "//testing/gtest", | 51 "//testing/gtest", |
| 52 "//url", | 52 "//url", |
| 53 ] | 53 ] |
| 54 } | 54 } |
| 55 | 55 |
| 56 source_set("switches") { | 56 source_set("switches") { |
| 57 sources = [ | 57 sources = [ |
| 58 "offline_page_feature.cc", | 58 "offline_page_feature.cc", |
| 59 "offline_page_feature.h", | 59 "offline_page_feature.h", |
| 60 "offline_page_switches.cc", | |
| 61 "offline_page_switches.h", | |
| 62 ] | 60 ] |
| 63 | 61 |
| 64 deps = [ | 62 deps = [ |
| 65 "//base", | 63 "//base", |
| 66 "//components/version_info", | 64 "//components/version_info", |
| 67 ] | 65 ] |
| 68 } | 66 } |
| 69 | 67 |
| 70 source_set("unit_tests") { | 68 source_set("unit_tests") { |
| 71 testonly = true | 69 testonly = true |
| (...skipping 11 matching lines...) Expand all Loading... |
| 83 "//components/bookmarks/browser", | 81 "//components/bookmarks/browser", |
| 84 "//components/bookmarks/test", | 82 "//components/bookmarks/test", |
| 85 "//components/leveldb_proto", | 83 "//components/leveldb_proto", |
| 86 "//components/offline_pages/proto:offline_pages_proto", | 84 "//components/offline_pages/proto:offline_pages_proto", |
| 87 "//testing/gtest", | 85 "//testing/gtest", |
| 88 "//url", | 86 "//url", |
| 89 ] | 87 ] |
| 90 } | 88 } |
| 91 | 89 |
| 92 if (is_android) { | 90 if (is_android) { |
| 93 java_cpp_enum("offline_page_feature_enums_java") { | |
| 94 sources = [ | |
| 95 "offline_page_feature.h", | |
| 96 ] | |
| 97 } | |
| 98 | |
| 99 java_cpp_enum("offline_page_model_enums_java") { | 91 java_cpp_enum("offline_page_model_enums_java") { |
| 100 sources = [ | 92 sources = [ |
| 101 "offline_page_model.h", | 93 "offline_page_model.h", |
| 102 ] | 94 ] |
| 103 } | 95 } |
| 104 } | 96 } |
| OLD | NEW |