1. 02 Sep, 2018 31 commits
  2. 01 Sep, 2018 5 commits
  3. 31 Aug, 2018 3 commits
  4. 30 Aug, 2018 1 commit
    • Avi Halachmi (:avih)'s avatar
      configure: <fflib>_deps: validate, reduce sensitivity · 09e49a8f
      Avi Halachmi (:avih) authored
      - Allow to add deps in any order rather than "in linking order".
      - Expand deps chains as required rather than just once.
      - Validate that there are no cycles.
      - Validate that [after expansion] deps are limited to other fflibs.
      - Remove expectation for a specific output order of unique().
      
      Previously when adding items to <fflib>_deps, developers were
      required to add them in linking order. This can be awkward and
      bug-prone, especially when a list is not empty, e.g. when adding
      conditional deps.
      
      It also implicitly expected unique() to keep the last instance of
      recurring items such that these lists maintain their linking order
      after removing duplicate items.
      
      This patch mainly allows to add deps in any order by keeping just
      one master list in linking order, and then reordering all the
      <fflib>_deps lists to align with the master list order.
      
      This master list is LIBRARY_LIST itself, where otherwise its order
      doesn't matter.
      
      The patch also removes a limit where these deps lists were expanded
      only once. This could have resulted in incomplete expanded lists,
      or forcing devs to add already-deducable deps to avoid this issue.
      
      Note: it is possible to deduce the master list order automatically
      from the deps lists, but in this case it's probably not worth the
      added complexity, even if minor. Maintaining one list should be OK.
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      09e49a8f