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

Unified Diff: libyuv.gyp

Issue 1392043003: merge neon source files back into single libyuv library (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: bump version Created 5 years, 2 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 | « include/libyuv/version.h ('k') | libyuv.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libyuv.gyp
diff --git a/libyuv.gyp b/libyuv.gyp
index 664a511907ced2ebc9da02929ec454d00428fd87..3d8cb35953c35162c13f96f2719ea5b0007c5b16 100644
--- a/libyuv.gyp
+++ b/libyuv.gyp
@@ -33,16 +33,22 @@
}],
],
},
- 'conditions': [
- ['build_neon != 0', {
- 'targets': [
- # The NEON-specific components.
- {
- 'target_name': 'libyuv_neon',
- 'type': 'static_library',
- 'standalone_static_library': 1,
- # TODO(noahric): This should remove whatever mfpu is set, not
- # just vfpv3-d16.
+
+ 'targets': [
+ {
+ 'target_name': 'libyuv',
+ # Change type to 'shared_library' to build .so or .dll files.
+ 'type': 'static_library',
+ 'variables': {
+ 'optimize': 'max', # enable O2 and ltcg.
+ },
+ # Allows libyuv.a redistributable library without external dependencies.
+ 'standalone_static_library': 1,
+ 'conditions': [
+ ['build_neon != 0', {
+ 'defines': [
+ 'LIBYUV_NEON',
+ ],
'cflags!': [
'-mfpu=vfp',
'-mfpu=vfpv3',
@@ -63,42 +69,7 @@
],
}],
],
- 'include_dirs': [
- 'include',
- '.',
- ],
- 'direct_dependent_settings': {
- 'include_dirs': [
- 'include',
- '.',
- ],
- },
- 'sources': [
- # sources.
- 'source/compare_neon.cc',
- 'source/compare_neon64.cc',
- 'source/rotate_neon.cc',
- 'source/rotate_neon64.cc',
- 'source/row_neon.cc',
- 'source/row_neon64.cc',
- 'source/scale_neon.cc',
- 'source/scale_neon64.cc',
- ],
- },
- ],
- }],
- ],
- 'targets': [
- {
- 'target_name': 'libyuv',
- # Change type to 'shared_library' to build .so or .dll files.
- 'type': 'static_library',
- 'variables': {
- 'optimize': 'max', # enable O2 and ltcg.
- },
- # Allows libyuv.a redistributable library without external dependencies.
- 'standalone_static_library': 1,
- 'conditions': [
+ }],
['OS != "ios" and libyuv_disable_jpeg != 1', {
'defines': [
'HAVE_JPEG'
@@ -123,14 +94,6 @@
}],
],
}],
- ['build_neon != 0', {
- 'dependencies': [
- 'libyuv_neon',
- ],
- 'defines': [
- 'LIBYUV_NEON',
- ],
- }],
# MemorySanitizer does not support assembly code yet.
# http://crbug.com/344505
[ 'msan == 1', {
« no previous file with comments | « include/libyuv/version.h ('k') | libyuv.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698