Skip to content

Commit

Permalink
Remove glean/hs dependencies in glean/lang/clang
Browse files Browse the repository at this point in the history
Differential Revision: D68551727

fbshipit-source-id: a37a02e68deada926f473c2fdd9cea851801c2ca
  • Loading branch information
Simon Marlow authored and facebook-github-bot committed Jan 24, 2025
1 parent c637787 commit 90d437e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions glean.cabal.in
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,7 @@ test-suite clang-test-derivefamilies
ghc-options: -main-is Glean.Clang.DeriveFamilies
build-depends:
glean:if-glean-hs,
glean:client-hs,
glean:core,
glean:regression-test-lib,
glean:clang-derive-lib,
Expand All @@ -1557,6 +1558,7 @@ test-suite clang-test-deriveattributes
ghc-options: -main-is Glean.Clang.DeriveAttrs
build-depends:
glean:if-glean-hs,
glean:client-hs,
glean:core,
glean:regression-test-lib,
glean:clang-derive-lib,
Expand All @@ -1578,6 +1580,7 @@ test-suite clang-test-derivefuncalls
ghc-options: -main-is Glean.Clang.DeriveFunCalls
build-depends:
glean:if-glean-hs,
glean:client-hs,
glean:core,
glean:regression-test-lib,
glean:clang-derive-lib,
Expand All @@ -1599,6 +1602,7 @@ test-suite clang-test-deriveobjcinherit
ghc-options: -main-is Glean.Clang.DeriveObjCInheritance
build-depends:
glean:if-glean-hs,
glean:client-hs,
glean:core,
glean:regression-test-lib,
glean:clang-derive-lib,
Expand All @@ -1620,6 +1624,7 @@ test-suite clang-test-codemarkup
ghc-options: -main-is Glean.Clang.CodeMarkup
build-depends:
glean:if-glean-hs,
glean:client-hs,
glean:core,
glean:regression-test-lib,
glean:clang-derive-lib,
Expand Down
2 changes: 1 addition & 1 deletion glean/lang/clang/Derive/Lib.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import Data.Text (Text)
import qualified Data.Text as Text
import qualified Options.Applicative as O

import Glean
import qualified Glean.Schema.Cxx1 as Cxx
import qualified Glean.Schema.Src as Src
import Glean.Typed

import Derive.Env

Expand Down
3 changes: 1 addition & 2 deletions glean/lang/clang/tests/Glean/Clang/Test/DerivePass.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ module Glean.Clang.Test.DerivePass (testDeriver, driver, derivePasses) where
import Control.Monad
import Data.Default

import Glean.Backend.Types
import Glean
import Glean.Indexer
import qualified Glean.Clang.Test as Clang
import Glean.Regression.Snapshot.Driver
import Glean.Regression.Snapshot
import Glean.Types

import Derive.Env (withEnv)
import Derive.Lib (dispatchDerive, DerivePass, allPredicates)
Expand Down

0 comments on commit 90d437e

Please sign in to comment.