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

Side by Side Diff: components/variations.gypi

Issue 1306893007: //components/variations: Create separate target for VariationsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/BUILD.gn ('k') | components/variations/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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 version: //components/variations 8 # GN version: //components/variations
9 'target_name': 'variations', 9 'target_name': 'variations',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 'variations/variations_request_scheduler.cc', 55 'variations/variations_request_scheduler.cc',
56 'variations/variations_request_scheduler.h', 56 'variations/variations_request_scheduler.h',
57 'variations/variations_request_scheduler_mobile.cc', 57 'variations/variations_request_scheduler_mobile.cc',
58 'variations/variations_request_scheduler_mobile.h', 58 'variations/variations_request_scheduler_mobile.h',
59 'variations/variations_seed_processor.cc', 59 'variations/variations_seed_processor.cc',
60 'variations/variations_seed_processor.h', 60 'variations/variations_seed_processor.h',
61 'variations/variations_seed_simulator.cc', 61 'variations/variations_seed_simulator.cc',
62 'variations/variations_seed_simulator.h', 62 'variations/variations_seed_simulator.h',
63 'variations/variations_seed_store.cc', 63 'variations/variations_seed_store.cc',
64 'variations/variations_seed_store.h', 64 'variations/variations_seed_store.h',
65 'variations/variations_service_client.h',
66 'variations/variations_url_constants.cc', 65 'variations/variations_url_constants.cc',
67 'variations/variations_url_constants.h', 66 'variations/variations_url_constants.h',
68 'variations/variations_util.cc', 67 'variations/variations_util.cc',
69 'variations/variations_util.h', 68 'variations/variations_util.h',
70 ], 69 ],
71 'variables': { 70 'variables': {
72 'proto_in_dir': 'variations/proto', 71 'proto_in_dir': 'variations/proto',
73 'proto_out_dir': 'components/variations/proto', 72 'proto_out_dir': 'components/variations/proto',
74 }, 73 },
75 'includes': [ '../build/protoc.gypi' ], 74 'includes': [ '../build/protoc.gypi' ],
76 'conditions': [ 75 'conditions': [
77 ['OS == "android"', { 76 ['OS == "android"', {
78 'dependencies': [ 77 'dependencies': [
79 'variations_jni_headers', 78 'variations_jni_headers',
80 ], 79 ],
81 }], 80 }],
82 ['OS!="android" and OS!="ios"', { 81 ['OS!="android" and OS!="ios"', {
83 'sources!': [ 82 'sources!': [
84 'variations/variations_request_scheduler_mobile.cc', 83 'variations/variations_request_scheduler_mobile.cc',
85 ], 84 ],
86 }], 85 }],
87 ], 86 ],
88 }, 87 },
89 { 88 {
89 # GN version: //components/variations/service
90 'target_name': 'variations_service',
91
92 # TODO(blundell): Change to static_library once it has code in it.
93 'type': 'none',
94 'include_dirs': [
95 '..',
96 ],
97 'dependencies': [
98 '../base/base.gyp:base',
99 ],
100 'sources': [
101 'variations/service/variations_service_client.h',
102 ],
103 },
104 {
90 # GN version: //components/variations/net:net 105 # GN version: //components/variations/net:net
91 'target_name': 'variations_http_provider', 106 'target_name': 'variations_http_provider',
92 'type': 'static_library', 107 'type': 'static_library',
93 'include_dirs': [ 108 'include_dirs': [
94 '..', 109 '..',
95 ], 110 ],
96 'dependencies': [ 111 'dependencies': [
97 '../base/base.gyp:base', 112 '../base/base.gyp:base',
98 '../net/net.gyp:net', 113 '../net/net.gyp:net',
99 '../url/url.gyp:url_lib', 114 '../url/url.gyp:url_lib',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 ], 149 ],
135 'variables': { 150 'variables': {
136 'jni_gen_package': 'variations', 151 'jni_gen_package': 'variations',
137 }, 152 },
138 'includes': [ '../build/jni_generator.gypi' ], 153 'includes': [ '../build/jni_generator.gypi' ],
139 }, 154 },
140 ], 155 ],
141 }], 156 }],
142 ] 157 ]
143 } 158 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/variations/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698