2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-28 21:34:00 +00:00
rules_cc/examples/test_cc_shared_library/bar.h
Googler bf6a32cff5 Adds example usage of cc_shared_library
This is only tested with Bazel at head. We modify the presubmits file so that we don't use release. The reason we don't use release is because we need very recent changes to Bazel to test cc_shared_library. In the future we will also test with release.

Also in following CLs, we will inspect in integration test the *.so output from these example builds to make sure that the correct symbols are linked statically and are visible.

After that we will add Starlark unit test to check error conditions.

RELNOTES:none
PiperOrigin-RevId: 280381939
Change-Id: I5de9b364a2a3db28d99558fbfca7bea8052e5114
2019-11-14 02:03:24 -08:00

7 lines
157 B
C

#ifndef EXAMPLES_TEST_CC_SHARED_LIBRARY_BAR_H_
#define EXAMPLES_TEST_CC_SHARED_LIBRARY_BAR_H_
int bar();
#endif // EXAMPLES_TEST_CC_SHARED_LIBRARY_BAR_H_