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 |
| 11 import("//build/config/features.gni") |
11 import("//build/config/ui.gni") | 12 import("//build/config/ui.gni") |
12 if (is_android) { | 13 if (is_android) { |
13 import("//build/config/android/config.gni") | 14 import("//build/config/android/config.gni") |
14 } | 15 } |
15 | 16 |
16 declare_args() { | 17 declare_args() { |
17 # A list of extra dependencies to add to the root target. This allows a | 18 # A list of extra dependencies to add to the root target. This allows a |
18 # checkout to add additional targets without explicitly changing any checked- | 19 # checkout to add additional targets without explicitly changing any checked- |
19 # in files. | 20 # in files. |
20 root_extra_deps = [] | 21 root_extra_deps = [] |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 "//skia", | 77 "//skia", |
77 "//storage/browser", | 78 "//storage/browser", |
78 "//sql", | 79 "//sql", |
79 "//sync", | 80 "//sync", |
80 "//third_party/WebKit/public:all_blink", | 81 "//third_party/WebKit/public:all_blink", |
81 "//third_party/angle:translator", | 82 "//third_party/angle:translator", |
82 "//third_party/brotli", | 83 "//third_party/brotli", |
83 "//third_party/cacheinvalidation", | 84 "//third_party/cacheinvalidation", |
84 "//third_party/cld", | 85 "//third_party/cld", |
85 "//third_party/cld_2", | 86 "//third_party/cld_2", |
| 87 "//third_party/codesighs", |
86 "//third_party/ffmpeg", | 88 "//third_party/ffmpeg", |
87 "//third_party/flac", | 89 "//third_party/flac", |
88 "//third_party/harfbuzz-ng", | 90 "//third_party/harfbuzz-ng", |
89 "//third_party/hunspell", | 91 "//third_party/hunspell", |
90 "//third_party/iccjpeg", | 92 "//third_party/iccjpeg", |
91 "//third_party/icu", | 93 "//third_party/icu", |
92 "//third_party/leveldatabase", | 94 "//third_party/leveldatabase", |
93 "//third_party/libphonenumber", | 95 "//third_party/libphonenumber", |
94 "//third_party/libjingle", | 96 "//third_party/libjingle", |
95 "//third_party/libpng", | 97 "//third_party/libpng", |
(...skipping 15 matching lines...) Expand all Loading... |
111 "//third_party/smhasher:pmurhash", | 113 "//third_party/smhasher:pmurhash", |
112 "//third_party/snappy", | 114 "//third_party/snappy", |
113 "//third_party/speex", | 115 "//third_party/speex", |
114 "//third_party/usrsctp", | 116 "//third_party/usrsctp", |
115 "//third_party/widevine/cdm:version_h", | 117 "//third_party/widevine/cdm:version_h", |
116 "//third_party/webrtc", | 118 "//third_party/webrtc", |
117 "//third_party/zlib", | 119 "//third_party/zlib", |
118 "//third_party:jpeg", | 120 "//third_party:jpeg", |
119 "//tools/gn", | 121 "//tools/gn", |
120 "//tools/imagediff($host_toolchain)", | 122 "//tools/imagediff($host_toolchain)", |
| 123 "//tools/telemetry:bitmaptools", |
121 "//ui/accessibility", | 124 "//ui/accessibility", |
122 "//ui/app_list", | 125 "//ui/app_list", |
123 "//ui/aura", | 126 "//ui/aura", |
124 "//ui/base", | 127 "//ui/base", |
125 "//ui/display", | 128 "//ui/display", |
126 "//ui/events", | 129 "//ui/events", |
127 "//ui/gfx", | 130 "//ui/gfx", |
128 "//ui/gl", | 131 "//ui/gl", |
129 "//ui/keyboard", | 132 "//ui/keyboard", |
130 "//ui/native_theme", | 133 "//ui/native_theme", |
131 "//ui/resources", | 134 "//ui/resources", |
132 "//ui/snapshot", | 135 "//ui/snapshot", |
133 "//ui/strings", | 136 "//ui/strings", |
134 "//ui/surface", | 137 "//ui/surface", |
135 "//ui/touch_selection", | 138 "//ui/touch_selection", |
136 "//ui/views", | 139 "//ui/views", |
137 "//ui/views/controls/webview", | 140 "//ui/views/controls/webview", |
138 "//ui/web_dialogs", | 141 "//ui/web_dialogs", |
139 "//url", | 142 "//url", |
140 "//v8:v8", | 143 "//v8:v8", |
141 ] | 144 ] |
142 deps += root_extra_deps | 145 deps += root_extra_deps |
143 | 146 |
| 147 if (enable_extensions) { |
| 148 deps += [ "//extensions/shell:app_shell_unittests" ] |
| 149 } |
| 150 |
144 if (!is_win) { | 151 if (!is_win) { |
145 deps += [ "//breakpad:symupload" ] | 152 deps += [ "//breakpad:symupload" ] |
146 } | 153 } |
147 | 154 |
148 if (is_linux) { | 155 if (is_linux) { |
149 deps += [ | 156 deps += [ |
150 "//dbus", | 157 "//dbus", |
151 "//third_party/fontconfig", | 158 "//third_party/fontconfig", |
152 "//third_party/freetype2", | 159 "//third_party/freetype2", |
153 ] | 160 ] |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 "//ui/views", | 303 "//ui/views", |
297 "//ui/views/controls/webview", | 304 "//ui/views/controls/webview", |
298 "//ui/web_dialogs", | 305 "//ui/web_dialogs", |
299 ] | 306 ] |
300 } | 307 } |
301 | 308 |
302 if (is_mac || is_ios) { | 309 if (is_mac || is_ios) { |
303 deps -= [ "//ui/touch_selection" ] | 310 deps -= [ "//ui/touch_selection" ] |
304 } | 311 } |
305 } | 312 } |
OLD | NEW |