Restrictions on extensions in srcs / hdrs for cc_*

26 views
Skip to first unread message

Kamal Marhubi

unread,
Jan 23, 2016, 1:24:20 AM1/23/16
to bazel-discuss
Hi all,

I'm playing around with porting a project that #includes some .def files. Bazel doesn't like this, complaining if I put the .def files in either srcs or hdrs. Is there a workaround? Can this restriction be relaxed?

Thanks!

-Kamal

Brian Silverman

unread,
Jan 23, 2016, 1:15:04 PM1/23/16
to Kamal Marhubi, bazel-discuss
textual_hdrs should work. See this issue comment for details about why changing the behavior or srcs and hdrs is hard.

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAK-ZPe%3D%2BBHEWj0dkCFhk%2B-XOJzV7qoBjqOiwpVZjnUXw316iVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Kamal Marhubi

unread,
Jan 23, 2016, 5:23:05 PM1/23/16
to Brian Silverman, bazel-discuss
Oh that worked brilliantly, thanks!
Reply all
Reply to author
Forward
0 new messages