diff options
author | Tetsui Ohkubo <tetsui@google.com> | 2019-02-05 09:31:27 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-05 09:31:27 -0800 |
commit | 7840cc261ebc70f6798ee6088e5c55089dedef82 (patch) | |
tree | 034f650ce9167e5df9c88a40194d5adede746f63 | |
parent | fda9df74446b13593327b518edb9e1d67a46138d (diff) | |
parent | 5abdcda44fc7d1078bf66acc32ac0a9273e7c5eb (diff) | |
download | libxkbcommon-7840cc261ebc70f6798ee6088e5c55089dedef82.tar.gz |
StaticKCM: Build libxkbcommon also on host. am: 531410ebb3 am: 2abba43367
am: 5abdcda44f
Change-Id: I98107e2b6fec9169dfcf0ced3c66c80448d5b3a3
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -53,6 +53,8 @@ cc_library_static { "-Wno-unused-parameter", "-Wno-missing-field-initializers", "-DXLOCALEDIR=\"/usr/share/X11/locale\"", + // Needed because libxkbcommon uses GNU extension asprintf(). + "-D_GNU_SOURCE", "-DDEFAULT_XKB_LAYOUT=\"us\"", "-DDEFAULT_XKB_MODEL=\"pc105\"", "-DDEFAULT_XKB_RULES=\"evdev\"", @@ -61,5 +63,6 @@ cc_library_static { local_include_dirs: ["xkbcommon/src"], export_include_dirs: ["xkbcommon"], vendor_available: true, + host_supported: true, name: "libxkbcommon", } |