| 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_seed_proto', | |
| 17 ], | 16 ], |
| 18 'sources': [ | 17 'sources': [ |
| 19 'variations/entropy_provider.cc', | 18 'variations/entropy_provider.cc', |
| 20 'variations/entropy_provider.h', | 19 'variations/entropy_provider.h', |
| 20 'variations/proto/variations_seed.proto', |
| 21 'variations/proto/study.proto', |
| 21 'variations/metrics_util.cc', | 22 'variations/metrics_util.cc', |
| 22 'variations/metrics_util.h', | 23 'variations/metrics_util.h', |
| 23 'variations/variations_associated_data.cc', | 24 'variations/variations_associated_data.cc', |
| 24 'variations/variations_associated_data.h', | 25 'variations/variations_associated_data.h', |
| 25 'variations/variations_seed_processor.cc', | 26 'variations/variations_seed_processor.cc', |
| 26 'variations/variations_seed_processor.h', | 27 'variations/variations_seed_processor.h', |
| 27 ], | 28 ], |
| 28 }, | |
| 29 { | |
| 30 # Protobuf compiler / generator for Chrome Variations seed. | |
| 31 'target_name': 'variations_seed_proto', | |
| 32 'type': 'static_library', | |
| 33 'include_dirs': [ | |
| 34 '..', | |
| 35 ], | |
| 36 'sources': [ | |
| 37 'variations/proto/variations_seed.proto', | |
| 38 'variations/proto/study.proto', | |
| 39 ], | |
| 40 'variables': { | 29 'variables': { |
| 41 'proto_in_dir': 'variations/proto', | 30 'proto_in_dir': 'variations/proto', |
| 42 'proto_out_dir': 'components/variations/proto', | 31 'proto_out_dir': 'components/variations/proto', |
| 43 }, | 32 }, |
| 44 'includes': [ '../build/protoc.gypi' ] | 33 'includes': [ '../build/protoc.gypi' ] |
| 45 }, | 34 }, |
| 46 ], | 35 ], |
| 47 } | 36 } |
| OLD | NEW |