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

Side by Side Diff: ui/ozone/BUILD.gn

Issue 285103002: Add GN build for parts of gpu and ozone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « ui/gl/BUILD.gn ('k') | 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
(Empty)
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.
4
5 import("//ui/ozone/ozone.gni")
6
7 declare_args() {
8 # The default platform for Ozone.
9 ozone_platform = "test"
10 }
11
12 platform_list_file = "$target_gen_dir/ozone_platform_list.cc"
13
14 component("ozone") {
15 sources = [
16 platform_list_file,
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",
rjkroege 2014/05/15 16:08:54 so is nddOZ included when chromeos=0? (I can't rem
21 "common/chromeos/native_display_delegate_ozone.h",
22 "ime/fake_input_method_context_ozone.cc",
23 "ime/fake_input_method_context_ozone.h",
24 "ime/input_method_context_factory_ozone.cc",
25 "ime/input_method_context_factory_ozone.h",
26 "ozone_platform.cc",
27 "ozone_platform.h",
28 "ozone_switches.cc",
29 "ozone_switches.h",
30 ]
31
32 defines = [ "OZONE_IMPLEMENTATION" ]
33
34 deps = [
35 ":generate_ozone_platform_list",
36 "//base",
37 "//skia",
38 "//ui/base:ui_base",
39 "//ui/events",
40 "//ui/gfx",
41 "//ui/gfx/geometry",
42 "//ui/gfx/ozone",
43 ]
44 }
45
46 # TODO(GYP) implement the ozone platforms. This should check the various
47 # ozone_platform_*flags, and add deps and add to the ozone_platforms list for
48 # the script below.
49 ozone_platforms = ""
50
51 action("generate_ozone_platform_list") {
52 script = "generate_ozone_platform_list.py"
53 outputs = [ platform_list_file ]
54
55 args = [
56 "--output_file=" + rebase_path(platform_list_file, root_build_dir),
57 "--default=$ozone_platform",
58 ozone_platforms,
59 ]
60 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698