OSDN Git Service

Explicitly exclude NFC stuff.
authorJean-Baptiste Queru <jbq@google.com>
Fri, 22 Apr 2011 15:14:34 +0000 (08:14 -0700)
committerJean-Baptiste Queru <jbq@google.com>
Fri, 22 Apr 2011 15:25:58 +0000 (08:25 -0700)
It's open-source but depends on proprietary libraries, so it's
only actually included in builds that have those proprietary libraries.

Bug: 4295425
Change-Id: If0d0ef681f5ea4b235a37e30a32ba8c48f1993ba

generate-blob-scripts.sh

index 320e112..84597fb 100755 (executable)
@@ -102,6 +102,10 @@ do
     echo 'mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary'
 
     diff $ARCHIVEDIR/$DEVICENAME-without.txt $ARCHIVEDIR/$DEVICENAME-with.txt |
+      grep -v Nfc\.apk\$ |
+      grep -v Tag\.apk\$ |
+      grep -v libnfc\.so\$ |
+      grep -v libnfc_jni\.so\$ |
       grep '>' |
       cut -b 3- |
       while read FULLPATH
@@ -142,6 +146,10 @@ do
 
     FOUND=false
     diff $ARCHIVEDIR/$DEVICENAME-without.txt $ARCHIVEDIR/$DEVICENAME-with.txt |
+      grep -v Nfc\.apk\$ |
+      grep -v Tag\.apk\$ |
+      grep -v libnfc\.so\$ |
+      grep -v libnfc_jni\.so\$ |
       grep '>' |
       cut -b 3- |
       while read FULLPATH
@@ -164,6 +172,10 @@ do
 
     FOUND=false
     diff $ARCHIVEDIR/$DEVICENAME-without.txt $ARCHIVEDIR/$DEVICENAME-with.txt |
+      grep -v Nfc\.apk\$ |
+      grep -v Tag\.apk\$ |
+      grep -v libnfc\.so\$ |
+      grep -v libnfc_jni\.so\$ |
       grep '>' |
       cut -b 3- |
       while read FULLPATH