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

Side by Side Diff: components/sessions.gypi

Issue 1041673002: Remove "easy" android_webview_build conditions from components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « components/resources/components_resources.grd ('k') | components/sessions/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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 6 'variables': {
7 # Core sources shared by sessions_content and sessions_ios. 7 # Core sources shared by sessions_content and sessions_ios.
8 # 8 #
9 # TODO(rohitrao): We are including these sources directly into each 9 # TODO(rohitrao): We are including these sources directly into each
10 # individual target in order to avoid the complications associated with 10 # individual target in order to avoid the complications associated with
(...skipping 24 matching lines...) Expand all
35 ], 35 ],
36 }, 36 },
37 'targets': [ 37 'targets': [
38 { 38 {
39 # GN version: //components/sessions:test_support 39 # GN version: //components/sessions:test_support
40 'target_name': 'sessions_test_support', 40 'target_name': 'sessions_test_support',
41 'type': 'static_library', 41 'type': 'static_library',
42 'defines!': ['SESSIONS_IMPLEMENTATION'], 42 'defines!': ['SESSIONS_IMPLEMENTATION'],
43 'dependencies': [ 43 'dependencies': [
44 '../skia/skia.gyp:skia', 44 '../skia/skia.gyp:skia',
45 '../sync/sync.gyp:sync',
45 '../testing/gtest.gyp:gtest', 46 '../testing/gtest.gyp:gtest',
46 ], 47 ],
47 'include_dirs': [ 48 'include_dirs': [
48 '..', 49 '..',
49 ], 50 ],
50 'sources': [ 51 'sources': [
51 # Note: sources list duplicated in GN build. 52 # Note: sources list duplicated in GN build.
52 'sessions/serialized_navigation_entry_test_helper.cc', 53 'sessions/serialized_navigation_entry_test_helper.cc',
53 'sessions/serialized_navigation_entry_test_helper.h', 54 'sessions/serialized_navigation_entry_test_helper.h',
54 ], 55 ],
55 'conditions': [ 56 'conditions': [
56 ['android_webview_build == 0', {
57 'dependencies': [
58 '../sync/sync.gyp:sync',
59 ]
60 }],
61 ['OS!="ios" and OS!="android"', { 57 ['OS!="ios" and OS!="android"', {
62 'sources': [ 58 'sources': [
63 'sessions/base_session_service_test_helper.cc', 59 'sessions/base_session_service_test_helper.cc',
64 'sessions/base_session_service_test_helper.h', 60 'sessions/base_session_service_test_helper.h',
65 'sessions/session_backend.cc', 61 'sessions/session_backend.cc',
66 'sessions/session_backend.h', 62 'sessions/session_backend.h',
67 ] 63 ]
68 }], 64 }],
69 ], 65 ],
70 }, 66 },
71 ], 67 ],
72 68
73 # Platform-specific targets. 69 # Platform-specific targets.
74 'conditions': [ 70 'conditions': [
75 ['OS!="ios"', { 71 ['OS!="ios"', {
76 'targets': [ 72 'targets': [
77 { 73 {
78 # GN version: //components/sessions:sessions_content 74 # GN version: //components/sessions:sessions_content
79 'target_name': 'sessions_content', 75 'target_name': 'sessions_content',
80 'type': '<(component)', 76 'type': '<(component)',
81 'dependencies': [ 77 'dependencies': [
82 '../base/base.gyp:base', 78 '../base/base.gyp:base',
83 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 79 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
84 '../content/content.gyp:content_browser', 80 '../content/content.gyp:content_browser',
85 '../skia/skia.gyp:skia', 81 '../skia/skia.gyp:skia',
82 '../sync/sync.gyp:sync',
86 '../third_party/protobuf/protobuf.gyp:protobuf_lite', 83 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
87 '../ui/base/ui_base.gyp:ui_base', 84 '../ui/base/ui_base.gyp:ui_base',
88 '../ui/gfx/gfx.gyp:gfx_geometry', 85 '../ui/gfx/gfx.gyp:gfx_geometry',
89 '../url/url.gyp:url_lib', 86 '../url/url.gyp:url_lib',
90 ], 87 ],
91 'include_dirs': [ 88 'include_dirs': [
92 '..', 89 '..',
93 ], 90 ],
94 'defines': [ 91 'defines': [
95 'SESSIONS_IMPLEMENTATION', 92 'SESSIONS_IMPLEMENTATION',
96 ], 93 ],
97 'sources': [ 94 'sources': [
98 # Note: sources list duplicated in GN build. 95 # Note: sources list duplicated in GN build.
99 '<@(sessions_core_sources)', 96 '<@(sessions_core_sources)',
100 97
101 'sessions/content/content_serialized_navigation_builder.cc', 98 'sessions/content/content_serialized_navigation_builder.cc',
102 'sessions/content/content_serialized_navigation_builder.h', 99 'sessions/content/content_serialized_navigation_builder.h',
103 'sessions/content/content_serialized_navigation_driver.cc', 100 'sessions/content/content_serialized_navigation_driver.cc',
104 'sessions/content/content_serialized_navigation_driver.h', 101 'sessions/content/content_serialized_navigation_driver.h',
105 ], 102 ],
106 'conditions': [
107 ['android_webview_build == 0', {
108 'dependencies': [
109 '../sync/sync.gyp:sync',
110 ]
111 }],
112 ],
113 }, 103 },
114 ], 104 ],
115 }, { # OS==ios 105 }, { # OS==ios
116 'targets': [ 106 'targets': [
117 { 107 {
118 'target_name': 'sessions_ios', 108 'target_name': 'sessions_ios',
119 'type': 'static_library', 109 'type': 'static_library',
120 'dependencies': [ 110 'dependencies': [
121 '../base/base.gyp:base', 111 '../base/base.gyp:base',
122 '../ios/web/ios_web.gyp:ios_web', 112 '../ios/web/ios_web.gyp:ios_web',
(...skipping 16 matching lines...) Expand all
139 'sessions/ios/ios_serialized_navigation_builder.h', 129 'sessions/ios/ios_serialized_navigation_builder.h',
140 'sessions/ios/ios_serialized_navigation_driver.cc', 130 'sessions/ios/ios_serialized_navigation_driver.cc',
141 'sessions/ios/ios_serialized_navigation_driver.h', 131 'sessions/ios/ios_serialized_navigation_driver.h',
142 ], 132 ],
143 }, 133 },
144 ], 134 ],
145 }], 135 }],
146 ], 136 ],
147 137
148 } 138 }
OLDNEW
« no previous file with comments | « components/resources/components_resources.grd ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698