From dd84af21e203a333e2f9bcf7be6ddf645007fbcf Mon Sep 17 00:00:00 2001 From: Rahul Huilgol Date: Fri, 7 Feb 2020 03:31:46 +0000 Subject: [PATCH] Add headers to hdrs section of bazel build file ' --- third_party/aws/aws-c-common.bazel | 12 +++++++----- third_party/aws/aws-c-event-stream.bazel | 6 +++--- third_party/aws/aws-checksums.bazel | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/third_party/aws/aws-c-common.bazel b/third_party/aws/aws-c-common.bazel index edfcbd78394..bc582157141 100644 --- a/third_party/aws/aws-c-common.bazel +++ b/third_party/aws/aws-c-common.bazel @@ -14,6 +14,7 @@ cc_library( srcs = select({ "@org_tensorflow//tensorflow:linux_aarch64": glob([ "source/posix/*.c", + "source/arch/*.c" ]), "@org_tensorflow//tensorflow:linux_x86_64": glob([ "source/posix/*.c", @@ -29,13 +30,14 @@ cc_library( ]), "//conditions:default": [], }) + glob([ - "source/**/*.c", - "include/**/*.h", - "include/**/*.inl", + "source/*.c", ]), hdrs = [ - "include/aws/common/config.h", - ], + "include/aws/common/config.h" + ] + glob([ + "include/**/*.h", + "include/aws/common/**/*.inl" + ]), includes = [ "include/", ], diff --git a/third_party/aws/aws-c-event-stream.bazel b/third_party/aws/aws-c-event-stream.bazel index 956670c8d28..e2a04ba6fa2 100644 --- a/third_party/aws/aws-c-event-stream.bazel +++ b/third_party/aws/aws-c-event-stream.bazel @@ -11,10 +11,10 @@ cc_library( name = "aws-c-event-stream", srcs = glob([ "source/*.c", - "include/**/*.h", ]), - hdrs = [ - ], + hdrs = glob([ + "include/**/*.h" + ]), includes = [ "include/", ], diff --git a/third_party/aws/aws-checksums.bazel b/third_party/aws/aws-checksums.bazel index 0af7c8cd4cf..e4067dbf5b8 100644 --- a/third_party/aws/aws-checksums.bazel +++ b/third_party/aws/aws-checksums.bazel @@ -12,10 +12,10 @@ cc_library( srcs = glob([ "source/intel/*.c", "source/*.c", - "include/**/*.h", ]), - hdrs = [ - ], + hdrs = glob([ + "include/**/*.h" + ]), includes = [ "include/", ],