Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: components/offline_pages.gypi

Issue 1914333002: Adding a BUILD file for both gyp and gn for the new background_offlining (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR changes per DougArnett Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN: //components/offline_pages:offline_pages 8 # GN: //components/offline_pages:offline_pages
9 'target_name': 'offline_pages', 9 'target_name': 'offline_pages',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 19 matching lines...) Expand all
30 'offline_pages/offline_page_model.h', 30 'offline_pages/offline_page_model.h',
31 'offline_pages/offline_page_metadata_store.cc', 31 'offline_pages/offline_page_metadata_store.cc',
32 'offline_pages/offline_page_metadata_store.h', 32 'offline_pages/offline_page_metadata_store.h',
33 'offline_pages/offline_page_metadata_store_impl.cc', 33 'offline_pages/offline_page_metadata_store_impl.cc',
34 'offline_pages/offline_page_metadata_store_impl.h', 34 'offline_pages/offline_page_metadata_store_impl.h',
35 'offline_pages/snapshot_controller.cc', 35 'offline_pages/snapshot_controller.cc',
36 'offline_pages/snapshot_controller.h', 36 'offline_pages/snapshot_controller.h',
37 ], 37 ],
38 }, 38 },
39 { 39 {
40 # GN: //components/offline_pages/background:background_offliner
41 'target_name': 'background_offliner',
42 'type': 'static_library',
43 'include_dirs': [
44 '..',
45 '../..',
46 ],
47 'dependencies': [
48 '../base/base.gyp:base',
49 '../net/net.gyp:net',
50 '../url/url.gyp:url_lib',
51 ],
52 'sources': [
53 'offline_pages/background/offliner.h',
54 'offline_pages/background/request_coordinator.h',
55 'offline_pages/background/request_coordinator.cc',
56 'offline_pages/background/scheduler.h',
57 ],
58 },
59 {
60 # GN: //components/offline_pages/background:background_offliner
fgorski 2016/04/28 11:54:58 is this a duplicate?
Pete Williamson 2016/04/28 20:22:02 Yes. Duplicate code removed.
61 'target_name': 'background_offliner',
62 'type': 'static_library',
63 'include_dirs': [
64 '..',
65 '../..',
66 ],
67 'dependencies': [
68 '../base/base.gyp:base',
69 '../net/net.gyp:net',
70 '../url/url.gyp:url_lib',
71 ],
72 'sources': [
73 'offline_pages/background/offliner.h',
74 'offline_pages/background/request_coordinator.h',
75 'offline_pages/background/request_coordinator.cc',
76 'offline_pages/background/scheduler.h',
77 ],
78 },
79 {
40 # GN version: //components/offline_pages:test_support 80 # GN version: //components/offline_pages:test_support
41 'target_name': 'offline_pages_test_support', 81 'target_name': 'offline_pages_test_support',
42 'type': 'static_library', 82 'type': 'static_library',
43 'dependencies': [ 83 'dependencies': [
44 '../base/base.gyp:base', 84 '../base/base.gyp:base',
45 '../testing/gtest.gyp:gtest', 85 '../testing/gtest.gyp:gtest',
46 '../url/url.gyp:url_lib', 86 '../url/url.gyp:url_lib',
47 'offline_pages', 87 'offline_pages',
48 ], 88 ],
49 'sources': [ 89 'sources': [
(...skipping 25 matching lines...) Expand all
75 'type': 'none', 115 'type': 'none',
76 'variables': { 116 'variables': {
77 'source_file': 'offline_pages/offline_page_model.h', 117 'source_file': 'offline_pages/offline_page_model.h',
78 }, 118 },
79 'includes': [ '../build/android/java_cpp_enum.gypi' ], 119 'includes': [ '../build/android/java_cpp_enum.gypi' ],
80 }, 120 },
81 ], 121 ],
82 }], 122 }],
83 ], 123 ],
84 } 124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698