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
3 # found in the LICENSE file.
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
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
9 # file to your new one or GN won't know about it.
11 import("//build/config/ui.gni")
13 # In GN, a "group" is a dummy target that just lists other targets.
15 # Note that some dependencies are commented out. These are things that are
16 # currently written but not hooked up to the build yet. They may need to be
17 # completed or possibly just tested and then re-enabled.
19 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
20 #"//base(//build/toolchain/nacl:x86_newlib)",
23 "//chrome/browser/devtools",
24 "//chrome/browser/ui/views",
29 "//components:all_components",
32 "//extensions/common/api:extensions_api",
40 "//mojo/environment:chromium",
41 "//mojo/service_manager",
51 "//third_party/WebKit/public:all_blink",
52 "//third_party/angle:translator",
53 "//third_party/brotli",
54 "//third_party/ffmpeg",
56 "//third_party/harfbuzz-ng",
57 "//third_party/hunspell",
58 "//third_party/iccjpeg",
60 "//third_party/leveldatabase",
61 "//third_party/libpng",
62 "//third_party/libusb",
63 "//third_party/libwebm",
64 "//third_party/libwebp",
65 "//third_party/libxslt",
66 "//third_party/libyuv",
67 "//third_party/lzma_sdk",
70 "//third_party/protobuf:protobuf_lite",
73 "//third_party/smhasher:cityhash",
74 "//third_party/smhasher:murmurhash3",
75 "//third_party/smhasher:pmurhash",
76 "//third_party/speex",
77 "//third_party/widevine/cdm:version_h",
94 "//webkit/browser:storage",
99 deps += [ "//breakpad:symupload" ]
105 "//third_party/fontconfig",
106 "//third_party/freetype2",
116 if (is_win || is_mac || is_chromeos) {
117 # RLZ works on these platforms.
123 if (cpu_arch == "x86" || cpu_arch == "x64") {
124 # YASM is x86/x64 only.
125 deps += [ "//third_party/yasm($host_toolchain)" ]
131 "//chrome/browser/devtools", # Blocked on content.
132 "//chrome/browser/ui/views", # Blocked on content.
133 "//chrome/common", # Blocked on content.
134 "//chrome/plugin", # Blocked on content.
135 "//chrome/renderer", # Blocked on content.
136 "//chrome/utility", # Blocked on content.
138 "//extensions/common/api:extensions_api",
139 "//pdf", # Not compiled on Android in GYP yet, either.
142 "//third_party/libusb",
144 # Seems to not be compiled on Android. Otherwise it will need a config.h.
145 "//third_party/libxslt",
150 # Fails on Android for unknown reasons.
151 "//third_party/flac",
152 "//breakpad:symupload",
154 # TODO(brettw) make Blink work on Android.
155 "//third_party/WebKit/public:all_blink",
157 # Not tested on Android yet:
158 "//third_party/ffmpeg",
159 "//webkit/browser:storage",
166 "//ui/events/ozone:events_ozone",
167 "//ui/events/ozone:events_ozone_evdev",