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

Side by Side Diff: platforms/stm/stm_targets.gypi

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 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
« no previous file with comments | « platforms/stm/stm.gyp ('k') | samples/github/android/GithubMock/.gitignore » ('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) 2015, the Dartino project authors. Please see the AUTHORS file 1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE.md file. 3 # BSD-style license that can be found in the LICENSE.md file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'posix': 0, 7 'posix': 0,
8 8
9 'stm32_cube_f7': '<(DEPTH)/third_party/stm/stm32cube_fw_f7', 9 'stm32_cube_f7': '<(DEPTH)/third_party/stm/stm32cube_fw_f7',
10 'stm32_cube_f7_free_rtos': 10 'stm32_cube_f7_free_rtos':
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 '-L/GCC_XARM_EMBEDDED', # Fake define intercepted by cc_wrapper.py. 60 '-L/GCC_XARM_EMBEDDED', # Fake define intercepted by cc_wrapper.py.
61 ], 61 ],
62 }, 62 },
63 63
64 'includes': [ 64 'includes': [
65 '../../common.gypi' 65 '../../common.gypi'
66 ], 66 ],
67 67
68 'target_defaults': { 68 'target_defaults': {
69 'configurations': { 69 'configurations': {
70 'fletch_stm': { 70 'dartino_stm': {
71 'abstract': 1, 71 'abstract': 1,
72 72
73 'defines': [ 73 'defines': [
74 'FLETCH32', 74 'DARTINO32',
75 'FLETCH_TARGET_ARM', 75 'DARTINO_TARGET_ARM',
76 'FLETCH_THUMB_ONLY', 76 'DARTINO_THUMB_ONLY',
77 ], 77 ],
78 'target_conditions': [ 78 'target_conditions': [
79 ['_toolset=="target"', { 79 ['_toolset=="target"', {
80 'defines': [ 80 'defines': [
81 'GCC_XARM_EMBEDDED', # Fake define intercepted by cc_wrapper.py. 81 'GCC_XARM_EMBEDDED', # Fake define intercepted by cc_wrapper.py.
82 'FLETCH_TARGET_OS_CMSIS', 82 'DARTINO_TARGET_OS_CMSIS',
83 'USE_HAL_DRIVER', 83 'USE_HAL_DRIVER',
84 'STM32F746xx', 84 'STM32F746xx',
85 'USE_STM32746G_DISCOVERY', 85 'USE_STM32746G_DISCOVERY',
86 'USE_STM32746G_DISCO', 86 'USE_STM32746G_DISCO',
87 ], 87 ],
88 'conditions': [ 88 'conditions': [
89 ['OS=="mac"', { 89 ['OS=="mac"', {
90 'xcode_settings': { 90 'xcode_settings': {
91 # This removes the option -fasm-blocks that GCC ARM Embedded 91 # This removes the option -fasm-blocks that GCC ARM Embedded
92 # does not support. 92 # does not support.
(...skipping 25 matching lines...) Expand all
118 ], 118 ],
119 'cflags_cc': [ 119 'cflags_cc': [
120 '<@(common_cross_gcc_cflags_cc)', 120 '<@(common_cross_gcc_cflags_cc)',
121 ], 121 ],
122 'ldflags': [ 122 'ldflags': [
123 '<@(common_cross_gcc_ldflags)', 123 '<@(common_cross_gcc_ldflags)',
124 ], 124 ],
125 }], 125 }],
126 ], 126 ],
127 'defines!': [ 127 'defines!': [
128 'FLETCH_TARGET_OS_POSIX', 128 'DARTINO_TARGET_OS_POSIX',
129 'FLETCH_TARGET_OS_LINUX', 129 'DARTINO_TARGET_OS_LINUX',
130 'FLETCH_TARGET_OS_MACOS', 130 'DARTINO_TARGET_OS_MACOS',
131 ], 131 ],
132 'include_dirs': [ 132 'include_dirs': [
133 # We need to set these here since the src/shared/platform_cmsis.h 133 # We need to set these here since the src/shared/platform_cmsis.h
134 # includes cmsis_os.h from here. 134 # includes cmsis_os.h from here.
135 '<(stm32_cube_f7_free_rtos)/Source/CMSIS_RTOS/', 135 '<(stm32_cube_f7_free_rtos)/Source/CMSIS_RTOS/',
136 '<(stm32_cube_f7_free_rtos)/Source/include/', 136 '<(stm32_cube_f7_free_rtos)/Source/include/',
137 '<(stm32_cube_f7_free_rtos)/Source/portable/GCC/ARM_CM7/r0p1/', 137 '<(stm32_cube_f7_free_rtos)/Source/portable/GCC/ARM_CM7/r0p1/',
138 '<(stm32_cube_f7)/Drivers/CMSIS/Include/', 138 '<(stm32_cube_f7)/Drivers/CMSIS/Include/',
139 'disco_fletch/src', 139 'disco_dartino/src',
140 '../..' 140 '../..'
141 ], 141 ],
142 }], 142 }],
143 143
144 ['_toolset=="host"', { 144 ['_toolset=="host"', {
145 # Compile host targets as IA32, to get same word size. 145 # Compile host targets as IA32, to get same word size.
146 'inherit_from': [ 'fletch_ia32' ], 146 'inherit_from': [ 'dartino_ia32' ],
147 147
148 # Undefine IA32 target and using existing ARM target. 148 # Undefine IA32 target and using existing ARM target.
149 'defines!': [ 149 'defines!': [
150 'FLETCH_TARGET_IA32', 150 'DARTINO_TARGET_IA32',
151 ], 151 ],
152 }], 152 }],
153 ], 153 ],
154 }, 154 },
155 155
156 'ReleaseSTM': { 156 'ReleaseSTM': {
157 'inherit_from': [ 157 'inherit_from': [
158 'fletch_base', 'fletch_release', 'fletch_stm', 158 'dartino_base', 'dartino_release', 'dartino_stm',
159 'fletch_disable_live_coding', 159 'dartino_disable_live_coding',
160 'fletch_disable_native_processes', 160 'dartino_disable_native_processes',
161 ], 161 ],
162 'target_conditions': [ 162 'target_conditions': [
163 ['_toolset=="target"', { 163 ['_toolset=="target"', {
164 'conditions': [ 164 'conditions': [
165 ['OS=="mac"', { 165 ['OS=="mac"', {
166 'xcode_settings': { 166 'xcode_settings': {
167 'OTHER_CFLAGS': [ 167 'OTHER_CFLAGS': [
168 '<@(common_cross_gcc_release_cflags)', 168 '<@(common_cross_gcc_release_cflags)',
169 ], 169 ],
170 'OTHER_CPLUSPLUSFLAGS' : [ 170 'OTHER_CPLUSPLUSFLAGS' : [
171 '<@(common_cross_gcc_release_cflags)', 171 '<@(common_cross_gcc_release_cflags)',
172 ], 172 ],
173 }, 173 },
174 }], 174 }],
175 ['OS=="linux"', { 175 ['OS=="linux"', {
176 'cflags': [ 176 'cflags': [
177 '<@(common_cross_gcc_release_cflags)', 177 '<@(common_cross_gcc_release_cflags)',
178 ], 178 ],
179 }], 179 }],
180 ], 180 ],
181 }], 181 }],
182 ], 182 ],
183 }, 183 },
184 184
185 'DebugSTM': { 185 'DebugSTM': {
186 'inherit_from': [ 186 'inherit_from': [
187 'fletch_base', 'fletch_debug', 'fletch_stm', 187 'dartino_base', 'dartino_debug', 'dartino_stm',
188 'fletch_disable_live_coding', 188 'dartino_disable_live_coding',
189 'fletch_disable_native_processes', 189 'dartino_disable_native_processes',
190 ], 190 ],
191 'target_conditions': [ 191 'target_conditions': [
192 ['_toolset=="target"', { 192 ['_toolset=="target"', {
193 'conditions': [ 193 'conditions': [
194 ['OS=="mac"', { 194 ['OS=="mac"', {
195 'xcode_settings': { 195 'xcode_settings': {
196 'OTHER_CFLAGS': [ 196 'OTHER_CFLAGS': [
197 '<@(common_cross_gcc_debug_cflags)', 197 '<@(common_cross_gcc_debug_cflags)',
198 ], 198 ],
199 'OTHER_CPLUSPLUSFLAGS' : [ 199 'OTHER_CPLUSPLUSFLAGS' : [
200 '<@(common_cross_gcc_debug_cflags)', 200 '<@(common_cross_gcc_debug_cflags)',
201 ], 201 ],
202 }, 202 },
203 }], 203 }],
204 ['OS=="linux"', { 204 ['OS=="linux"', {
205 'cflags': [ 205 'cflags': [
206 '<@(common_cross_gcc_debug_cflags)', 206 '<@(common_cross_gcc_debug_cflags)',
207 ], 207 ],
208 }], 208 }],
209 ], 209 ],
210 }], 210 }],
211 ], 211 ],
212 }, 212 },
213 }, 213 },
214 }, 214 },
215 } 215 }
OLDNEW
« no previous file with comments | « platforms/stm/stm.gyp ('k') | samples/github/android/GithubMock/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698