| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 ] | 43 ] |
| 44 } | 44 } |
| 45 | 45 |
| 46 static_library("test_support") { | 46 static_library("test_support") { |
| 47 testonly = true | 47 testonly = true |
| 48 sources = [ | 48 sources = [ |
| 49 "offline_page_test_archiver.cc", | 49 "offline_page_test_archiver.cc", |
| 50 "offline_page_test_archiver.h", | 50 "offline_page_test_archiver.h", |
| 51 "offline_page_test_store.cc", | 51 "offline_page_test_store.cc", |
| 52 "offline_page_test_store.h", | 52 "offline_page_test_store.h", |
| 53 "stub_offline_page_model.cc", |
| 54 "stub_offline_page_model.h", |
| 53 ] | 55 ] |
| 54 | 56 |
| 55 deps = [ | 57 deps = [ |
| 56 ":offline_pages", | 58 ":offline_pages", |
| 57 ":switches", | 59 ":switches", |
| 58 "//base", | 60 "//base", |
| 59 "//testing/gtest", | 61 "//testing/gtest", |
| 60 "//url", | 62 "//url", |
| 61 ] | 63 ] |
| 62 } | 64 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ] | 97 ] |
| 96 } | 98 } |
| 97 | 99 |
| 98 if (is_android) { | 100 if (is_android) { |
| 99 java_cpp_enum("offline_page_model_enums_java") { | 101 java_cpp_enum("offline_page_model_enums_java") { |
| 100 sources = [ | 102 sources = [ |
| 101 "offline_page_types.h", | 103 "offline_page_types.h", |
| 102 ] | 104 ] |
| 103 } | 105 } |
| 104 } | 106 } |
| OLD | NEW |