rlottie/meson: Add neon code only if building for arm system
authorsubhransu mohanty <sub.mohanty@samsung.com>
Mon, 20 May 2019 07:20:15 +0000 (16:20 +0900)
committerHermet Park <hermetpark@gmail.com>
Wed, 22 May 2019 04:03:16 +0000 (13:03 +0900)
Change-Id: Iaffeaba964be6721b7d52602db30d973756c99cd

src/vector/pixman/meson.build

index c45d81a..5d3b4e3 100644 (file)
@@ -1,6 +1,10 @@
 
 source_file  = files('vregion.cpp')
 
+if host_machine.cpu_family() == 'arm' or host_machine.cpu_family() == 'aarch64'
+  source_file +=  files('pixman-arm-neon-asm.S')
+endif
+
 pixman_dep = declare_dependency(
                                  include_directories : include_directories('.'),
                                   sources : source_file