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

Side by Side Diff: third_party/yasm/yasm_compile.gypi

Issue 8348002: OpenBSD support for yasm. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: change my email address Created 9 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 unified diff | Download patch
« no previous file with comments | « third_party/yasm/source/config/openbsd/libyasm-stdint.h ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 # This is an gyp include to use YASM for compiling assembly files. 5 # This is an gyp include to use YASM for compiling assembly files.
6 # 6 #
7 # Files to be compiled with YASM should have an extension of .asm. 7 # Files to be compiled with YASM should have an extension of .asm.
8 # 8 #
9 # There are two variables for this include: 9 # There are two variables for this include:
10 # yasm_flags : Pass additional flags into YASM. 10 # yasm_flags : Pass additional flags into YASM.
(...skipping 18 matching lines...) Expand all
29 'yasm_flags': [], 29 'yasm_flags': [],
30 30
31 'conditions': [ 31 'conditions': [
32 [ 'use_system_yasm==0', { 32 [ 'use_system_yasm==0', {
33 'yasm_path': '<(PRODUCT_DIR)/yasm', 33 'yasm_path': '<(PRODUCT_DIR)/yasm',
34 }, { 34 }, {
35 'yasm_path': '<!(which yasm)', 35 'yasm_path': '<!(which yasm)',
36 }], 36 }],
37 37
38 # Define yasm_flags that pass into YASM. 38 # Define yasm_flags that pass into YASM.
39 [ 'OS=="linux" and target_arch=="ia32"', { 39 [ 'os_posix==1 and OS!="mac" and target_arch=="ia32"', {
40 'yasm_flags': [ 40 'yasm_flags': [
41 '-felf32', 41 '-felf32',
42 '-m', 'x86', 42 '-m', 'x86',
43 ], 43 ],
44 }], 44 }],
45 [ 'OS=="linux" and target_arch=="x64"', { 45 [ 'os_posix==1 and OS!="mac" and target_arch=="x64"', {
46 'yasm_flags': [ 46 'yasm_flags': [
47 '-DPIC', 47 '-DPIC',
48 '-felf64', 48 '-felf64',
49 '-m', 'amd64', 49 '-m', 'amd64',
50 ], 50 ],
51 }], 51 }],
52 [ 'OS=="mac" and target_arch=="ia32"', { 52 [ 'OS=="mac" and target_arch=="ia32"', {
53 'yasm_flags': [ 53 'yasm_flags': [
54 '-fmacho32', 54 '-fmacho32',
55 '-m', 'x86', 55 '-m', 'x86',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 '<(yasm_path)', 94 '<(yasm_path)',
95 '<@(yasm_flags)', 95 '<@(yasm_flags)',
96 '-o', '<(yasm_output_path)/<(RULE_INPUT_ROOT).<(asm_obj_extension)', 96 '-o', '<(yasm_output_path)/<(RULE_INPUT_ROOT).<(asm_obj_extension)',
97 '<(RULE_INPUT_PATH)', 97 '<(RULE_INPUT_PATH)',
98 ], 98 ],
99 'process_outputs_as_sources': 1, 99 'process_outputs_as_sources': 1,
100 'message': 'Compile assemly <(RULE_INPUT_PATH).', 100 'message': 'Compile assemly <(RULE_INPUT_PATH).',
101 }, 101 },
102 ], # rules 102 ], # rules
103 } 103 }
OLDNEW
« no previous file with comments | « third_party/yasm/source/config/openbsd/libyasm-stdint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698