diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-15 19:39:14 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-15 19:39:14 +0000 |
commit | e2504c8bddb98698b98013acaba4724aaff72b56 (patch) | |
tree | 072942c8cdd2bc63a526902f7b108d01715adbf0 /ui/ozone/ozone.gni | |
parent | 89ded531c2f2aef5577c22a9267ead1a9035d722 (diff) | |
download | chromium_src-e2504c8bddb98698b98013acaba4724aaff72b56.zip chromium_src-e2504c8bddb98698b98013acaba4724aaff72b56.tar.gz chromium_src-e2504c8bddb98698b98013acaba4724aaff72b56.tar.bz2 |
Add GN build for parts of gpu and ozone.
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
Diffstat (limited to 'ui/ozone/ozone.gni')
-rw-r--r-- | ui/ozone/ozone.gni | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni new file mode 100644 index 0000000..a777f59 --- /dev/null +++ b/ui/ozone/ozone.gni @@ -0,0 +1,18 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/ui.gni") + +if (use_ozone) { + # Enable built-in ozone platforms if ozone is enabled. + ozone_platform_caca = false + ozone_platform_dri = true + ozone_platform_ozonex = false + ozone_platform_test = true +} else { + ozone_platform_caca = false + ozone_platform_dri = false + ozone_platform_ozonex = false + ozone_platform_test = false +} |