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

Side by Side Diff: libvpx.gyp

Issue 539193002: MIPS64] Adding build support for MIPS64 to libvpx in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « generate_gypi.sh ('k') | source/config/linux/mips64el/vp8_rtcd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables': { 5 'variables': {
6 'libvpx_build_vp9%': 1, 6 'libvpx_build_vp9%': 1,
7 'libvpx_source%': 'source/libvpx', 7 'libvpx_source%': 'source/libvpx',
8 # Disable LTO for neon targets 8 # Disable LTO for neon targets
9 # crbug.com/408997 9 # crbug.com/408997
10 'use_lto%': 0, 10 'use_lto%': 0,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], 67 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ],
68 }], 68 }],
69 ['target_arch=="x64" and msan==0', { 69 ['target_arch=="x64" and msan==0', {
70 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], 70 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ],
71 }], 71 }],
72 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and roid"', { 72 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and roid"', {
73 # When building for targets which may not have NEON (but may!), include 73 # When building for targets which may not have NEON (but may!), include
74 # support for neon and hide it behind Android cpu-features. 74 # support for neon and hide it behind Android cpu-features.
75 'includes': ['libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi', ], 75 'includes': ['libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi', ],
76 }], 76 }],
77 [ '(target_arch != "arm" and target_arch != "armv7") and target_arch != "mip sel"', { 77 [ '(target_arch != "arm" and target_arch != "armv7") and \
78 (target_arch != "mipsel" and target_arch != "mips64el")', {
78 'targets': [ 79 'targets': [
79 { 80 {
80 # This libvpx target contains both encoder and decoder. 81 # This libvpx target contains both encoder and decoder.
81 # Encoder is configured to be realtime only. 82 # Encoder is configured to be realtime only.
82 'target_name': 'libvpx', 83 'target_name': 'libvpx',
83 'type': 'static_library', 84 'type': 'static_library',
84 'variables': { 85 'variables': {
85 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 86 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
86 'OS_CATEGORY%': '<(OS_CATEGORY)', 87 'OS_CATEGORY%': '<(OS_CATEGORY)',
87 'yasm_flags': [ 88 'yasm_flags': [
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 #'libvpx_intrinsics_avx2', 175 #'libvpx_intrinsics_avx2',
175 ], 176 ],
176 }], 177 }],
177 ], 178 ],
178 }], 179 }],
179 ], 180 ],
180 }, 181 },
181 ], 182 ],
182 }, 183 },
183 ], 184 ],
184 # 'libvpx' target for mips builds. 185 # 'libvpx' target for mipsel and mips64el builds.
185 [ 'target_arch=="mipsel" ', { 186 [ 'target_arch=="mipsel" or target_arch=="mips64el"', {
186 'targets': [ 187 'targets': [
187 { 188 {
188 # This libvpx target contains both encoder and decoder. 189 # This libvpx target contains both encoder and decoder.
189 # Encoder is configured to be realtime only. 190 # Encoder is configured to be realtime only.
190 'target_name': 'libvpx', 191 'target_name': 'libvpx',
191 'type': 'static_library', 192 'type': 'static_library',
192 'variables': { 193 'variables': {
193 'shared_generated_dir': 194 'shared_generated_dir':
194 '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 195 '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
195 }, 196 },
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 # Need this otherwise gyp won't run the rule on them. 575 # Need this otherwise gyp won't run the rule on them.
575 'sources': [ 576 'sources': [
576 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', 577 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
577 ], 578 ],
578 }], 579 }],
579 ], 580 ],
580 'includes': ['obj_int_extract.gypi'], 581 'includes': ['obj_int_extract.gypi'],
581 }, 582 },
582 ], 583 ],
583 } 584 }
OLDNEW
« no previous file with comments | « generate_gypi.sh ('k') | source/config/linux/mips64el/vp8_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698