1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//ui/ozone/ozone.gni")
8 # The default platform for Ozone.
9 ozone_platform = "test"
12 platform_list_file = "$target_gen_dir/ozone_platform_list.cc"
17 # common/chromeos files are excluded automatically when building with
18 # chromeos=0, by exclusion rules in filename_rules.gypi due to the
19 # "chromeos" folder name.
20 "common/chromeos/native_display_delegate_ozone.cc",
21 "common/chromeos/native_display_delegate_ozone.h",
28 defines = [ "OZONE_IMPLEMENTATION" ]
31 ":generate_ozone_platform_list",
42 # TODO(GYP) implement the ozone platforms. This should check the various
43 # ozone_platform_*flags, and add deps and add to the ozone_platforms list for
47 action("generate_ozone_platform_list") {
48 script = "generate_ozone_platform_list.py"
49 outputs = [ platform_list_file ]
52 "--output_file=" + rebase_path(platform_list_file, root_build_dir),
53 "--default=$ozone_platform",