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

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

Issue 381463002: Add chrome/browser/ui to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add %$&*ing missing comma 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
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 13 matching lines...) Expand all
24 # flags, we should have more modular flags that apply only to a target and its 24 # flags, we should have more modular flags that apply only to a target and its
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",
35 "ENABLE_NOTIFICATIONS", 34 "ENABLE_NOTIFICATIONS",
36 "ENABLE_EGLIMAGE=1", 35 "ENABLE_EGLIMAGE=1",
37 "ENABLE_BACKGROUND=1", 36 "ENABLE_BACKGROUND=1",
38 "USE_MOJO=1", 37 "USE_MOJO=1",
39 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. 38 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
40 # Temporary suppression until Blink code can be removed. 39 # Temporary suppression until Blink code can be removed.
41 "BLINK_SCALE_FILTERS_AT_RECORD_TIME", 40 "BLINK_SCALE_FILTERS_AT_RECORD_TIME",
42 ] 41 ]
43 42
44 if (cld_version > 0) { 43 if (cld_version > 0) {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 173 }
175 if (enable_image_loader_extension) { 174 if (enable_image_loader_extension) {
176 defines += [ "IMAGE_LOADER_EXTENSION=1" ] 175 defines += [ "IMAGE_LOADER_EXTENSION=1" ]
177 } 176 }
178 if (enable_remoting) { 177 if (enable_remoting) {
179 defines += [ "ENABLE_REMOTING=1" ] 178 defines += [ "ENABLE_REMOTING=1" ]
180 } 179 }
181 if (enable_google_now) { 180 if (enable_google_now) {
182 defines += [ "ENABLE_GOOGLE_NOW=1" ] 181 defines += [ "ENABLE_GOOGLE_NOW=1" ]
183 } 182 }
183 if (enable_one_click_signin) {
184 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ]
185 }
184 } 186 }
185 187
186 # Debug/release ---------------------------------------------------------------- 188 # Debug/release ----------------------------------------------------------------
187 189
188 config("debug") { 190 config("debug") {
189 defines = [ 191 defines = [
190 "_DEBUG", 192 "_DEBUG",
191 "DYNAMIC_ANNOTATIONS_ENABLED=1", 193 "DYNAMIC_ANNOTATIONS_ENABLED=1",
192 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 194 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
193 ] 195 ]
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 "CoreText.framework", 279 "CoreText.framework",
278 "Foundation.framework", 280 "Foundation.framework",
279 "UIKit.framework", 281 "UIKit.framework",
280 ] 282 ]
281 } else if (is_linux) { 283 } else if (is_linux) {
282 libs = [ 284 libs = [
283 "dl", 285 "dl",
284 ] 286 ]
285 } 287 }
286 } 288 }
OLDNEW
« no previous file with comments | « ash/strings/BUILD.gn ('k') | build/config/features.gni » ('j') | ui/resources/ui_resources.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698