summaryrefslogtreecommitdiffstats
path: root/ui/ozone/ozone.gni
Commit message (Collapse)AuthorAgeFilesLines
* [Chromecast] Use cast ozone platforms for audio buildshalliwell2016-03-051-15/+11
| | | | | | | | | | | | | | | | This eliminates need for disable_display logic in a few places: * logic for when to build Cast Ozone * logic for --ozone-platform switches Cast Ozone recently had headless mode added based on --disable-gpu switch. Rather than require all audio builds, tests etc to use this switch, just enable headless mode for DISABLE_DISPLAY builds. BUG=internal b/27268814 Review URL: https://codereview.chromium.org/1739353002 Cr-Commit-Position: refs/heads/master@{#379413}
* Add initial SHM-only Wayland Ozone implementationforney2016-02-011-0/+1
| | | | | | | | | | | | | This is just the bare minimum to get a window on the screen. Things like cursor handling, input handling, and vsync provider will come in subsequent commits. BUG=578890 Review URL: https://codereview.chromium.org/1610683003 Cr-Commit-Position: refs/heads/master@{#372770}
* Add build rules for platform_ozone_x11.kylechar2016-01-191-0/+1
| | | | | | | | | | | | | This CL modifies the GN build rules in ui/ so that a X11 ozone platform can be added. It adds a GN argument platform_ozone_x11 and modifies other X11 related targets to be included if use_ozone && ozone_platform_x11 are true. BUG=361137 Review URL: https://codereview.chromium.org/1590103003 Cr-Commit-Position: refs/heads/master@{#370171}
* Don't enable ozone_platform_foo when use_ozone==falsespang2016-01-181-1/+7
| | | | | | | | | This asserts unless we never set the ozone_platform_foo variables when use_ozone==false. Review URL: https://codereview.chromium.org/1595483005 Cr-Commit-Position: refs/heads/master@{#370041}
* [Chromecast] Replace architecture-based conditionals with flag.slan2015-12-161-2/+4
| | | | | | | | | | | | | | Chromecast has historically used the target architecture as a proxy for the type of device targeted (embedded vs. desktop). Looking to the future, the decisions should be made on a per-feature basis and should be independent of the architecture. Replace each of the architecture conditionals with a flag that indicates Cast is being built for desktop. BUG= Review URL: https://codereview.chromium.org/1528533002 Cr-Commit-Position: refs/heads/master@{#365452}
* [Chromecast] Set default ozone platform to "cast" on device builds.slan2015-12-101-2/+7
| | | | | | | | | | | All device Chromecast builds should default to "cast" platform. Desktop builds will continue to use "headless" as default for now. BUG= Review URL: https://codereview.chromium.org/1519613002 Cr-Commit-Position: refs/heads/master@{#364472}
* Disable compiling GBM Ozone platform on non-ChromeOSdnicoara2015-12-011-1/+3
| | | | | | | | | | | | | The sysroot used to build content_shell on the ECS bot (non-chromeos) is old and doesn't have all the needed functions in libdrm. Thus, disable compiling of GBM on desktop builds and rely on the ChromiumOS builders to test that platform. BUG=559708 Review URL: https://codereview.chromium.org/1485613005 Cr-Commit-Position: refs/heads/master@{#362499}
* [Chromecast] Enable use_sysroot by default for Linux Cast builds.slan2015-11-301-13/+7
| | | | | | | | | | | | | | | | This CL modifies the Ozone platforms built on Chromecast builds. It updates the logic in common.gypi to match the logic in ozone.gni. ozone_platform_gbm still does not build, but this is not needed for our platform, so this will not be an issue for Cast builds. BUG=504446 BUG=559708 Bug: b/25865950 Review URL: https://codereview.chromium.org/1477633002 Cr-Commit-Position: refs/heads/master@{#362209}
* [Chromecast] Audio-only builds should not enable "cast" ozone platform.slan2015-11-131-9/+14
| | | | | | | | | | | | Currently this is being configured in infrastructure. Remove the complexity of setting up an audio build by setting the "headless" platform to default for "disable_display" builds. BUG= Review URL: https://codereview.chromium.org/1442643005 Cr-Commit-Position: refs/heads/master@{#359578}
* Rename "test" ozone platform to "headless"altimin2015-11-121-5/+5
| | | | | | | | | | | | | This platform normally has no graphical output or user input support and has been used for running tests. Rename it to "headless" to describe what it does rather than what we've been using it for. BUG=546953 Review URL: https://codereview.chromium.org/1410123003 Cr-Commit-Position: refs/heads/master@{#359336}
* ozone gbm: whitelist 3 DRM ioctl code for native GpuMemoryBuffer.dongseong.hwang2015-10-191-0/+7
| | | | | | | | BUG=475633 Review URL: https://codereview.chromium.org/1253363004 Cr-Commit-Position: refs/heads/master@{#354794}
* [Chromecast] Disable use_xkbcommon, change ozone platforms for Cast.slan2015-09-241-4/+6
| | | | | | | | | | | | | | | Change use_xkbcommon to guard all files which use its headers. This is more specific than use_ozone, which does not apply to ozone_platform_cast. Also excludes ozone_plaftorm_{egl_test|ozonex} from Chromecast ARM builds. Bug=516899 BUG= Review URL: https://codereview.chromium.org/1367833002 Cr-Commit-Position: refs/heads/master@{#350617}
* Add is_chromecast to GN build.slan2015-09-211-7/+22
| | | | | | | | | | | | | | There are several specific features needed for Chromecast builds. This flag will be used to enable and disable these features. This flag is the equivalent of 'embedded' and 'is_chromecast' in GYP, which mean the same thing in practice. BUG=516899 Bug:b/17615224 Review URL: https://codereview.chromium.org/1345013002 Cr-Commit-Position: refs/heads/master@{#349961}
* Revert of ozone: gbm: Default use_system_minigbm=1 to mitigate build breaks ↵spang2015-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #3 id:40001 of https://codereview.chromium.org/1344263002/ ) Reason for revert: This should work now. Original issue's description: > ozone: gbm: Default use_system_minigbm=1 to mitigate build breaks > > The chrome-sdk needs to update with the flag to avoid breakage. > This CL can be reverted when the chrome-sdk updates with the > new use_system_minigbm setting in GYP_DEFINES. > > TBR=dnicoara (build break) > NOTRY=true > > Committed: https://crrev.com/0e8f0106e7e01cee911dd2b34c263c01788e7186 > Cr-Commit-Position: refs/heads/master@{#349041} TBR=dnicoara@chromium.org Review URL: https://codereview.chromium.org/1357433003 Cr-Commit-Position: refs/heads/master@{#349450}
* ozone: gbm: Default use_system_minigbm=1 to mitigate build breaksMichael Spang2015-09-161-1/+0
| | | | | | | | | | | | | The chrome-sdk needs to update with the flag to avoid breakage. This CL can be reverted when the chrome-sdk updates with the new use_system_minigbm setting in GYP_DEFINES. TBR=dnicoara (build break) NOTRY=true Review URL: https://codereview.chromium.org/1344263002 . Cr-Commit-Position: refs/heads/master@{#349041}
* ozone: Remove the "drm" software composited platformspang2015-09-151-2/+0
| | | | | | | | | | | | | | | | | This is a software-only platform that was used early in the process of bringing up the Chrome OS ozone/freon (no X11) build. It's time to remove it because it now requires not only scary flags to get it going, but also a patch (https://codereview.chromium.org/1216303004/). If we need a build with software rasterization let's use vgem+swrast like our VMtests do. BUG=531814 TEST=link still works fine with platform=gbm Review URL: https://codereview.chromium.org/1345703002 Cr-Commit-Position: refs/heads/master@{#349012}
* Enable gbm platform by default in ozone buildsspang2015-09-151-0/+1
| | | | | | | | | | | | Now that we have minigbm in third_party we can set ozone_platform_gbm=1 by default. BUG=530712 TEST=tryjobs for linux_chromium_chromeos_ozone_rel_ng, cast_shell_linux Review URL: https://codereview.chromium.org/1336023002 Cr-Commit-Position: refs/heads/master@{#348802}
* Add eglplatform_shim_x11 target to ozone GN build.slan2015-07-171-0/+1
| | | | | | | | | | | | | This is needed for the GN build of Chromecast. The correspoinding GYP target is a loadable_module, but since this target type is not yet supported in GN (http://crbug.com/380327), a shared lib will be a temporary substitute on Linux. BUG= b/17615224 Review URL: https://codereview.chromium.org/1236883005 Cr-Commit-Position: refs/heads/master@{#339359}
* [Ozone] Remove deprecated DRI platform namednicoara2015-07-141-2/+0
| | | | | | | | | | | The platform was renamed to DRM. The DRI name was left in place until the ChromeOS changes were done. BUG=none Review URL: https://codereview.chromium.org/1198573002 Cr-Commit-Position: refs/heads/master@{#338753}
* [Ozone] Update GYP and GN to include a DRM platformdnicoara2015-03-161-0/+2
| | | | | | | | | | | | | | This makes it possible to refer to the platform as DRI and DRM. We need this intermediate state so we can update the CrOS builds to use DRM rather than DRI. BUG=none TEST=Build ozone with DRI & DRM platform and without to verify build (GYP and GN) Review URL: https://codereview.chromium.org/957253005 Cr-Commit-Position: refs/heads/master@{#320788}
* ozone: Fix GN build for ozone_egl_demo, ozone_unittestsspang@chromium.org2014-07-241-9/+22
| | | | | | | | | | | | | | | | This fixes the GN build for the ui/ozone component (and tests). The following build should work going forward: gn gen out_gn_ozone --args="use_ozone=true" ninja -C out_gn_ozone -j1000 -k50 ozone_egl_demo ozone_unittests BUG=396316 TEST=compile & run ozone_egl_demo, ozone_unittests TBR=darin Review URL: https://codereview.chromium.org/409163004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285362 0039d316-1c4b-4281-b951-d872f2087c98
* Add GN build for parts of gpu and ozone.brettw@chromium.org2014-05-151-0/+18
Moves existing ozone platform flag to new .gni file with all ozone flags in it. R=piman@chromium.org, rjkroege@chromium.org, spang@chromium.org Review URL: https://codereview.chromium.org/285103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270780 0039d316-1c4b-4281-b951-d872f2087c98