|
1 | | -# Copyright 2018, OpenCensus Authors |
2 | | -# |
3 | | -# Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | -# you may not use this file except in compliance with the License. |
5 | | -# You may obtain a copy of the License at |
6 | | -# |
7 | | -# http://www.apache.org/licenses/LICENSE-2.0 |
8 | | -# |
9 | | -# Unless required by applicable law or agreed to in writing, software |
10 | | -# distributed under the License is distributed on an "AS IS" BASIS, |
11 | | -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | -# See the License for the specific language governing permissions and |
13 | | -# limitations under the License. |
14 | | - |
15 | | -opencensus_lib(common_hash_mix) |
16 | | - |
17 | | -opencensus_lib(common_random |
18 | | - SRCS |
19 | | - random.cc |
20 | | - DEPS |
21 | | - absl::base |
22 | | - absl::synchronization |
23 | | - absl::time) |
24 | | - |
25 | | -opencensus_lib(common_stats_object DEPS absl::time) |
26 | | - |
27 | | -# Define NOMINMAX to fix build errors when compiling with MSVC. |
28 | | -target_compile_definitions(opencensus_common_stats_object INTERFACE |
29 | | - $<$<CXX_COMPILER_ID:MSVC>:NOMINMAX>) |
30 | | - |
31 | | -opencensus_lib(common_string_vector_hash) |
32 | | - |
33 | | -opencensus_test(common_random_test random_test.cc common_random) |
34 | | - |
35 | | -opencensus_benchmark(common_random_benchmark random_benchmark.cc common_random) |
36 | | - |
37 | | -opencensus_test(common_stats_object_test |
38 | | - stats_object_test.cc |
39 | | - common_stats_object |
40 | | - absl::strings |
41 | | - absl::span) |
| 1 | +# Copyright 2018, OpenCensus Authors |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +opencensus_lib(common_hash_mix) |
| 16 | + |
| 17 | +opencensus_lib(common_random |
| 18 | + SRCS |
| 19 | + random.cc |
| 20 | + DEPS |
| 21 | + absl::base |
| 22 | + absl::synchronization |
| 23 | + absl::time) |
| 24 | + |
| 25 | +opencensus_lib(common_stats_object DEPS absl::time) |
| 26 | + |
| 27 | +# Define NOMINMAX to fix build errors when compiling with MSVC. |
| 28 | +target_compile_definitions(opencensus_common_stats_object INTERFACE |
| 29 | + $<$<CXX_COMPILER_ID:MSVC>:NOMINMAX>) |
| 30 | + |
| 31 | +opencensus_lib(common_string_vector_hash) |
| 32 | + |
| 33 | +opencensus_test(common_random_test random_test.cc common_random) |
| 34 | + |
| 35 | +opencensus_benchmark(common_random_benchmark random_benchmark.cc common_random) |
| 36 | + |
| 37 | +opencensus_test(common_stats_object_test |
| 38 | + stats_object_test.cc |
| 39 | + common_stats_object |
| 40 | + absl::strings |
| 41 | + absl::span) |
0 commit comments