Index: components/rappor.gypi |
diff --git a/components/rappor.gypi b/components/rappor.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a06c9ec8daa333a2095d99fe055d0fcc6b94cd57 |
--- /dev/null |
+++ b/components/rappor.gypi |
@@ -0,0 +1,56 @@ |
+# Copyright (c) 2013 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': 'rappor', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../crypto/crypto.gyp:crypto', |
+ '../net/net.gyp:net', |
+ '../third_party/smhasher/smhasher.gyp:murmurhash3', |
+ 'rappor_proto', |
+ ], |
+ 'sources': [ |
+ 'rappor/bloom_filter.cc', |
+ 'rappor/bloom_filter.h', |
+ 'rappor/bytevector.cc', |
+ 'rappor/bytevector.h', |
+ 'rappor/log_uploader.cc', |
+ 'rappor/log_uploader.h', |
+ 'rappor/rappor.cc', |
+ 'rappor/rappor.h', |
+ 'rappor/rappor_parameters.h', |
+ 'rappor/rappor_pref_names.cc', |
+ 'rappor/rappor_pref_names.h', |
+ 'rappor/rappor_recorder.cc', |
+ 'rappor/rappor_recorder.h', |
+ 'rappor/rappor_reporter.cc', |
+ 'rappor/rappor_reporter.h', |
+ 'rappor/rappor_service.cc', |
+ 'rappor/rappor_service.h', |
+ 'rappor/rappor_utils.h', |
+ 'rappor/rappor_utils.cc', |
+ ], |
+ }, |
+ { |
+ # Protobuf compiler / generator for RAPPOR. |
Alexei Svitkine (slow)
2013/12/19 19:47:02
Nit: You can merge this with the main target to si
Steven Holte
2013/12/20 03:03:55
Done.
|
+ 'target_name': 'rappor_proto', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'rappor/proto/rappor_metric.proto', |
+ ], |
+ 'variables': { |
+ 'proto_in_dir': 'rappor/proto', |
+ 'proto_out_dir': 'components/rappor/proto', |
+ }, |
+ 'includes': [ '../build/protoc.gypi' ], |
+ }, |
+ ], |
+} |