File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,13 @@ HostTargets.TERMS = {
107
107
// meta, test, misc
108
108
test : { } ,
109
109
} ;
110
+ {
111
+ let keys = Object . keys ( HostTargets . TERMS ) ;
112
+ for ( let key of keys ) {
113
+ let lkey = key . toLowerCase ( ) ;
114
+ HostTargets . TERMS [ lkey ] = HostTargets . TERMS [ key ] ;
115
+ }
116
+ }
110
117
111
118
HostTargets . _MATCHERS = {
112
119
// seems to be some sort of android-specific kernel build hash
@@ -130,7 +137,8 @@ HostTargets.termsToTarget = function (target, terms) {
130
137
Object . assign ( target , { errors : [ ] } ) ;
131
138
132
139
for ( let term of terms ) {
133
- let hints = HostTargets . TERMS [ term ] ;
140
+ let lterm = term . toLowerCase ( ) ;
141
+ let hints = HostTargets . TERMS [ lterm ] ;
134
142
if ( hints ) {
135
143
upsertHints ( target , terms , term , hints ) ;
136
144
continue ;
You can’t perform that action at this time.
0 commit comments