Skip to content

Commit 7a52777

Browse files
committed
Android.bp: Allow to build on both x86 & x86_64
Signed-off-by: hmtheboy154 <[email protected]>
1 parent f9eadcf commit 7a52777

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

Android.bp

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ cc_library_headers {
6767
],
6868

6969
vendor: true,
70-
enabled: false,
71-
arch: {
72-
x86_64: {
73-
enabled: true,
74-
},
75-
},
7670
}
7771

7872
cc_library_shared {
@@ -117,14 +111,15 @@ cc_library_shared {
117111
],
118112

119113
arch: {
114+
x86: {
115+
cflags: ["-DVA_DRIVERS_PATH=\"/vendor/lib\""],
116+
},
120117
x86_64: {
121118
cflags: ["-DVA_DRIVERS_PATH=\"/vendor/lib64\""],
122-
enabled: true,
123119
},
124120
},
125121

126122
vendor: true,
127-
enabled: false,
128123
}
129124

130125
cc_library_shared {
@@ -153,10 +148,4 @@ cc_library_shared {
153148
],
154149

155150
vendor: true,
156-
enabled: false,
157-
arch: {
158-
x86_64: {
159-
enabled: true,
160-
},
161-
},
162151
}

0 commit comments

Comments
 (0)