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

Side by Side Diff: build/standalone.gypi

Issue 1215593004: Revert of Reland [android] Migrate more configs to gyp. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | « Makefile.android ('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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 'variables': { 215 'variables': {
216 # The Android toolchain needs to use the absolute path to the NDK 216 # The Android toolchain needs to use the absolute path to the NDK
217 # because it is used at different levels in the GYP files. 217 # because it is used at different levels in the GYP files.
218 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_ tools/ndk/', 218 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_ tools/ndk/',
219 'android_host_arch%': "<!(uname -m | sed -e 's/i[3456]86/x86/')", 219 'android_host_arch%': "<!(uname -m | sed -e 's/i[3456]86/x86/')",
220 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", 220 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')",
221 }, 221 },
222 222
223 # Copy conditionally-set variables out one scope. 223 # Copy conditionally-set variables out one scope.
224 'android_ndk_root%': '<(android_ndk_root)', 224 'android_ndk_root%': '<(android_ndk_root)',
225 'host_os%': '<(host_os)',
226 225
227 'conditions': [ 226 'conditions': [
228 ['target_arch == "ia32"', { 227 ['target_arch == "ia32"', {
229 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.9/preb uilt/<(host_os)-<(android_host_arch)/bin', 228 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.9/preb uilt/<(host_os)-<(android_host_arch)/bin',
230 'android_target_arch%': 'x86',
231 'android_target_platform%': '16',
232 }], 229 }],
233 ['target_arch == "x64"', { 230 ['target_arch == "x64"', {
234 'android_toolchain%': '<(android_ndk_root)/toolchains/x86_64-4.9/p rebuilt/<(host_os)-<(android_host_arch)/bin', 231 'android_toolchain%': '<(android_ndk_root)/toolchains/x86_64-4.9/p rebuilt/<(host_os)-<(android_host_arch)/bin',
235 'android_target_arch%': 'x86_64',
236 'android_target_platform%': '21',
237 }], 232 }],
238 ['target_arch=="arm"', { 233 ['target_arch=="arm"', {
239 'android_toolchain%': '<(android_ndk_root)/toolchains/arm-linux-an droideabi-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', 234 'android_toolchain%': '<(android_ndk_root)/toolchains/arm-linux-an droideabi-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
240 'android_target_arch%': 'arm',
241 'android_target_platform%': '16',
242 'arm_version%': 7,
243 }], 235 }],
244 ['target_arch == "arm64"', { 236 ['target_arch == "arm64"', {
245 'android_toolchain%': '<(android_ndk_root)/toolchains/aarch64-linu x-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', 237 'android_toolchain%': '<(android_ndk_root)/toolchains/aarch64-linu x-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
246 'android_target_arch%': 'arm64',
247 'android_target_platform%': '21',
248 'arm_version%': 'default',
249 }], 238 }],
250 ['target_arch == "mipsel"', { 239 ['target_arch == "mipsel"', {
251 'android_toolchain%': '<(android_ndk_root)/toolchains/mipsel-linux -android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', 240 'android_toolchain%': '<(android_ndk_root)/toolchains/mipsel-linux -android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
252 'android_target_arch%': 'mips',
253 'android_target_platform%': '16',
254 }], 241 }],
255 ['target_arch == "mips64el"', { 242 ['target_arch == "mips64el"', {
256 'android_toolchain%': '<(android_ndk_root)/toolchains/mips64el-lin ux-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', 243 'android_toolchain%': '<(android_ndk_root)/toolchains/mips64el-lin ux-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
257 'android_target_arch%': 'mips64',
258 'android_target_platform%': '21',
259 }], 244 }],
260 ], 245 ],
261 }, 246 },
262 247
263 # Copy conditionally-set variables out one scope. 248 # Copy conditionally-set variables out one scope.
264 'android_target_arch%': '<(android_target_arch)',
265 'android_target_platform%': '<(android_target_platform)',
266 'android_toolchain%': '<(android_toolchain)', 249 'android_toolchain%': '<(android_toolchain)',
267 'arm_version%': '<(arm_version)',
268 'host_os%': '<(host_os)',
269 250
270 'conditions': [ 251 'conditions': [
271 ['android_ndk_root==""', { 252 ['android_ndk_root==""', {
272 'variables': { 253 'variables': {
273 'android_sysroot': '<(android_toolchain)/sysroot/', 254 'android_sysroot': '<(android_toolchain)/sysroot/',
274 'android_stlport': '<(android_toolchain)/sources/cxx-stl/stlport/' , 255 'android_stlport': '<(android_toolchain)/sources/cxx-stl/stlport/' ,
275 }, 256 },
276 'android_include': '<(android_sysroot)/usr/include', 257 'android_include': '<(android_sysroot)/usr/include',
277 'conditions': [ 258 'conditions': [
278 ['target_arch=="x64"', { 259 ['target_arch=="x64"', {
(...skipping 25 matching lines...) Expand all
304 }], # OS=="android" 285 }], # OS=="android"
305 ['host_clang==1', { 286 ['host_clang==1', {
306 'host_cc': '../<(clang_dir)/bin/clang', 287 'host_cc': '../<(clang_dir)/bin/clang',
307 'host_cxx': '../<(clang_dir)/bin/clang++', 288 'host_cxx': '../<(clang_dir)/bin/clang++',
308 }, { 289 }, {
309 'host_cc': '<!(which gcc)', 290 'host_cc': '<!(which gcc)',
310 'host_cxx': '<!(which g++)', 291 'host_cxx': '<!(which g++)',
311 }], 292 }],
312 ], 293 ],
313 # Default ARM variable settings. 294 # Default ARM variable settings.
295 'arm_version%': 'default',
314 'arm_fpu%': 'vfpv3', 296 'arm_fpu%': 'vfpv3',
315 'arm_float_abi%': 'default', 297 'arm_float_abi%': 'default',
316 'arm_thumb': 'default', 298 'arm_thumb': 'default',
317 299
318 # Default MIPS variable settings. 300 # Default MIPS variable settings.
319 'mips_arch_variant%': 'r2', 301 'mips_arch_variant%': 'r2',
320 # Possible values fp32, fp64, fpxx. 302 # Possible values fp32, fp64, fpxx.
321 # fp32 - 32 32-bit FPU registers are available, doubles are placed in 303 # fp32 - 32 32-bit FPU registers are available, doubles are placed in
322 # register pairs. 304 # register pairs.
323 # fp64 - 32 64-bit FPU registers are available. 305 # fp64 - 32 64-bit FPU registers are available.
324 # fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime 306 # fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime
325 # detection 307 # detection
326 'mips_fpu_mode%': 'fp32', 308 'mips_fpu_mode%': 'fp32',
327 }, 309 },
328 'target_defaults': { 310 'target_defaults': {
329 'variables': { 311 'variables': {
330 'v8_code%': '<(v8_code)', 312 'v8_code%': '<(v8_code)',
331 'conditions':[
332 ['OS=="android"', {
333 'host_os%': '<(host_os)',
334 }],
335 ],
336 }, 313 },
337 'default_configuration': 'Debug', 314 'default_configuration': 'Debug',
338 'configurations': { 315 'configurations': {
339 'DebugBaseCommon': { 316 'DebugBaseCommon': {
340 'conditions': [ 317 'conditions': [
341 ['OS=="aix"', { 318 ['OS=="aix"', {
342 'cflags': [ '-g', '-Og', '-gxcoff' ], 319 'cflags': [ '-g', '-Og', '-gxcoff' ],
343 }, { 320 }, {
344 'cflags': [ '-g', '-O0' ], 321 'cflags': [ '-g', '-O0' ],
345 }], 322 }],
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 1015 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
1039 'make_global_settings': [ 1016 'make_global_settings': [
1040 ['CC_wrapper', '<(gomadir)/gomacc'], 1017 ['CC_wrapper', '<(gomadir)/gomacc'],
1041 ['CXX_wrapper', '<(gomadir)/gomacc'], 1018 ['CXX_wrapper', '<(gomadir)/gomacc'],
1042 ['CC.host_wrapper', '<(gomadir)/gomacc'], 1019 ['CC.host_wrapper', '<(gomadir)/gomacc'],
1043 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 1020 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
1044 ], 1021 ],
1045 }], 1022 }],
1046 ], 1023 ],
1047 } 1024 }
OLDNEW
« no previous file with comments | « Makefile.android ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698