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

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

Issue 137993014: Fix Windows GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/config/BUILDCONFIG.gn » ('j') | build/config/BUILDCONFIG.gn » ('J')
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 config("my_msvs") { 5 config("my_msvs") {
6 defines = [ 6 defines = [
7 "CHROMIUM_BUILD", 7 "CHROMIUM_BUILD",
8 "TOOLKIT_VIEWS=1", 8 "TOOLKIT_VIEWS=1",
9 "USE_LIBJPEG_TURBO=1", 9 "USE_LIBJPEG_TURBO=1",
10 "ENABLE_ONE_CLICK_SIGNIN", 10 "ENABLE_ONE_CLICK_SIGNIN",
(...skipping 13 matching lines...) Expand all
24 "ENABLE_BACKGROUND=1", 24 "ENABLE_BACKGROUND=1",
25 "ENABLE_AUTOMATION=1", 25 "ENABLE_AUTOMATION=1",
26 "ENABLE_GOOGLE_NOW=1", 26 "ENABLE_GOOGLE_NOW=1",
27 "ENABLE_PRINTING=1", 27 "ENABLE_PRINTING=1",
28 "ENABLE_CAPTIVE_PORTAL_DETECTION=1", 28 "ENABLE_CAPTIVE_PORTAL_DETECTION=1",
29 "ENABLE_APP_LIST=1", 29 "ENABLE_APP_LIST=1",
30 "ENABLE_MESSAGE_CENTER=1", 30 "ENABLE_MESSAGE_CENTER=1",
31 "ENABLE_SETTINGS_APP=1", 31 "ENABLE_SETTINGS_APP=1",
32 "ENABLE_MANAGED_USERS=1", 32 "ENABLE_MANAGED_USERS=1",
33 ] 33 ]
34
35 if (use_aura) {
36 defines += [ "USE_AURA=1" ]
37 }
34 } 38 }
35 39
36 config("feature_flags") { 40 config("feature_flags") {
37 #defines = 41 #defines =
38 } 42 }
39 43
40 config("debug") { 44 config("debug") {
41 defines = [ 45 defines = [
42 "_DEBUG", 46 "_DEBUG",
43 "DYNAMIC_ANNOTATIONS_ENABLED=1", 47 "DYNAMIC_ANNOTATIONS_ENABLED=1",
44 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 48 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
45 ] 49 ]
46 50
47 if (is_linux && !is_android && cpu_arch == "x64") { 51 if (is_linux && !is_android && cpu_arch == "x64") {
48 # Enable libstdc++ debugging facilities to help catch problems early, see 52 # Enable libstdc++ debugging facilities to help catch problems early, see
49 # http://crbug.com/65151 . 53 # http://crbug.com/65151 .
50 # TODO(phajdan.jr): Should we enable this for all of POSIX? 54 # TODO(phajdan.jr): Should we enable this for all of POSIX?
51 defines += [ "_GLIBCXX_DEBUG=1" ] 55 defines += [ "_GLIBCXX_DEBUG=1" ]
52 } 56 }
53 } 57 }
54 58
55 config("release") { 59 config("release") {
56 60
57 } 61 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILDCONFIG.gn » ('j') | build/config/BUILDCONFIG.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698