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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 "//third_party/freetype2", | 96 "//third_party/freetype2", |
97 ] | 97 ] |
98 } | 98 } |
99 | 99 |
100 if (is_win) { | 100 if (is_win) { |
101 deps += [ | 101 deps += [ |
102 "//ui/metro_viewer", | 102 "//ui/metro_viewer", |
103 ] | 103 ] |
104 } | 104 } |
105 | 105 |
| 106 if (is_win || is_mac || is_chromeos) { |
| 107 # RLZ works on these platforms. |
| 108 deps += [ |
| 109 "//rlz:rlz_lib", |
| 110 ] |
| 111 } |
| 112 |
106 if (is_android) { | 113 if (is_android) { |
107 deps -= [ | 114 deps -= [ |
108 "//cc", | 115 "//cc", |
109 "//content/public/common", | 116 "//content/public/common", |
110 "//content/public/renderer", | 117 "//content/public/renderer", |
111 "//ppapi:ppapi_c", | 118 "//ppapi:ppapi_c", |
112 "//third_party/libusb", | 119 "//third_party/libusb", |
113 #"//third_party/WebKit/Source/platform", | 120 #"//third_party/WebKit/Source/platform", |
114 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. | 121 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
115 "//tools/gn", | 122 "//tools/gn", |
116 | 123 |
117 # Not tested on Android yet: | 124 # Not tested on Android yet: |
118 "//webkit/browser:storage", | 125 "//webkit/browser:storage", |
119 "//webkit/child", | 126 "//webkit/child", |
120 | 127 |
121 # This stuff all depends on ui/surface which requires some .class jni | 128 # This stuff all depends on ui/surface which requires some .class jni |
122 # generators (ui/gl/gl.gyp:surface_jni_headers). | 129 # generators (ui/gl/gl.gyp:surface_jni_headers). |
123 "//ui/gl", | 130 "//ui/gl", |
124 "//gpu", | 131 "//gpu", |
125 "//ui/snapshot", | 132 "//ui/snapshot", |
126 "//ui/surface", | 133 "//ui/surface", |
127 ] | 134 ] |
128 } | 135 } |
129 } | 136 } |
OLD | NEW |