meson: use existing variables in inc_common
authorEric Engestrom <eric@engestrom.ch>
Tue, 5 Mar 2019 10:40:51 +0000 (10:40 +0000)
committerEric Engestrom <eric@engestrom.ch>
Sat, 28 Mar 2020 20:36:54 +0000 (21:36 +0100)
Stepping stone to make review of the next commits easier.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4360>

src/meson.build

index accb7a9806d13ac14ebb8eace54e7ca0e9dfbdb4..992a97399301f60b2f6eb17a61d6f34039ae7001 100644 (file)
@@ -18,8 +18,6 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-inc_common = [inc_include, include_directories(
-  '.', 'mapi', 'mesa', 'gallium/include', 'gallium/auxiliary')]
 inc_mesa = include_directories('mesa')
 inc_mapi = include_directories('mapi')
 inc_src = include_directories('.')
@@ -27,6 +25,7 @@ inc_gallium = include_directories('gallium/include')
 inc_gallium_aux = include_directories('gallium/auxiliary')
 inc_amd_common = include_directories('amd/common')
 inc_amd_common_llvm = include_directories('amd/llvm')
+inc_common = [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux]
 
 libglsl_util = static_library(
   'glsl_util',