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

Side by Side Diff: libvpx.gyp

Issue 131103019: Use target_arch_full consistently (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 10 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') | libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi » ('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 'conditions': [ 8 'conditions': [
9 ['os_posix==1', { 9 ['os_posix==1', {
10 'asm_obj_extension': 'o', 10 'asm_obj_extension': 'o',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 { 59 {
60 # This libvpx target contains both encoder and decoder. 60 # This libvpx target contains both encoder and decoder.
61 # Encoder is configured to be realtime only. 61 # Encoder is configured to be realtime only.
62 'target_name': 'libvpx', 62 'target_name': 'libvpx',
63 'type': 'static_library', 63 'type': 'static_library',
64 'variables': { 64 'variables': {
65 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 65 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
66 'OS_CATEGORY%': '<(OS_CATEGORY)', 66 'OS_CATEGORY%': '<(OS_CATEGORY)',
67 'yasm_flags': [ 67 'yasm_flags': [
68 '-D', 'CHROMIUM', 68 '-D', 'CHROMIUM',
69 '-I', 'source/config/<(OS_CATEGORY)/<(target_arch)', 69 '-I', 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
70 '-I', 'source/config', 70 '-I', 'source/config',
71 '-I', '<(libvpx_source)', 71 '-I', '<(libvpx_source)',
72 '-I', '<(shared_generated_dir)', # Generated assembly offsets 72 '-I', '<(shared_generated_dir)', # Generated assembly offsets
73 ], 73 ],
74 }, 74 },
75 'dependencies': [ 75 'dependencies': [
76 'gen_asm_offsets_vp8', 76 'gen_asm_offsets_vp8',
77 ], 77 ],
78 'includes': [ 78 'includes': [
79 '../yasm/yasm_compile.gypi' 79 '../yasm/yasm_compile.gypi'
80 ], 80 ],
81 'include_dirs': [ 81 'include_dirs': [
82 'source/config/<(OS_CATEGORY)/<(target_arch)', 82 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
83 'source/config', 83 'source/config',
84 '<(libvpx_source)', 84 '<(libvpx_source)',
85 '<(libvpx_source)/vp8/common', 85 '<(libvpx_source)/vp8/common',
86 '<(libvpx_source)/vp8/decoder', 86 '<(libvpx_source)/vp8/decoder',
87 '<(libvpx_source)/vp8/encoder', 87 '<(libvpx_source)/vp8/encoder',
88 '<(shared_generated_dir)', # Provides vpx_rtcd.h. 88 '<(shared_generated_dir)', # Provides vpx_rtcd.h.
89 ], 89 ],
90 'direct_dependent_settings': { 90 'direct_dependent_settings': {
91 'include_dirs': [ 91 'include_dirs': [
92 '<(libvpx_source)', 92 '<(libvpx_source)',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 'shared_generated_dir': 172 'shared_generated_dir':
173 '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 173 '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
174 }, 174 },
175 'includes': [ 175 'includes': [
176 'libvpx_srcs_mips.gypi', 176 'libvpx_srcs_mips.gypi',
177 ], 177 ],
178 'cflags': [ 178 'cflags': [
179 '-EL -static -mips32', 179 '-EL -static -mips32',
180 ], 180 ],
181 'include_dirs': [ 181 'include_dirs': [
182 'source/config/<(OS_CATEGORY)/<(target_arch)', 182 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
183 'source/config', 183 'source/config',
184 '<(libvpx_source)', 184 '<(libvpx_source)',
185 '<(libvpx_source)/vp8/common', 185 '<(libvpx_source)/vp8/common',
186 '<(libvpx_source)/vp8/decoder', 186 '<(libvpx_source)/vp8/decoder',
187 '<(libvpx_source)/vp8/encoder', 187 '<(libvpx_source)/vp8/encoder',
188 ], 188 ],
189 'direct_dependent_settings': { 189 'direct_dependent_settings': {
190 'include_dirs': [ 190 'include_dirs': [
191 '<(libvpx_source)', 191 '<(libvpx_source)',
192 ], 192 ],
193 }, 193 },
194 'sources': [ 194 'sources': [
195 'source/config/<(OS_CATEGORY)/<(target_arch)/vpx_config.c', 195 'source/config/<(OS_CATEGORY)/<(target_arch_full)/vpx_config.c',
196 ], 196 ],
197 }, 197 },
198 ], 198 ],
199 }, 199 },
200 ], 200 ],
201 # 'libvpx' target for ARM builds. 201 # 'libvpx' target for ARM builds.
202 [ '(target_arch=="arm" or target_arch=="armv7") ', { 202 [ '(target_arch=="arm" or target_arch=="armv7") ', {
203 'targets': [ 203 'targets': [
204 { 204 {
205 # This libvpx target contains both encoder and decoder. 205 # This libvpx target contains both encoder and decoder.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 # Need this otherwise gyp won't run the rule on them. 528 # Need this otherwise gyp won't run the rule on them.
529 'sources': [ 529 'sources': [
530 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', 530 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
531 ], 531 ],
532 }], 532 }],
533 ], 533 ],
534 'includes': ['obj_int_extract.gypi'], 534 'includes': ['obj_int_extract.gypi'],
535 }, 535 },
536 ], 536 ],
537 } 537 }
OLDNEW
« no previous file with comments | « generate_gypi.sh ('k') | libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698