[email protected] | 50ae9f1 | 2013-08-29 18:03:22 | [diff] [blame^] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'variations', |
| 9 | 'type': 'static_library', |
| 10 | 'include_dirs': [ |
| 11 | '..', |
| 12 | ], |
| 13 | 'dependencies': [ |
| 14 | '../base/base.gyp:base', |
| 15 | '../third_party/mt19937ar/mt19937ar.gyp:mt19937ar', |
| 16 | 'variations_seed_proto', |
| 17 | ], |
| 18 | 'sources': [ |
| 19 | 'variations/entropy_provider.cc', |
| 20 | 'variations/entropy_provider.h', |
| 21 | 'variations/metrics_util.cc', |
| 22 | 'variations/metrics_util.h', |
| 23 | 'variations/variations_associated_data.cc', |
| 24 | 'variations/variations_associated_data.h', |
| 25 | 'variations/variations_seed_processor.cc', |
| 26 | 'variations/variations_seed_processor.h', |
| 27 | ], |
| 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/trials_seed.proto', |
| 38 | 'variations/proto/study.proto', |
| 39 | ], |
| 40 | 'variables': { |
| 41 | 'proto_in_dir': 'variations/proto', |
| 42 | 'proto_out_dir': 'components/variations/proto', |
| 43 | }, |
| 44 | 'includes': [ '../build/protoc.gypi' ] |
| 45 | }, |
| 46 | ], |
| 47 | } |