| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 config("feature_flags") { | 58 config("feature_flags") { |
| 59 # Don't use deprecated V8 APIs anywhere. | 59 # Don't use deprecated V8 APIs anywhere. |
| 60 defines = [ "V8_DEPRECATION_WARNINGS" ] | 60 defines = [ "V8_DEPRECATION_WARNINGS" ] |
| 61 if (dcheck_always_on) { | 61 if (dcheck_always_on) { |
| 62 defines += [ "DCHECK_ALWAYS_ON=1" ] | 62 defines += [ "DCHECK_ALWAYS_ON=1" ] |
| 63 } | 63 } |
| 64 if (use_udev) { | 64 if (use_udev) { |
| 65 # TODO(brettw) should probably be "=1". | 65 # TODO(brettw) should probably be "=1". |
| 66 defines += [ "USE_UDEV" ] | 66 defines += [ "USE_UDEV" ] |
| 67 } | 67 } |
| 68 if (ui_compositor_image_transport) { | |
| 69 # TODO(brettw) should probably be "=1". | |
| 70 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] | |
| 71 } | |
| 72 if (use_ash) { | 68 if (use_ash) { |
| 73 defines += [ "USE_ASH=1" ] | 69 defines += [ "USE_ASH=1" ] |
| 74 } | 70 } |
| 75 if (use_aura) { | 71 if (use_aura) { |
| 76 defines += [ "USE_AURA=1" ] | 72 defines += [ "USE_AURA=1" ] |
| 77 } | 73 } |
| 78 if (use_pango) { | 74 if (use_pango) { |
| 79 defines += [ "USE_PANGO=1" ] | 75 defines += [ "USE_PANGO=1" ] |
| 80 } | 76 } |
| 81 if (use_cairo) { | 77 if (use_cairo) { |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 # | 386 # |
| 391 # TODO(sof): determine VS2015 status and retire the setting from all | 387 # TODO(sof): determine VS2015 status and retire the setting from all |
| 392 # precompiled configurations. | 388 # precompiled configurations. |
| 393 cflags_c = [ "/wd4206" ] | 389 cflags_c = [ "/wd4206" ] |
| 394 } else if (is_mac) { | 390 } else if (is_mac) { |
| 395 precompiled_header = "build/precompile.h" | 391 precompiled_header = "build/precompile.h" |
| 396 precompiled_source = "//build/precompile.h" | 392 precompiled_source = "//build/precompile.h" |
| 397 } | 393 } |
| 398 } | 394 } |
| 399 } | 395 } |
| OLD | NEW |