1 # Copyright 2014 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': 'rappor', 9 'type': 'static_library', 10 'include_dirs': [ 11 '..', 12 ], 13 'dependencies': [ 14 '../base/base.gyp:base', 15 '../crypto/crypto.gyp:crypto', 16 '../net/net.gyp:net', 17 '../third_party/smhasher/smhasher.gyp:cityhash', 18 'metrics', 19 'variations', 20 ], 21 'sources': [ 22 'rappor/bloom_filter.cc', 23 'rappor/bloom_filter.h', 24 'rappor/byte_vector_utils.cc', 25 'rappor/byte_vector_utils.h', 26 'rappor/log_uploader.cc', 27 'rappor/log_uploader.h', 28 'rappor/proto/rappor_metric.proto', 29 'rappor/rappor_metric.cc', 30 'rappor/rappor_metric.h', 31 'rappor/rappor_parameters.cc', 32 'rappor/rappor_parameters.h', 33 'rappor/rappor_pref_names.cc', 34 'rappor/rappor_pref_names.h', 35 'rappor/rappor_service.cc', 36 'rappor/rappor_service.h', 37 ], 38 'variables': { 39 'proto_in_dir': 'rappor/proto', 40 'proto_out_dir': 'components/rappor/proto', 41 }, 42 'includes': [ '../build/protoc.gypi' ], 43 }, 44 ], 45 } 46