Page MenuHomePhabricator

clib: simplify include paths in C extensions

Authored by simpkins on Aug 24 2017, 4:39 PM.


Group Reviewers
Restricted Project
rFBHGXcd6a0869efe8: clib: simplify include paths in C extensions

Convert the C and C++ files in cdatapack, clib, cstore, and ctreemanifest
to always include files from the root of fb-hgext. This simplifies the build
process by no long requiring a variety of separate include directories to be
specified on the compiler command line.

This will also make it easier to re-use these extensions in other projects
with different build systems.

This corresponds to the Facebook diff D5588676.

Test Plan

Confirmed that "make local" succeeds from a clean build.

Diff Detail

rFBHGX Facebook Mercurial Extensions
Lint Skipped
Unit Tests Skipped

Event Timeline

simpkins created this revision.Aug 24 2017, 4:39 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 24 2017, 4:39 PM
quark accepted this revision.Aug 24 2017, 5:42 PM
This revision is now accepted and ready to land.Aug 24 2017, 5:42 PM
This revision was automatically updated to reflect the committed changes.