OLD | NEW |
---|---|
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 'target_name': 'variations', | 8 'target_name': 'variations', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 '../third_party/mt19937ar/mt19937ar.gyp:mt19937ar', | 15 '../third_party/mt19937ar/mt19937ar.gyp:mt19937ar', |
16 'variations_proto', | |
16 ], | 17 ], |
17 'sources': [ | 18 'sources': [ |
19 'variations/caching_permuted_entropy_provider.cc', | |
20 'variations/caching_permuted_entropy_provider.h', | |
18 'variations/entropy_provider.cc', | 21 'variations/entropy_provider.cc', |
19 'variations/entropy_provider.h', | 22 'variations/entropy_provider.h', |
20 'variations/metrics_util.cc', | 23 'variations/metrics_util.cc', |
21 'variations/metrics_util.h', | 24 'variations/metrics_util.h', |
25 'variations/pref_names.cc', | |
26 'variations/pref_names.h', | |
22 'variations/processed_study.cc', | 27 'variations/processed_study.cc', |
23 'variations/processed_study.h', | 28 'variations/processed_study.h', |
24 'variations/proto/variations_seed.proto', | |
25 'variations/proto/study.proto', | |
26 'variations/study_filtering.cc', | 29 'variations/study_filtering.cc', |
27 'variations/study_filtering.h', | 30 'variations/study_filtering.h', |
28 'variations/variations_associated_data.cc', | 31 'variations/variations_associated_data.cc', |
29 'variations/variations_associated_data.h', | 32 'variations/variations_associated_data.h', |
30 'variations/variations_seed_processor.cc', | 33 'variations/variations_seed_processor.cc', |
31 'variations/variations_seed_processor.h', | 34 'variations/variations_seed_processor.h', |
32 'variations/variations_seed_simulator.cc', | 35 'variations/variations_seed_simulator.cc', |
33 'variations/variations_seed_simulator.h', | 36 'variations/variations_seed_simulator.h', |
34 ], | 37 ], |
38 }, | |
39 { | |
40 'target_name': 'variations_proto', | |
Alexei Svitkine (slow)
2014/05/19 11:23:03
I think it's OK to keep them in the same target (m
blundell
2014/05/19 11:25:25
I don't think they can be in the same target, as t
blundell
2014/05/19 11:26:56
Good point. We can do an export_dependent_settings
Ilya Sherman
2014/05/19 11:41:22
Restored the original .gyp structure.
| |
41 'type': 'static_library', | |
42 'sources': [ | |
43 'variations/proto/permuted_entropy_cache.proto', | |
44 'variations/proto/study.proto', | |
45 'variations/proto/variations_seed.proto', | |
46 ], | |
35 'variables': { | 47 'variables': { |
36 'proto_in_dir': 'variations/proto', | 48 'proto_in_dir': 'variations/proto', |
37 'proto_out_dir': 'components/variations/proto', | 49 'proto_out_dir': 'components/variations/proto', |
38 }, | 50 }, |
39 'includes': [ '../build/protoc.gypi' ] | 51 'includes': [ '../build/protoc.gypi' ] |
40 }, | 52 }, |
41 ], | 53 ], |
42 } | 54 } |
OLD | NEW |