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

Side by Side Diff: components/offline_pages.gypi

Issue 1504243002: [Offline pages] Refactoring helper classes out from offline_page_model_unittest.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing gn build and addressing comments Created 5 years 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
« no previous file with comments | « components/components_tests.gyp ('k') | components/offline_pages/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/offline_page_switches.cc', 35 'offline_pages/offline_page_switches.cc',
36 'offline_pages/offline_page_switches.h', 36 'offline_pages/offline_page_switches.h',
37 ], 37 ],
38 }, 38 },
39 { 39 {
40 # GN version: //components/offline_pages:test_support
41 'target_name': 'offline_pages_test_support',
42 'type': 'static_library',
43 'dependencies': [
44 '../base/base.gyp:base',
45 '../testing/gtest.gyp:gtest',
46 '../url/url.gyp:url_lib',
47 'offline_pages',
48 ],
49 'sources': [
50 'offline_pages/offline_page_test_archiver.h',
51 'offline_pages/offline_page_test_archiver.cc',
52 'offline_pages/offline_page_test_store.h',
53 'offline_pages/offline_page_test_store.cc',
54 ],
55 },
56 {
40 # Protobuf compiler / generator for the offline page item protocol buffer. 57 # Protobuf compiler / generator for the offline page item protocol buffer.
41 # GN version: //components/offline_pages/proto 58 # GN version: //components/offline_pages/proto
42 'target_name': 'offline_pages_proto', 59 'target_name': 'offline_pages_proto',
43 'type': 'static_library', 60 'type': 'static_library',
44 'sources': [ 'offline_pages/proto/offline_pages.proto', ], 61 'sources': [ 'offline_pages/proto/offline_pages.proto', ],
45 'variables': { 62 'variables': {
46 'proto_in_dir': 'offline_pages/proto', 63 'proto_in_dir': 'offline_pages/proto',
47 'proto_out_dir': 'components/offline_pages/proto', 64 'proto_out_dir': 'components/offline_pages/proto',
48 }, 65 },
49 'includes': [ '../build/protoc.gypi', ], 66 'includes': [ '../build/protoc.gypi', ],
50 }, 67 },
51 ], 68 ],
52 'conditions': [ 69 'conditions': [
53 ['OS == "android"', { 70 ['OS == "android"', {
54 'targets': [ 71 'targets': [
55 { 72 {
56 # GN: //components/offline_pages:offline_pages_enums_java 73 # GN: //components/offline_pages:offline_pages_enums_java
57 'target_name': 'offline_pages_enums_java', 74 'target_name': 'offline_pages_enums_java',
58 'type': 'none', 75 'type': 'none',
59 'variables': { 76 'variables': {
60 'source_file': 'offline_pages/offline_page_model.h', 77 'source_file': 'offline_pages/offline_page_model.h',
61 }, 78 },
62 'includes': [ '../build/android/java_cpp_enum.gypi' ], 79 'includes': [ '../build/android/java_cpp_enum.gypi' ],
63 }, 80 },
64 ], 81 ],
65 }], 82 }],
66 ], 83 ],
67 } 84 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/offline_pages/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698