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

Side by Side Diff: build/common.gypi

Issue 64433003: Revert of untrusted.gyp to fix goma_status=ok error. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 1 month 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 | « build/build_nexe.py ('k') | build/untrusted.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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 # Override buildtype to select the desired build flavor. 79 # Override buildtype to select the desired build flavor.
80 # Dev - everyday build for development/testing 80 # Dev - everyday build for development/testing
81 # Official - release build (generally implies additional processing) 81 # Official - release build (generally implies additional processing)
82 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp 82 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp
83 # conversion is done), some of the things which are now controlled by 83 # conversion is done), some of the things which are now controlled by
84 # 'branding', such as symbol generation, will need to be refactored 84 # 'branding', such as symbol generation, will need to be refactored
85 # based on 'buildtype' (i.e. we don't care about saving symbols for 85 # based on 'buildtype' (i.e. we don't care about saving symbols for
86 # non-Official builds). 86 # non-Official builds).
87 'buildtype%': 'Dev', 87 'buildtype%': 'Dev',
88 88
89 # goma settings.
90 'goma_status%': '',
91 'gomadir%': '',
92
93 'conditions': [ 89 'conditions': [
94 # Compute the architecture that we're building for. Default to the 90 # Compute the architecture that we're building for. Default to the
95 # architecture that we're building on. 91 # architecture that we're building on.
96 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 92 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
97 # This handles the Linux platforms we generally deal with. Anything 93 # This handles the Linux platforms we generally deal with. Anything
98 # else gets passed through, which probably won't work very well; 94 # else gets passed through, which probably won't work very well;
99 # such hosts should pass an explicit target_arch to gyp. 95 # such hosts should pass an explicit target_arch to gyp.
100 # 96 #
101 # NOTE: currently only nacl is generating gyp files on an arm board. 97 # NOTE: currently only nacl is generating gyp files on an arm board.
102 # The arm.* -> arm substitution in chrome's common.gypi isn't 98 # The arm.* -> arm substitution in chrome's common.gypi isn't
103 # appropriate in that context as we actually use target_arch==arm 99 # appropriate in that context as we actually use target_arch==arm
104 # to me x86 -> arm cross compile. When actually running on an arm 100 # to me x86 -> arm cross compile. When actually running on an arm
105 # board, we'll generate ia32 for now, so that the generation 101 # board, we'll generate ia32 for now, so that the generation
106 # succeeds. 102 # succeeds.
107 'target_arch%': 103 'target_arch%':
108 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/ia32/")' 104 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/ia32/")'
109 }, { # OS!="linux" 105 }, { # OS!="linux"
110 'target_arch%': 'ia32', 106 'target_arch%': 'ia32',
111 }], 107 }],
112 ] 108 ]
113 }, 109 },
114 # These come from the above variable scope. 110 # These come from the above variable scope.
115 'nacl_standalone%': '<(nacl_standalone)', 111 'nacl_standalone%': '<(nacl_standalone)',
116 'target_arch%': '<(target_arch)', 112 'target_arch%': '<(target_arch)',
117 'branding%': '<(branding)', 113 'branding%': '<(branding)',
118 'buildtype%': '<(buildtype)', 114 'buildtype%': '<(buildtype)',
119 'goma_status%': '<(goma_status)',
120 'gomadir%': '<(gomadir)',
121 115
122 'conditions': [ 116 'conditions': [
123 # The system root for cross-compiles. Default: none. 117 # The system root for cross-compiles. Default: none.
124 # If we are building in chrome we want to rely on chrome's default, whic h 118 # If we are building in chrome we want to rely on chrome's default, whic h
125 # means we can't set a default here. 119 # means we can't set a default here.
126 ['nacl_standalone!=0', { 120 ['nacl_standalone!=0', {
127 'sysroot%': '', 121 'sysroot%': '',
128 }], 122 }],
129 ], 123 ],
130 124
131 # This variable is to allow us to build components as either static 125 # This variable is to allow us to build components as either static
132 # libraries or dynamic shared libraries. 126 # libraries or dynamic shared libraries.
133 'component%': 'static_library', 127 'component%': 'static_library',
134 }, 128 },
135 # These come from the above variable scope. 129 # These come from the above variable scope.
136 'target_arch%': '<(target_arch)', 130 'target_arch%': '<(target_arch)',
137 'sysroot%': '<(sysroot)', 131 'sysroot%': '<(sysroot)',
138 'nacl_standalone%': '<(nacl_standalone)', 132 'nacl_standalone%': '<(nacl_standalone)',
139 'branding%': '<(branding)', 133 'branding%': '<(branding)',
140 'buildtype%': '<(buildtype)', 134 'buildtype%': '<(buildtype)',
141 'component%': '<(component)', 135 'component%': '<(component)',
142 'goma_status%': '<(goma_status)',
143 'gomadir%': '<(gomadir)',
144 136
145 'nacl_strict_warnings%': 1, 137 'nacl_strict_warnings%': 1,
146 'nacl_validator_ragel%': 1, 138 'nacl_validator_ragel%': 1,
147 139
148 'linux2%': 0, 140 'linux2%': 0,
149 'conditions': [ 141 'conditions': [
150 ['OS=="win"', { 142 ['OS=="win"', {
151 'python_exe': [ 143 'python_exe': [
152 'call <(DEPTH)/native_client/tools/win_py.cmd' 144 'call <(DEPTH)/native_client/tools/win_py.cmd'
153 ], 145 ],
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 786 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
795 # files to appear (when present) in the UI as actual files and not red 787 # files to appear (when present) in the UI as actual files and not red
796 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 788 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
797 # and therefore SYMROOT, needs to be set at the project level. 789 # and therefore SYMROOT, needs to be set at the project level.
798 'SYMROOT': '<(DEPTH)/xcodebuild', 790 'SYMROOT': '<(DEPTH)/xcodebuild',
799 }, 791 },
800 'includes': [ 792 'includes': [
801 'untrusted.gypi', 793 'untrusted.gypi',
802 ], 794 ],
803 } 795 }
OLDNEW
« no previous file with comments | « build/build_nexe.py ('k') | build/untrusted.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698