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

Side by Side Diff: BUILD.gn

Issue 282353002: Add GN build file for surface. (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 | « no previous file | ui/surface/BUILD.gn » ('j') | ui/surface/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "//third_party/smhasher:pmurhash", 54 "//third_party/smhasher:pmurhash",
55 "//third_party/WebKit/Source/wtf", 55 "//third_party/WebKit/Source/wtf",
56 "//third_party/zlib", 56 "//third_party/zlib",
57 "//third_party:jpeg", 57 "//third_party:jpeg",
58 "//tools/gn", 58 "//tools/gn",
59 "//ui/base:ui_base", 59 "//ui/base:ui_base",
60 "//ui/base/strings", 60 "//ui/base/strings",
61 "//ui/events", 61 "//ui/events",
62 "//ui/gfx", 62 "//ui/gfx",
63 "//ui/resources", 63 "//ui/resources",
64 "//ui/surface",
64 "//url", 65 "//url",
65 ] 66 ]
66 67
67 if (is_linux) { 68 if (is_linux) {
68 deps += [ 69 deps += [
69 "//third_party/freetype2", 70 "//third_party/freetype2",
70 ] 71 ]
71 } 72 }
72 73
73 if (is_android) { 74 if (is_android) {
74 deps -= [ 75 deps -= [
75 "//components/os_crypt", 76 "//components/os_crypt",
76 "//crypto", 77 "//crypto",
77 "//gpu:gles2_c_lib", # Needs Skia. 78 "//gpu:gles2_c_lib", # Needs Skia.
78 "//net", 79 "//net",
79 "//skia", # Needs some ARM stuff 80 "//skia", # Needs some ARM stuff
80 "//third_party/libusb", 81 "//third_party/libusb",
81 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. 82 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android.
82 "//tools/gn", 83 "//tools/gn",
83 "//ui/base:ui_base", 84 "//ui/base:ui_base",
84 "//ui/events", 85 "//ui/events",
85 "//ui/gfx", 86 "//ui/gfx",
87 "//ui/surface",
brettw 2014/05/16 16:57:04 Is this because it depends on Skia? Can you put a
tfarina 2014/05/16 21:24:24 Yes. It is because Android GN is targeting ARM and
86 ] 88 ]
87 } 89 }
88 } 90 }
OLDNEW
« no previous file with comments | « no previous file | ui/surface/BUILD.gn » ('j') | ui/surface/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698