OLD | NEW |
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/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 } | 132 } |
133 if (use_external_popup_menu) { | 133 if (use_external_popup_menu) { |
134 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ] | 134 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ] |
135 } | 135 } |
136 if (!enable_nacl) { | 136 if (!enable_nacl) { |
137 defines += [ "DISABLE_NACL" ] | 137 defines += [ "DISABLE_NACL" ] |
138 } | 138 } |
139 if (enable_wayland_server) { | 139 if (enable_wayland_server) { |
140 defines += [ "ENABLE_WAYLAND_SERVER=1" ] | 140 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
141 } | 141 } |
142 if (proprietary_codecs) { | |
143 defines += [ "USE_PROPRIETARY_CODECS" ] | |
144 } | |
145 if (safe_browsing_mode == 1) { | 142 if (safe_browsing_mode == 1) { |
146 defines += [ "FULL_SAFE_BROWSING" ] | 143 defines += [ "FULL_SAFE_BROWSING" ] |
147 defines += [ "SAFE_BROWSING_CSD" ] | 144 defines += [ "SAFE_BROWSING_CSD" ] |
148 defines += [ "SAFE_BROWSING_DB_LOCAL" ] | 145 defines += [ "SAFE_BROWSING_DB_LOCAL" ] |
149 } else if (safe_browsing_mode == 2) { | 146 } else if (safe_browsing_mode == 2) { |
150 defines += [ "SAFE_BROWSING_DB_REMOTE" ] | 147 defines += [ "SAFE_BROWSING_DB_REMOTE" ] |
151 } | 148 } |
152 if (is_official_build) { | 149 if (is_official_build) { |
153 defines += [ "OFFICIAL_BUILD" ] | 150 defines += [ "OFFICIAL_BUILD" ] |
154 } | 151 } |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 # | 393 # |
397 # TODO(sof): determine VS2015 status and retire the setting from all | 394 # TODO(sof): determine VS2015 status and retire the setting from all |
398 # precompiled configurations. | 395 # precompiled configurations. |
399 cflags_c = [ "/wd4206" ] | 396 cflags_c = [ "/wd4206" ] |
400 } else if (is_mac) { | 397 } else if (is_mac) { |
401 precompiled_header = "build/precompile.h" | 398 precompiled_header = "build/precompile.h" |
402 precompiled_source = "//build/precompile.h" | 399 precompiled_source = "//build/precompile.h" |
403 } | 400 } |
404 } | 401 } |
405 } | 402 } |
OLD | NEW |