diff options
| author | Raphael <raphael@google.com> | 2009-09-25 11:13:11 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-09-25 11:13:11 -0700 |
| commit | e57b3111deace5d53fbcbd0f24f84e39fd810caf (patch) | |
| tree | afb922d244c4905b4c6ff5f556785c4ba063bfb8 /tools | |
| parent | 493e0aff9dd8910ae069ac1e321cee351568fca3 (diff) | |
| parent | 041653714524b37972169071e7569d2432ae8747 (diff) | |
| download | frameworks_base-e57b3111deace5d53fbcbd0f24f84e39fd810caf.zip frameworks_base-e57b3111deace5d53fbcbd0f24f84e39fd810caf.tar.gz frameworks_base-e57b3111deace5d53fbcbd0f24f84e39fd810caf.tar.bz2 | |
am 04165371: am 20b39471: Merge change 26933 into eclair
Merge commit '041653714524b37972169071e7569d2432ae8747'
* commit '041653714524b37972169071e7569d2432ae8747':
AAPT: Ignore visual source safe files in resources
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/aapt/AaptAssets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt/AaptAssets.cpp b/tools/aapt/AaptAssets.cpp index b6b0e63..c346b90 100644 --- a/tools/aapt/AaptAssets.cpp +++ b/tools/aapt/AaptAssets.cpp @@ -55,6 +55,7 @@ static bool validateFileName(const char* fileName) static bool isHidden(const char *root, const char *path) { + const char *ext = NULL; const char *type = NULL; // Skip all hidden files. @@ -83,6 +84,9 @@ static bool isHidden(const char *root, const char *path) } else if (path[strlen(path)-1] == '~') { // Skip suspected emacs backup files. type = "backup"; + } else if ((ext = strrchr(path, '.')) != NULL && strcmp(ext, ".scc") == 0) { + // Skip VisualSourceSafe files and don't chatter about it + return true; } else { // Let everything else through. return false; |
