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

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

Issue 306113002: Add GN buildfiles for ui/compositor and snapshot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no android Created 6 years, 6 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/native_theme/BUILD.gn ('k') | ui/snapshot/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 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 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 import("//ui/ozone/ozone.gni") 5 import("//ui/ozone/ozone.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # The default platform for Ozone. 8 # The default platform for Ozone.
9 ozone_platform = "test" 9 ozone_platform = "test"
10 } 10 }
(...skipping 13 matching lines...) Expand all
24 "ozone_switches.cc", 24 "ozone_switches.cc",
25 "ozone_switches.h", 25 "ozone_switches.h",
26 ] 26 ]
27 27
28 defines = [ "OZONE_IMPLEMENTATION" ] 28 defines = [ "OZONE_IMPLEMENTATION" ]
29 29
30 deps = [ 30 deps = [
31 ":generate_ozone_platform_list", 31 ":generate_ozone_platform_list",
32 "//base", 32 "//base",
33 "//skia", 33 "//skia",
34 "//ui/base:ui_base", 34 "//ui/base",
35 "//ui/events", 35 "//ui/events",
36 "//ui/gfx", 36 "//ui/gfx",
37 "//ui/gfx/geometry", 37 "//ui/gfx/geometry",
38 "//ui/gfx/ozone", 38 "//ui/gfx/ozone",
39 ] 39 ]
40 } 40 }
41 41
42 # TODO(GYP) implement the ozone platforms. This should check the various 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 43 # ozone_platform_*flags, and add deps and add to the ozone_platforms list for
44 # the script below. 44 # the script below.
45 ozone_platforms = "" 45 ozone_platforms = ""
46 46
47 action("generate_ozone_platform_list") { 47 action("generate_ozone_platform_list") {
48 script = "generate_ozone_platform_list.py" 48 script = "generate_ozone_platform_list.py"
49 outputs = [ platform_list_file ] 49 outputs = [ platform_list_file ]
50 50
51 args = [ 51 args = [
52 "--output_file=" + rebase_path(platform_list_file, root_build_dir), 52 "--output_file=" + rebase_path(platform_list_file, root_build_dir),
53 "--default=$ozone_platform", 53 "--default=$ozone_platform",
54 ozone_platforms, 54 ozone_platforms,
55 ] 55 ]
56 } 56 }
OLDNEW
« no previous file with comments | « ui/native_theme/BUILD.gn ('k') | ui/snapshot/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698