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

Side by Side Diff: libvpx.gyp

Issue 355763002: Fix Android x86 builds of libvpx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 'variables': { 81 'variables': {
82 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 82 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
83 'OS_CATEGORY%': '<(OS_CATEGORY)', 83 'OS_CATEGORY%': '<(OS_CATEGORY)',
84 'yasm_flags': [ 84 'yasm_flags': [
85 '-D', 'CHROMIUM', 85 '-D', 'CHROMIUM',
86 '-I', 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 86 '-I', 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
87 '-I', 'source/config', 87 '-I', 'source/config',
88 '-I', '<(libvpx_source)', 88 '-I', '<(libvpx_source)',
89 '-I', '<(shared_generated_dir)', # Generated assembly offsets 89 '-I', '<(shared_generated_dir)', # Generated assembly offsets
90 ], 90 ],
91 # yasm only gets the flags we define. It doesn't inherit any of the
92 # really useful defines that come with a gcc invocation. In this
93 # case, we rely on __ANDROID__ to set 'rand' to 'lrand48'.
94 # Previously we used the builtin _rand but that's gone away.
95 'conditions': [
96 ['OS=="android"', {
97 'yasm_flags': [
98 '-D', '__ANDROID__',
99 ],
100 }],
101 ],
91 }, 102 },
92 'dependencies': [ 103 'dependencies': [
93 'gen_asm_offsets_vp8', 104 'gen_asm_offsets_vp8',
94 ], 105 ],
95 'includes': [ 106 'includes': [
96 '../yasm/yasm_compile.gypi' 107 '../yasm/yasm_compile.gypi'
97 ], 108 ],
98 'include_dirs': [ 109 'include_dirs': [
99 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 110 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
100 'source/config', 111 'source/config',
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 # Need this otherwise gyp won't run the rule on them. 593 # Need this otherwise gyp won't run the rule on them.
583 'sources': [ 594 'sources': [
584 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', 595 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
585 ], 596 ],
586 }], 597 }],
587 ], 598 ],
588 'includes': ['obj_int_extract.gypi'], 599 'includes': ['obj_int_extract.gypi'],
589 }, 600 },
590 ], 601 ],
591 } 602 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698