Skip to content

Commit 6ba4904

Browse files
author
Alan Jeffrey
committed
Generate android system wrappers
1 parent a85afb7 commit 6ba4904

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/mozjs/config/system-headers.mozbuild b/mozjs/config/system-headers.mozbuild
2+
index 0872969..f3b7362 100644
3+
--- a/mozjs/config/system-headers.mozbuild
4+
+++ b/mozjs/config/system-headers.mozbuild
5+
@@ -1048,7 +1048,7 @@ system_headers = [
6+
'zmouse.h',
7+
]
8+
9+
-if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
10+
+if CONFIG['OS_TARGET'] == 'Android':
11+
system_headers += [
12+
'android/api-level.h',
13+
'android/ashmem.h',

mozjs/config/system-headers.mozbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ system_headers = [
10481048
'zmouse.h',
10491049
]
10501050

1051-
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
1051+
if CONFIG['OS_TARGET'] == 'Android':
10521052
system_headers += [
10531053
'android/api-level.h',
10541054
'android/ashmem.h',

0 commit comments

Comments
 (0)