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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 # build flags. | 61 # build flags. |
62 config("feature_flags") { | 62 config("feature_flags") { |
63 # Don't use deprecated V8 APIs anywhere. | 63 # Don't use deprecated V8 APIs anywhere. |
64 defines = [ "V8_DEPRECATION_WARNINGS" ] | 64 defines = [ "V8_DEPRECATION_WARNINGS" ] |
65 if (enable_mdns) { | 65 if (enable_mdns) { |
66 defines += [ "ENABLE_MDNS=1" ] | 66 defines += [ "ENABLE_MDNS=1" ] |
67 } | 67 } |
68 if (enable_notifications) { | 68 if (enable_notifications) { |
69 defines += [ "ENABLE_NOTIFICATIONS" ] | 69 defines += [ "ENABLE_NOTIFICATIONS" ] |
70 } | 70 } |
71 if (enable_pepper_cdms) { | |
72 # TODO(brettw) should probably be "=1" | |
73 defines += [ "ENABLE_PEPPER_CDMS" ] | |
74 } | |
75 if (enable_plugins) { | 71 if (enable_plugins) { |
76 defines += [ "ENABLE_PLUGINS=1" ] | 72 defines += [ "ENABLE_PLUGINS=1" ] |
77 } | 73 } |
78 if (enable_pdf) { | 74 if (enable_pdf) { |
79 defines += [ "ENABLE_PDF=1" ] | 75 defines += [ "ENABLE_PDF=1" ] |
80 } | 76 } |
81 if (enable_basic_printing || enable_print_preview) { | 77 if (enable_basic_printing || enable_print_preview) { |
82 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. | 78 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
83 defines += [ "ENABLE_PRINTING=1" ] | 79 defines += [ "ENABLE_PRINTING=1" ] |
84 if (enable_basic_printing) { | 80 if (enable_basic_printing) { |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 # file doesn't exist, no error will be generated (probably MS tested this | 476 # file doesn't exist, no error will be generated (probably MS tested this |
481 # case but forgot the other one?). To reproduce this error, do a build, | 477 # case but forgot the other one?). To reproduce this error, do a build, |
482 # then delete the precompile.c.obj file, then build again. | 478 # then delete the precompile.c.obj file, then build again. |
483 cflags_c = [ "/wd4206" ] | 479 cflags_c = [ "/wd4206" ] |
484 } else if (is_mac) { | 480 } else if (is_mac) { |
485 precompiled_header = "build/precompile.h" | 481 precompiled_header = "build/precompile.h" |
486 precompiled_source = "//build/precompile.h" | 482 precompiled_source = "//build/precompile.h" |
487 } | 483 } |
488 } | 484 } |
489 } | 485 } |
OLD | NEW |