Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: BUILD.gn

Issue 287233002: Start work on GN build for content/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/gypi_to_gn.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # In GN, a "group" is a dummy target that just lists other targets. 11 # In GN, a "group" is a dummy target that just lists other targets.
12 group("root") { 12 group("root") {
13 # Note that some dependencies are commented out. These are things that are 13 # Note that some dependencies are commented out. These are things that are
14 # currently written but not hooked up to the build yet. They may need to be 14 # currently written but not hooked up to the build yet. They may need to be
15 # completed or possibly just tested and then re-enabled. 15 # completed or possibly just tested and then re-enabled.
16 deps = [ 16 deps = [
17 # This is a temporary test of the not-yet-complete NaCl cross-compilation. 17 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
18 #"//base(//build/toolchain/nacl:x86_newlib)", 18 #"//base(//build/toolchain/nacl:x86_newlib)",
19 19
20 "//apps/common/api:apps_api", 20 "//apps/common/api:apps_api",
21 #"//chrome", 21 #"//chrome",
22 "//components/language_usage_metrics", 22 "//components/language_usage_metrics",
23 "//components/metrics", 23 "//components/metrics",
24 "//components/navigation_metrics", 24 "//components/navigation_metrics",
25 "//components/onc", 25 "//components/onc",
26 "//components/os_crypt", 26 "//components/os_crypt",
27 "//components/startup_metric_utils", 27 "//components/startup_metric_utils",
28 "//components/resources:components_resources", 28 "//components/resources:components_resources",
29 "//components/tracing",
29 "//components/translate:translate_core_browser", 30 "//components/translate:translate_core_browser",
30 "//components/translate:translate_core_common", 31 "//components/translate:translate_core_common",
31 "//components/url_matcher", 32 "//components/url_matcher",
32 "//crypto", 33 "//crypto",
33 "//device/usb", 34 "//device/usb",
34 #"//extensions/common/api:extensions_api", 35 #"//extensions/common/api:extensions_api",
35 "//gpu/command_buffer/client", 36 "//gpu/command_buffer/client",
36 "//ipc", 37 "//ipc",
37 "//mojo", 38 "//mojo",
38 "//net", 39 "//net",
(...skipping 13 matching lines...) Expand all
52 "//third_party/smhasher:cityhash", 53 "//third_party/smhasher:cityhash",
53 "//third_party/smhasher:murmurhash3", 54 "//third_party/smhasher:murmurhash3",
54 "//third_party/smhasher:pmurhash", 55 "//third_party/smhasher:pmurhash",
55 # TODO(brettw) re-enable once the unused variables in this .gn file are 56 # TODO(brettw) re-enable once the unused variables in this .gn file are
56 # fixed and rolled into Chrome. 57 # fixed and rolled into Chrome.
57 #"//third_party/WebKit/Source/platform", 58 #"//third_party/WebKit/Source/platform",
58 "//third_party/WebKit/Source/wtf", 59 "//third_party/WebKit/Source/wtf",
59 "//third_party/zlib", 60 "//third_party/zlib",
60 "//third_party:jpeg", 61 "//third_party:jpeg",
61 "//tools/gn", 62 "//tools/gn",
63 "//ui/accessibility",
62 "//ui/base:ui_base", 64 "//ui/base:ui_base",
63 "//ui/events", 65 "//ui/events",
64 "//ui/gfx", 66 "//ui/gfx",
65 "//ui/resources", 67 "//ui/resources",
66 "//ui/strings", 68 "//ui/strings",
67 "//ui/surface", 69 "//ui/surface",
68 "//url", 70 "//url",
69 ] 71 ]
70 72
71 if (is_linux) { 73 if (is_linux) {
72 deps += [ 74 deps += [
73 "//third_party/freetype2", 75 "//third_party/freetype2",
74 ] 76 ]
75 } 77 }
76 78
77 if (is_android) { 79 if (is_android) {
78 deps -= [ 80 deps -= [
79 "//components/os_crypt", 81 "//components/os_crypt",
80 "//crypto", 82 "//crypto",
81 "//gpu/command_buffer/client", # Needs Skia. 83 "//gpu/command_buffer/client", # Needs Skia.
82 "//net", 84 "//net",
83 "//third_party/libusb", 85 "//third_party/libusb",
84 #"//third_party/WebKit/Source/platform", 86 #"//third_party/WebKit/Source/platform",
85 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. 87 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android.
86 "//tools/gn", 88 "//tools/gn",
89
90 # This UI stuff is blocked on Skia.
91 "//ui/accessibility",
87 "//ui/base:ui_base", 92 "//ui/base:ui_base",
88 "//ui/events", 93 "//ui/events",
89 "//ui/gfx", 94 "//ui/gfx",
90 "//ui/surface", # TODO(brettw): Skia does not build on Android yet. 95 "//ui/surface",
91 # Re-enable this when skia is fixed.
92 ] 96 ]
93 } 97 }
94 } 98 }
OLDNEW
« no previous file with comments | « no previous file | build/gypi_to_gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698