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

Side by Side Diff: build/common.gypi

Issue 1519613002: [Chromecast] Set default ozone platform to "cast" on device builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years 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 | « no previous file | ui/ozone/ozone.gni » ('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 # 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 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after
2380 ['use_ozone==1 and ozone_auto_platforms==1', { 2380 ['use_ozone==1 and ozone_auto_platforms==1', {
2381 # Use headless as the default platform. 2381 # Use headless as the default platform.
2382 'ozone_platform%': 'headless', 2382 'ozone_platform%': 'headless',
2383 'ozone_platform_headless%': 1, 2383 'ozone_platform_headless%': 1,
2384 'conditions': [ 2384 'conditions': [
2385 ['chromecast==1', { 2385 ['chromecast==1', {
2386 'conditions': [ 2386 'conditions': [
2387 ['disable_display==0', { 2387 ['disable_display==0', {
2388 # Enable the Cast ozone platform on all A/V Cast builds. 2388 # Enable the Cast ozone platform on all A/V Cast builds.
2389 'ozone_platform_cast%': 1, 2389 'ozone_platform_cast%': 1,
2390
2391 # For desktop Chromecast builds, override the default "headless"
2392 # platform with --ozone-platform=egltest
2393 # TODO(slan|halliwell): Make the default platform "cast" on
2394 # desktop too.
2390 'conditions': [ 2395 'conditions': [
2391 ['OS=="linux" and target_arch!="arm"', { 2396 ['OS=="linux" and target_arch!="arm"', {
2392 'ozone_platform_egltest%': 1, 2397 'ozone_platform_egltest%': 1,
2393 'ozone_platform_ozonex%': 1, 2398 'ozone_platform_ozonex%': 1,
2399 }, {
2400 # On device builds, enable "cast" as the default platform.
2401 'ozone_platform%': 'cast',
2394 }], 2402 }],
2395 ], 2403 ],
2396 }], 2404 }],
2397 ], 2405 ],
2398 }, { # chromecast!=1 2406 }, { # chromecast!=1
2399 'conditions': [ 2407 'conditions': [
2400 ['OS=="chromeos"', { 2408 ['OS=="chromeos"', {
2401 'ozone_platform_gbm%': 1, 2409 'ozone_platform_gbm%': 1,
2402 'ozone_platform_egltest%': 1, 2410 'ozone_platform_egltest%': 1,
2403 }, { 2411 }, {
(...skipping 3994 matching lines...) Expand 10 before | Expand all | Expand 10 after
6398 # settings in target dicts. SYMROOT is a special case, because many other 6406 # settings in target dicts. SYMROOT is a special case, because many other
6399 # Xcode variables depend on it, including variables such as 6407 # Xcode variables depend on it, including variables such as
6400 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6408 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6401 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6409 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6402 # files to appear (when present) in the UI as actual files and not red 6410 # files to appear (when present) in the UI as actual files and not red
6403 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6411 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6404 # and therefore SYMROOT, needs to be set at the project level. 6412 # and therefore SYMROOT, needs to be set at the project level.
6405 'SYMROOT': '<(DEPTH)/xcodebuild', 6413 'SYMROOT': '<(DEPTH)/xcodebuild',
6406 }, 6414 },
6407 } 6415 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698