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

Side by Side Diff: build/config/BUILD.gn

Issue 365793002: Add lots of GN targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « BUILD.gn ('k') | build/config/features.gni » ('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 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 9
10 declare_args() { 10 declare_args() {
(...skipping 14 matching lines...) Expand all
25 # dependents. For example, depending on the "x11" meta-target should define 25 # dependents. For example, depending on the "x11" meta-target should define
26 # USE_X11 for all dependents so that everything that could use X11 gets the 26 # USE_X11 for all dependents so that everything that could use X11 gets the
27 # define, but anything that doesn't depend on X11 doesn't see it. 27 # define, but anything that doesn't depend on X11 doesn't see it.
28 # 28 #
29 # For now we define these globally to match the current GYP build. 29 # For now we define these globally to match the current GYP build.
30 config("feature_flags") { 30 config("feature_flags") {
31 # TODO(brettw) most of these need to be parameterized. 31 # TODO(brettw) most of these need to be parameterized.
32 defines = [ 32 defines = [
33 "CHROMIUM_BUILD", 33 "CHROMIUM_BUILD",
34 "ENABLE_ONE_CLICK_SIGNIN", 34 "ENABLE_ONE_CLICK_SIGNIN",
35 "ENABLE_REMOTING=1",
36 "ENABLE_NOTIFICATIONS", 35 "ENABLE_NOTIFICATIONS",
37 "ENABLE_EGLIMAGE=1", 36 "ENABLE_EGLIMAGE=1",
38 "ENABLE_BACKGROUND=1", 37 "ENABLE_BACKGROUND=1",
39 "ENABLE_GOOGLE_NOW=1",
40 "ENABLE_SETTINGS_APP=1",
41 "USE_MOJO=1", 38 "USE_MOJO=1",
42 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. 39 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
43 # Temporary suppression until Blink code can be removed. 40 # Temporary suppression until Blink code can be removed.
44 "BLINK_SCALE_FILTERS_AT_RECORD_TIME", 41 "BLINK_SCALE_FILTERS_AT_RECORD_TIME",
45 ] 42 ]
46 43
47 if (cld_version > 0) { 44 if (cld_version > 0) {
48 defines += [ "CLD_VERSION=$cld_version" ] 45 defines += [ "CLD_VERSION=$cld_version" ]
49 } 46 }
50 if (enable_mdns) { 47 if (enable_mdns) {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 150 }
154 if (enable_rlz) { 151 if (enable_rlz) {
155 defines += [ "ENABLE_RLZ" ] 152 defines += [ "ENABLE_RLZ" ]
156 } 153 }
157 if (enable_plugin_installation) { 154 if (enable_plugin_installation) {
158 defines += [ "ENABLE_PLUGIN_INSTALLATION=1" ] 155 defines += [ "ENABLE_PLUGIN_INSTALLATION=1" ]
159 } 156 }
160 if (enable_app_list) { 157 if (enable_app_list) {
161 defines += [ "ENABLE_APP_LIST=1" ] 158 defines += [ "ENABLE_APP_LIST=1" ]
162 } 159 }
160 if (enable_settings_app) {
161 defines += [ "ENABLE_SETTINGS_APP=1" ]
162 }
163 if (enable_managed_users) { 163 if (enable_managed_users) {
164 defines += [ "ENABLE_MANAGED_USERS=1" ] 164 defines += [ "ENABLE_MANAGED_USERS=1" ]
165 } 165 }
166 if (enable_service_discovery) { 166 if (enable_service_discovery) {
167 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ] 167 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ]
168 } 168 }
169 if (enable_autofill_dialog) { 169 if (enable_autofill_dialog) {
170 defines += [ "ENABLE_AUTOFILL_DIALOG=1" ] 170 defines += [ "ENABLE_AUTOFILL_DIALOG=1" ]
171 } 171 }
172 if (enable_wifi_bootstrapping) { 172 if (enable_wifi_bootstrapping) {
173 defines += [ "ENABLE_WIFI_BOOTSTRAPPING=1" ] 173 defines += [ "ENABLE_WIFI_BOOTSTRAPPING=1" ]
174 } 174 }
175 if (enable_image_loader_extension) {
176 defines += [ "IMAGE_LOADER_EXTENSION=1" ]
177 }
178 if (enable_remoting) {
179 defines += [ "ENABLE_REMOTING=1" ]
180 }
181 if (enable_google_now) {
182 defines += [ "ENABLE_GOOGLE_NOW=1" ]
183 }
175 } 184 }
176 185
177 # Debug/release ---------------------------------------------------------------- 186 # Debug/release ----------------------------------------------------------------
178 187
179 config("debug") { 188 config("debug") {
180 defines = [ 189 defines = [
181 "_DEBUG", 190 "_DEBUG",
182 "DYNAMIC_ANNOTATIONS_ENABLED=1", 191 "DYNAMIC_ANNOTATIONS_ENABLED=1",
183 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 192 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
184 ] 193 ]
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 "CoreText.framework", 277 "CoreText.framework",
269 "Foundation.framework", 278 "Foundation.framework",
270 "UIKit.framework", 279 "UIKit.framework",
271 ] 280 ]
272 } else if (is_linux) { 281 } else if (is_linux) {
273 libs = [ 282 libs = [
274 "dl", 283 "dl",
275 ] 284 ]
276 } 285 }
277 } 286 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698