| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 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 component("helium") { | |
| 6 output_name = "helium" | |
| 7 sources = [ | |
| 8 "compound_syncable.cc", | |
| 9 "compound_syncable.h", | |
| 10 "errors.h", | |
| 11 "lazy_syncable_adapter.h", | |
| 12 "lww_register.h", | |
| 13 "object_sync_state.cc", | |
| 14 "object_sync_state.h", | |
| 15 "owned_register.h", | |
| 16 "result.cc", | |
| 17 "result.h", | |
| 18 "revision_generator.cc", | |
| 19 "revision_generator.h", | |
| 20 "serializable.h", | |
| 21 "serializable_struct.cc", | |
| 22 "serializable_struct.h", | |
| 23 "stream.h", | |
| 24 "stream_helpers.cc", | |
| 25 "stream_helpers.h", | |
| 26 "sync_manager.cc", | |
| 27 "sync_manager.h", | |
| 28 "syncable.h", | |
| 29 "syncable_common.cc", | |
| 30 "syncable_common.h", | |
| 31 "transport.h", | |
| 32 "update_scheduler.cc", | |
| 33 "update_scheduler.h", | |
| 34 "version_vector.cc", | |
| 35 "version_vector.h", | |
| 36 ] | |
| 37 | |
| 38 defines = [ "HELIUM_IMPLEMENTATION=1" ] | |
| 39 | |
| 40 deps = [ | |
| 41 ":helium_export", | |
| 42 "//base", | |
| 43 "//blimp/common", | |
| 44 "//net", | |
| 45 ] | |
| 46 | |
| 47 public_deps = [ | |
| 48 "//blimp/common/proto", | |
| 49 ] | |
| 50 } | |
| 51 | |
| 52 source_set("helium_export") { | |
| 53 sources = [ | |
| 54 "blimp_helium_export.h", | |
| 55 ] | |
| 56 } | |
| 57 | |
| 58 source_set("unit_tests") { | |
| 59 testonly = true | |
| 60 | |
| 61 sources = [ | |
| 62 "compound_syncable_unittest.cc", | |
| 63 "helium_test.h", | |
| 64 "lazy_syncable_adapter_unittest.cc", | |
| 65 "lww_register_unittest.cc", | |
| 66 "mock_objects.cc", | |
| 67 "mock_objects.h", | |
| 68 "owned_register_unittest.cc", | |
| 69 "result_unittest.cc", | |
| 70 "revision_generator_unittest.cc", | |
| 71 "serializable_struct_unittest.cc", | |
| 72 "stream_helpers_unittest.cc", | |
| 73 "update_scheduler_unittest.cc", | |
| 74 "version_vector_unittest.cc", | |
| 75 ] | |
| 76 | |
| 77 deps = [ | |
| 78 ":helium", | |
| 79 "//base", | |
| 80 "//blimp/common", | |
| 81 "//testing/gmock", | |
| 82 "//testing/gtest", | |
| 83 ] | |
| 84 } | |
| OLD | NEW |