Index: components/variations.gypi |
=================================================================== |
--- components/variations.gypi (revision 0) |
+++ components/variations.gypi (working copy) |
@@ -0,0 +1,47 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'variations', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../third_party/mt19937ar/mt19937ar.gyp:mt19937ar', |
+ 'variations_seed_proto', |
+ ], |
+ 'sources': [ |
+ 'variations/entropy_provider.cc', |
+ 'variations/entropy_provider.h', |
+ 'variations/metrics_util.cc', |
+ 'variations/metrics_util.h', |
+ 'variations/variations_associated_data.cc', |
+ 'variations/variations_associated_data.h', |
+ 'variations/variations_seed_processor.cc', |
+ 'variations/variations_seed_processor.h', |
+ ], |
+ }, |
+ { |
+ # Protobuf compiler / generator for Chrome Variations seed. |
+ 'target_name': 'variations_seed_proto', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'variations/proto/trials_seed.proto', |
+ 'variations/proto/study.proto', |
+ ], |
+ 'variables': { |
+ 'proto_in_dir': 'variations/proto', |
+ 'proto_out_dir': 'components/variations/proto', |
+ }, |
+ 'includes': [ '../build/protoc.gypi' ] |
+ }, |
+ ], |
+} |