blob: 23cd128ce39faaa2d461c9fed79960e594579181 [file] [log] [blame]
# Copyright 2016 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.
component("helium") {
output_name = "helium"
sources = [
"coded_value_serializer.cc",
"coded_value_serializer.h",
"compound_syncable.cc",
"compound_syncable.h",
"errors.h",
"lww_register.h",
"owned_register.h",
"result.cc",
"result.h",
"revision_generator.cc",
"revision_generator.h",
"stream.h",
"sync_manager.cc",
"sync_manager.h",
"syncable.h",
"syncable_common.h",
"transport.h",
"version_vector.cc",
"version_vector.h",
]
defines = [ "HELIUM_IMPLEMENTATION=1" ]
deps = [
":helium_export",
"//base",
"//blimp/common",
"//net",
]
public_deps = [
"//blimp/common/proto",
]
}
source_set("helium_export") {
sources = [
"blimp_helium_export.h",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"coded_value_serializer_unittest.cc",
"compound_syncable_unittest.cc",
"helium_test.h",
"lww_register_unittest.cc",
"owned_register_unittest.cc",
"result_unittest.cc",
"revision_generator_unittest.cc",
"version_vector_unittest.cc",
]
deps = [
":helium",
"//base",
"//blimp/common",
"//blimp/helium/sample:unit_tests",
"//testing/gmock",
"//testing/gtest",
]
}