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/libsrtp",
63 "//third_party/libusb",
64 "//third_party/libwebm",
65 "//third_party/libwebp",
66 "//third_party/libxslt",
67 "//third_party/libyuv",
68 "//third_party/lzma_sdk",
72 "//third_party/protobuf:protobuf_lite",
75 "//third_party/smhasher:cityhash",
76 "//third_party/smhasher:murmurhash3",
77 "//third_party/smhasher:pmurhash",
78 "//third_party/snappy",
79 "//third_party/speex",
80 "//third_party/widevine/cdm:version_h",
97 "//webkit/browser:storage",
102 deps += [ "//breakpad:symupload" ]
108 "//third_party/fontconfig",
109 "//third_party/freetype2",
119 if (is_win || is_mac || is_chromeos) {
120 # RLZ works on these platforms.
126 if (cpu_arch == "x86" || cpu_arch == "x64") {
127 # YASM is x86/x64 only.
128 deps += [ "//third_party/yasm($host_toolchain)" ]
134 "//chrome/browser/devtools", # Blocked on content.
135 "//chrome/browser/ui/views", # Blocked on content.
136 "//chrome/common", # Blocked on content.
137 "//chrome/plugin", # Blocked on content.
138 "//chrome/renderer", # Blocked on content.
139 "//chrome/utility", # Blocked on content.
141 "//extensions/common/api:extensions_api",
142 "//pdf", # Not compiled on Android in GYP yet, either.
145 "//third_party/libusb",
147 # Seems to not be compiled on Android. Otherwise it will need a config.h.
148 "//third_party/libxslt",
153 # Fails on Android for unknown reasons.
154 "//third_party/flac",
155 "//breakpad:symupload",
157 # TODO(brettw) make Blink work on Android.
158 "//third_party/WebKit/public:all_blink",
160 # Not tested on Android yet:
161 "//third_party/ffmpeg",
162 "//webkit/browser:storage",
169 "//ui/events/ozone:events_ozone",
170 "//ui/events/ozone:events_ozone_evdev",