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

Side by Side Diff: build/common.gypi

Issue 288273002: ozone: Add ozone_auto_platforms setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase better Created 6 years, 7 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 | « no previous file | 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) 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 'enable_mdns%' : 0, 554 'enable_mdns%' : 0,
555 'enable_service_discovery%': 0, 555 'enable_service_discovery%': 0,
556 'enable_hangout_services_extension%': 0, 556 'enable_hangout_services_extension%': 0,
557 557
558 # Enable the Syzygy optimization step. 558 # Enable the Syzygy optimization step.
559 'syzygy_optimize%': 0, 559 'syzygy_optimize%': 0,
560 560
561 # Enable hole punching for the protected video. 561 # Enable hole punching for the protected video.
562 'video_hole%': 0, 562 'video_hole%': 0,
563 563
564 # Automatically select platforms under ozone. Turn this off to
565 # build only explicitly selected platforms.
566 'ozone_auto_platforms%': 1,
567
564 'conditions': [ 568 'conditions': [
565 # A flag for POSIX platforms 569 # A flag for POSIX platforms
566 ['OS=="win"', { 570 ['OS=="win"', {
567 'os_posix%': 0, 571 'os_posix%': 0,
568 }, { 572 }, {
569 'os_posix%': 1, 573 'os_posix%': 1,
570 }], 574 }],
571 575
572 # A flag for BSD platforms 576 # A flag for BSD platforms
573 ['OS=="freebsd" or OS=="openbsd"', { 577 ['OS=="freebsd" or OS=="openbsd"', {
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 1378
1375 # Force disable libstdc++ debug mode. 1379 # Force disable libstdc++ debug mode.
1376 'disable_glibcxx_debug%': 0, 1380 'disable_glibcxx_debug%': 0,
1377 1381
1378 # Set to 1 to compile with MSE support for MPEG2 TS 1382 # Set to 1 to compile with MSE support for MPEG2 TS
1379 'enable_mpeg2ts_stream_parser%': 0, 1383 'enable_mpeg2ts_stream_parser%': 0,
1380 1384
1381 # Support ChromeOS touchpad gestures with ozone. 1385 # Support ChromeOS touchpad gestures with ozone.
1382 'use_evdev_gestures%': 0, 1386 'use_evdev_gestures%': 0,
1383 1387
1388 # Default ozone platform (if no --ozone-platform flag).
1389 'ozone_platform%': "",
1390
1391 # Ozone platforms to include in the build.
1392 'ozone_platform_caca%': 0,
1393 'ozone_platform_dri%': 0,
1394 'ozone_platform_egltest%': 0,
1395 'ozone_platform_ozonex%': 0,
1396 'ozone_platform_test%': 0,
1397
1384 'conditions': [ 1398 'conditions': [
1385 # Enable the Syzygy optimization step for the official builds. 1399 # Enable the Syzygy optimization step for the official builds.
1386 ['OS=="win" and buildtype=="Official" and syzyasan!=1', { 1400 ['OS=="win" and buildtype=="Official" and syzyasan!=1', {
1387 'syzygy_optimize%': 1, 1401 'syzygy_optimize%': 1,
1388 }, { 1402 }, {
1389 'syzygy_optimize%': 0, 1403 'syzygy_optimize%': 0,
1390 }], 1404 }],
1391 # Get binutils version so we can enable debug fission if we can. 1405 # Get binutils version so we can enable debug fission if we can.
1392 ['os_posix==1 and OS!="mac" and OS!="ios"', { 1406 ['os_posix==1 and OS!="mac" and OS!="ios"', {
1393 'conditions': [ 1407 'conditions': [
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
2102 'arm_fpu%': '', 2116 'arm_fpu%': '',
2103 'arm_float_abi%': '', 2117 'arm_float_abi%': '',
2104 'arm_thumb%': 0, 2118 'arm_thumb%': 0,
2105 }], 2119 }],
2106 2120
2107 # Enable brlapi by default for chromeos. 2121 # Enable brlapi by default for chromeos.
2108 [ 'chromeos==1', { 2122 [ 'chromeos==1', {
2109 'use_brlapi%': 1, 2123 'use_brlapi%': 1,
2110 }], 2124 }],
2111 2125
2112 ['use_ozone==1', { 2126 ['use_ozone==1 and ozone_auto_platforms==1', {
2113 # This is the default platform 2127 # Use test as the default platform.
2114 'ozone_platform%': "test", 2128 'ozone_platform%': 'test',
2115 2129
2116 # Enable built-in ozone platforms if ozone is enabled. 2130 # Build all platforms whose deps are in install-build-deps.sh.
2117 'ozone_platform_caca%': 0, 2131 # Only these platforms will be compile tested by buildbots.
2118 'ozone_platform_dri%': 1, 2132 'ozone_platform_dri%': 1,
2133 'ozone_platform_test%': 1,
2119 'ozone_platform_egltest%': 1, 2134 'ozone_platform_egltest%': 1,
2120 'ozone_platform_ozonex%': 0, 2135 }],
2121 'ozone_platform_test%': 1, 2136
2122 }, { # use_ozone==0 2137 ['use_ozone==1 and ozone_auto_platforms==1 and chromeos==1', {
2123 'ozone_platform_caca%': 0, 2138 # Use dri as the default platform.
2124 'ozone_platform_dri%': 0, 2139 'ozone_platform%': 'dri',
2125 'ozone_platform_egltest%': 0,
2126 'ozone_platform_ozonex%': 0,
2127 'ozone_platform_test%': 0,
2128 }], 2140 }],
2129 2141
2130 ['desktop_linux==1 and use_aura==1 and use_x11==1', { 2142 ['desktop_linux==1 and use_aura==1 and use_x11==1', {
2131 'use_clipboard_aurax11%': 1, 2143 'use_clipboard_aurax11%': 1,
2132 }], 2144 }],
2133 2145
2134 ['OS=="win" and use_goma==1', { 2146 ['OS=="win" and use_goma==1', {
2135 # goma doesn't support pch yet. 2147 # goma doesn't support pch yet.
2136 'chromium_win_pch': 0, 2148 'chromium_win_pch': 0,
2137 # goma doesn't support PDB yet, so win_z7=1 or fastbuild=1. 2149 # goma doesn't support PDB yet, so win_z7=1 or fastbuild=1.
(...skipping 3151 matching lines...) Expand 10 before | Expand all | Expand 10 after
5289 # settings in target dicts. SYMROOT is a special case, because many other 5301 # settings in target dicts. SYMROOT is a special case, because many other
5290 # Xcode variables depend on it, including variables such as 5302 # Xcode variables depend on it, including variables such as
5291 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5303 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5292 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5304 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5293 # files to appear (when present) in the UI as actual files and not red 5305 # files to appear (when present) in the UI as actual files and not red
5294 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5306 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5295 # and therefore SYMROOT, needs to be set at the project level. 5307 # and therefore SYMROOT, needs to be set at the project level.
5296 'SYMROOT': '<(DEPTH)/xcodebuild', 5308 'SYMROOT': '<(DEPTH)/xcodebuild',
5297 }, 5309 },
5298 } 5310 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698