Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: generate_gypi.sh

Issue 13474006: libvpx: Pull from upstream (Closed) Base URL: https://src.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | libvpx.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generate_gypi.sh
===================================================================
--- generate_gypi.sh (revision 191886)
+++ generate_gypi.sh (working copy)
@@ -104,12 +104,6 @@
local ssse3_sources=$(echo "$file_list" | grep '_ssse3\.c$')
local sse4_1_sources=$(echo "$file_list" | grep '_sse4\.c$')
- local extra_sources=$(comm -23 <(echo "$file_list") <(echo "$mmx_sources"))
- extra_sources=$(comm -23 <(echo "$extra_sources") <(echo "$sse2_sources"))
- extra_sources=$(comm -23 <(echo "$extra_sources") <(echo "$sse3_sources"))
- extra_sources=$(comm -23 <(echo "$extra_sources") <(echo "$ssse3_sources"))
- extra_sources=$(comm -23 <(echo "$extra_sources") <(echo "$sse4_1_sources"))
-
write_gypi_header $2
echo " 'targets': [" >> $2
@@ -119,10 +113,6 @@
write_target_definition sse3_sources[@] $2 libvpx_intrinsics_sse3 sse3
write_target_definition ssse3_sources[@] $2 libvpx_intrinsics_ssse3 ssse3
write_target_definition sse4_1_sources[@] $2 libvpx_intrinsics_sse4_1 sse4.1
-#CATCHALL
-# Apply the highest level of optimization. These files need to be fixed
-# upstream by having the different opt targets broken out.
- write_target_definition extra_sources[@] $2 libvpx_intrinsics_extra sse4.1
echo " ]," >> $2
@@ -155,7 +145,7 @@
# Select all x86 files ending with .c
local x86_intrinsic_list=$(echo "$source_list" | \
egrep 'vp[89]/(encoder|decoder|common)/x86/' | \
- grep -e '.c$')
+ egrep '(mmx|sse2|sse3|ssse3|sse4).c$')
# Remove these files from the main list.
source_list=$(comm -23 <(echo "$source_list") <(echo "$x86_intrinsic_list"))
« no previous file with comments | « README.chromium ('k') | libvpx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698