diff --git a/src/babylon/BUILD b/src/babylon/BUILD index ff1157cf..1547477b 100644 --- a/src/babylon/BUILD +++ b/src/babylon/BUILD @@ -20,6 +20,7 @@ cc_library( name = 'absl_base_internal_invoke', hdrs = ['absl_base_internal_invoke.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':environment', @@ -31,6 +32,7 @@ cc_library( name = 'absl_numeric_bits', hdrs = ['absl_numeric_bits.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':environment', @@ -43,6 +45,7 @@ cc_library( srcs = ['any.cpp'], hdrs = ['any.h', 'any.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':type_traits', @@ -53,8 +56,8 @@ cc_library( name = 'application_context', srcs = ['application_context.cpp'], hdrs = ['application_context.h'], - includes = ['.'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':any', @@ -67,8 +70,9 @@ cc_library( cc_library( name = 'environment', hdrs = ['environment.h', 'protect.h', 'unprotect.h'], - strip_include_prefix = '//src', copts = BABYLON_COPTS, + includes = ['//src'], + strip_include_prefix = '//src', deps = [ '@com_google_absl//absl/base:core_headers', ], @@ -79,6 +83,7 @@ cc_library( srcs = ['executor.cpp'], hdrs = ['executor.h', 'executor.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':future', @@ -90,6 +95,7 @@ cc_library( name = 'future', hdrs = ['future.h', 'future.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':move_only_function', @@ -102,6 +108,7 @@ cc_library( srcs = ['mlock.cpp'], hdrs = ['mlock.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':string_view', @@ -114,6 +121,7 @@ cc_library( name = 'move_only_function', hdrs = ['move_only_function.h', 'move_only_function.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':type_traits', @@ -125,6 +133,7 @@ cc_library( srcs = ['new.cpp'], hdrs = ['new.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':environment', @@ -135,6 +144,7 @@ cc_library( name = 'sanitizer_helper', hdrs = ['sanitizer_helper.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':environment', @@ -144,8 +154,9 @@ cc_library( cc_library( name = 'serialization', hdrs = ['serialization.h'], - strip_include_prefix = '//src', copts = BABYLON_COPTS, + includes = ['//src'], + strip_include_prefix = '//src', deps = [ '//src/babylon/serialization', ], @@ -155,6 +166,7 @@ cc_library( name = 'string', hdrs = ['string.h', 'string.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':type_traits', @@ -166,6 +178,7 @@ cc_library( name = 'string_view', hdrs = ['string_view.h', 'string_view.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':environment', @@ -177,6 +190,7 @@ cc_library( srcs = ['time.cpp'], hdrs = ['time.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':environment', @@ -188,6 +202,7 @@ cc_library( name = 'type_traits', hdrs = ['type_traits.h', 'type_traits.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':absl_base_internal_invoke', diff --git a/src/babylon/anyflow/BUILD b/src/babylon/anyflow/BUILD index 2193738d..307a68fe 100644 --- a/src/babylon/anyflow/BUILD +++ b/src/babylon/anyflow/BUILD @@ -21,8 +21,9 @@ cc_library( name = 'engine', srcs = glob(['*.cpp']), hdrs = glob(['*.h', '*.hpp']), - strip_include_prefix = '//src', copts = BABYLON_COPTS, + includes = ['//src'], + strip_include_prefix = '//src', deps = [ '//src/babylon:any', '//src/babylon/concurrent:transient_topic', diff --git a/src/babylon/anyflow/builtin/BUILD b/src/babylon/anyflow/builtin/BUILD index a443820c..fa277a0a 100644 --- a/src/babylon/anyflow/builtin/BUILD +++ b/src/babylon/anyflow/builtin/BUILD @@ -8,8 +8,9 @@ cc_library( name = 'builtin', srcs = glob(['*.cpp']), hdrs = glob(['*.h', '*.hpp']), - strip_include_prefix = '//src', copts = BABYLON_COPTS, + includes = ['//src'], + strip_include_prefix = '//src', deps = [ '//src/babylon/anyflow:engine', '//:boost.spirit', diff --git a/src/babylon/concurrent/BUILD b/src/babylon/concurrent/BUILD index 0f6f41cc..29c7b7a1 100644 --- a/src/babylon/concurrent/BUILD +++ b/src/babylon/concurrent/BUILD @@ -19,6 +19,7 @@ cc_library( name = 'bounded_queue', hdrs = ['bounded_queue.h', 'bounded_queue.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':sched_interface', @@ -34,6 +35,7 @@ cc_library( srcs = ['counter.cpp'], hdrs = ['counter.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':thread_local', @@ -44,6 +46,7 @@ cc_library( name = 'id_allocator', hdrs = ['id_allocator.h', 'id_allocator.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':vector', @@ -54,6 +57,7 @@ cc_library( name = 'object_pool', hdrs = ['object_pool.h', 'object_pool.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':bounded_queue', @@ -65,6 +69,7 @@ cc_library( name = 'sched_interface', hdrs = ['sched_interface.h', 'sched_interface.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ '//src/babylon:absl_numeric_bits', @@ -75,6 +80,7 @@ cc_library( name = 'thread_local', hdrs = ['thread_local.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':id_allocator', @@ -86,6 +92,7 @@ cc_library( srcs = ['transient_hash_table.cpp'], hdrs = ['transient_hash_table.h', 'transient_hash_table.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':counter', @@ -98,6 +105,7 @@ cc_library( name = 'transient_topic', hdrs = ['transient_topic.h', 'transient_topic.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':sched_interface', @@ -109,6 +117,7 @@ cc_library( name = 'vector', hdrs = ['vector.h', 'vector.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ '//src/babylon:new', diff --git a/src/babylon/logging/BUILD b/src/babylon/logging/BUILD index 5b7ecc00..ea60bdf4 100644 --- a/src/babylon/logging/BUILD +++ b/src/babylon/logging/BUILD @@ -18,6 +18,7 @@ cc_library( srcs = ['async_file_appender.cpp'], hdrs = ['async_file_appender.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ '//src/babylon/reusable:page_allocator', @@ -29,6 +30,7 @@ cc_library( srcs = ['interface.cpp'], hdrs = ['interface.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':log_stream', @@ -40,6 +42,7 @@ cc_library( srcs = ['log_stream.cpp'], hdrs = ['log_stream.h', 'log_stream.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ '//src/babylon:type_traits', diff --git a/src/babylon/reusable/BUILD b/src/babylon/reusable/BUILD index 1f582f4e..36007d10 100644 --- a/src/babylon/reusable/BUILD +++ b/src/babylon/reusable/BUILD @@ -16,6 +16,7 @@ cc_library( name = 'allocator', hdrs = ['allocator.h', 'allocator.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':memory_resource', @@ -27,6 +28,7 @@ cc_library( name = 'manager', hdrs = ['manager.h', 'manager.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':traits', @@ -46,6 +48,7 @@ cc_library( srcs = ['memory_resource.cpp'], hdrs = ['memory_resource.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':page_allocator', @@ -60,6 +63,7 @@ cc_library( srcs = ['message.trick.cpp'], hdrs = ['traits.h', 'message.h'], copts = BABYLON_COPTS + ['-fno-access-control'], + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':allocator', @@ -72,6 +76,7 @@ cc_library( srcs = ['page_allocator.cpp'], hdrs = ['page_allocator.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ '//src/babylon/concurrent:bounded_queue', @@ -83,6 +88,7 @@ cc_library( name = 'string', hdrs = ['string.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':traits', @@ -103,6 +109,7 @@ cc_library( srcs = ['message.cpp'], hdrs = ['traits.h', 'message.h'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':allocator', @@ -114,6 +121,7 @@ cc_library( name = 'vector', hdrs = ['vector.h', 'vector.hpp'], copts = BABYLON_COPTS, + includes = ['//src'], strip_include_prefix = '//src', deps = [ ':traits',