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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) { | 71 if (enable_pepper_cdms) { |
72 # TODO(brettw) should probably be "=1" | 72 # TODO(brettw) should probably be "=1" |
73 defines += [ "ENABLE_PEPPER_CDMS" ] | 73 defines += [ "ENABLE_PEPPER_CDMS" ] |
74 } | 74 } |
75 if (enable_browser_cdms) { | |
76 # TODO(brettw) should probably be "=1" | |
77 defines += [ "ENABLE_BROWSER_CDMS" ] | |
78 } | |
79 if (enable_plugins) { | 75 if (enable_plugins) { |
80 defines += [ "ENABLE_PLUGINS=1" ] | 76 defines += [ "ENABLE_PLUGINS=1" ] |
81 } | 77 } |
82 if (enable_pdf) { | 78 if (enable_pdf) { |
83 defines += [ "ENABLE_PDF=1" ] | 79 defines += [ "ENABLE_PDF=1" ] |
84 } | 80 } |
85 if (enable_basic_printing || enable_print_preview) { | 81 if (enable_basic_printing || enable_print_preview) { |
86 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. | 82 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
87 defines += [ "ENABLE_PRINTING=1" ] | 83 defines += [ "ENABLE_PRINTING=1" ] |
88 if (enable_basic_printing) { | 84 if (enable_basic_printing) { |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 # file doesn't exist, no error will be generated (probably MS tested this | 484 # file doesn't exist, no error will be generated (probably MS tested this |
489 # case but forgot the other one?). To reproduce this error, do a build, | 485 # case but forgot the other one?). To reproduce this error, do a build, |
490 # then delete the precompile.c.obj file, then build again. | 486 # then delete the precompile.c.obj file, then build again. |
491 cflags_c = [ "/wd4206" ] | 487 cflags_c = [ "/wd4206" ] |
492 } else if (is_mac) { | 488 } else if (is_mac) { |
493 precompiled_header = "build/precompile.h" | 489 precompiled_header = "build/precompile.h" |
494 precompiled_source = "//build/precompile.h" | 490 precompiled_source = "//build/precompile.h" |
495 } | 491 } |
496 } | 492 } |
497 } | 493 } |
OLD | NEW |