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/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 # error is generated only in C mode for ANSI compatibility. It conflicts | 442 # error is generated only in C mode for ANSI compatibility. It conflicts |
443 # with precompiled headers since the source file that's "compiled" for | 443 # with precompiled headers since the source file that's "compiled" for |
444 # making the precompiled header is empty. | 444 # making the precompiled header is empty. |
445 # | 445 # |
446 # This error doesn't happen every time. In VS2013, it seems if the .pch | 446 # This error doesn't happen every time. In VS2013, it seems if the .pch |
447 # file doesn't exist, no error will be generated (probably MS tested this | 447 # file doesn't exist, no error will be generated (probably MS tested this |
448 # case but forgot the other one?). To reproduce this error, do a build, | 448 # case but forgot the other one?). To reproduce this error, do a build, |
449 # then delete the precompile.c.obj file, then build again. | 449 # then delete the precompile.c.obj file, then build again. |
450 cflags_c = [ "/wd4206" ] | 450 cflags_c = [ "/wd4206" ] |
451 } else if (is_mac && !is_official_build && !use_goma) { | 451 } else if (is_mac && !is_official_build && !use_goma) { |
452 # TODO(andybons): enable this when GCC PCH support in the binary has been | 452 precompiled_header = "build/precompile.h" |
453 # rolled. | 453 precompiled_source = "//build/precompile.h" |
454 #precompiled_header = "build/precompile.h" | |
455 #precompiled_source = "//build/precompile.h" | |
456 } | 454 } |
457 } | 455 } |
OLD | NEW |