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

Side by Side Diff: build/standalone.gypi

Issue 7891045: Add "native" target to Makefile for the benefit of Linux distros (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | « Makefile ('k') | tools/test-wrapper-gypbuild.py » ('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 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 17 matching lines...) Expand all
28 # Definitions to be used when building stand-alone V8 binaries. 28 # Definitions to be used when building stand-alone V8 binaries.
29 29
30 { 30 {
31 'variables': { 31 'variables': {
32 'library%': 'static_library', 32 'library%': 'static_library',
33 'component%': 'static_library', 33 'component%': 'static_library',
34 'visibility%': 'hidden', 34 'visibility%': 'hidden',
35 'msvs_multi_core_compile%': '1', 35 'msvs_multi_core_compile%': '1',
36 'variables': { 36 'variables': {
37 'variables': { 37 'variables': {
38 'conditions': [ 38 'variables': {
39 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 39 'conditions': [
40 # This handles the Linux platforms we generally deal with. Anything 40 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
41 # else gets passed through, which probably won't work very well; suc h 41 # This handles the Linux platforms we generally deal with. Anythin g
42 # hosts should pass an explicit target_arch to gyp. 42 # else gets passed through, which probably won't work very well; s uch
43 'host_arch%': 43 # hosts should pass an explicit target_arch to gyp.
44 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/")', 44 'host_arch%':
45 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" 45 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s /arm.*/arm/")',
46 'host_arch%': 'ia32', 46 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd"
47 }], 47 'host_arch%': 'ia32',
48 ], 48 }],
49 ],
50 },
51 'host_arch%': '<(host_arch)',
52 'target_arch%': '<(host_arch)',
49 }, 53 },
50 'host_arch%': '<(host_arch)', 54 'host_arch%': '<(host_arch)',
51 'target_arch%': '<(host_arch)', 55 'target_arch%': '<(target_arch)',
52 'v8_target_arch%': '<(target_arch)', 56 'v8_target_arch%': '<(target_arch)',
53 }, 57 },
54 'host_arch%': '<(host_arch)', 58 'host_arch%': '<(host_arch)',
55 'target_arch%': '<(target_arch)', 59 'target_arch%': '<(target_arch)',
56 'v8_target_arch%': '<(v8_target_arch)', 60 'v8_target_arch%': '<(v8_target_arch)',
57 'conditions': [ 61 'conditions': [
58 ['(v8_target_arch=="arm" and host_arch!="arm") or \ 62 ['(v8_target_arch=="arm" and host_arch!="arm") or \
59 (v8_target_arch=="x64" and host_arch!="x64")', { 63 (v8_target_arch=="x64" and host_arch!="x64")', {
60 'want_separate_host_toolset': 1, 64 'want_separate_host_toolset': 1,
61 }, { 65 }, {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 }, 191 },
188 'target_conditions': [ 192 'target_conditions': [
189 ['_type!="static_library"', { 193 ['_type!="static_library"', {
190 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 194 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
191 }], 195 }],
192 ], # target_conditions 196 ], # target_conditions
193 }, # target_defaults 197 }, # target_defaults
194 }], # OS=="mac" 198 }], # OS=="mac"
195 ], 199 ],
196 } 200 }
OLDNEW
« no previous file with comments | « Makefile ('k') | tools/test-wrapper-gypbuild.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698