OLD | NEW |
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 # fixed and rolled into Chrome. | 62 # fixed and rolled into Chrome. |
63 #"//third_party/WebKit/Source/platform", | 63 #"//third_party/WebKit/Source/platform", |
64 "//third_party/WebKit/Source/wtf", | 64 "//third_party/WebKit/Source/wtf", |
65 "//third_party/zlib", | 65 "//third_party/zlib", |
66 "//third_party:jpeg", | 66 "//third_party:jpeg", |
67 "//tools/gn", | 67 "//tools/gn", |
68 "//ui/accessibility", | 68 "//ui/accessibility", |
69 "//ui/base:ui_base", | 69 "//ui/base:ui_base", |
70 "//ui/events", | 70 "//ui/events", |
71 "//ui/gfx", | 71 "//ui/gfx", |
| 72 "//ui/gl", |
72 "//ui/resources", | 73 "//ui/resources", |
73 "//ui/strings", | 74 "//ui/strings", |
74 "//ui/surface", | 75 "//ui/surface", |
75 "//url", | 76 "//url", |
76 "//v8:mksnapshot", | 77 "//v8:mksnapshot", |
77 ] | 78 ] |
78 | 79 |
79 if (is_linux) { | 80 if (is_linux) { |
80 deps += [ | 81 deps += [ |
81 "//third_party/freetype2", | 82 "//third_party/freetype2", |
82 ] | 83 ] |
83 } | 84 } |
84 | 85 |
85 if (is_android) { | 86 if (is_android) { |
86 deps -= [ | 87 deps -= [ |
87 "//content/public/common", | 88 "//content/public/common", |
88 "//gpu/command_buffer/client", # Needs some JNI stuff: | |
89 "//gpu/command_buffer/service", | |
90 "//net", | |
91 "//third_party/libusb", | 89 "//third_party/libusb", |
92 #"//third_party/WebKit/Source/platform", | 90 #"//third_party/WebKit/Source/platform", |
93 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. | 91 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
94 "//tools/gn", | 92 "//tools/gn", |
95 | 93 |
96 # ui_base doesn't work yet, and neither do things that depend on it. | 94 # This stuff all depends on ui/surface which requires some .class jni |
97 "//ui/base:ui_base", | 95 # generators (ui/gl/gl.gyp:surface_jni_headers). |
98 "//ui/events", | 96 "//ui/gl", |
| 97 "//gpu/command_buffer/client", |
| 98 "//gpu/command_buffer/service", |
99 "//ui/surface", | 99 "//ui/surface", |
100 ] | 100 ] |
101 } | 101 } |
102 } | 102 } |
OLD | NEW |