Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2526383002: Revert of Disable Precompile-platform with clang-cl. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/toolchain/toolchain.gni") 6 import("//build/toolchain/toolchain.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/split_static_library.gni") 8 import("//build/split_static_library.gni")
9 import("//testing/libfuzzer/fuzzer_test.gni") 9 import("//testing/libfuzzer/fuzzer_test.gni")
10 import("//third_party/WebKit/Source/bindings/bindings.gni") 10 import("//third_party/WebKit/Source/bindings/bindings.gni")
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ] 45 ]
46 if (is_android && use_openmax_dl_fft) { 46 if (is_android && use_openmax_dl_fft) {
47 include_dirs += [ "//third_party/openmax_dl" ] 47 include_dirs += [ "//third_party/openmax_dl" ]
48 } 48 }
49 } 49 }
50 50
51 import("//build/config/pch.gni") 51 import("//build/config/pch.gni")
52 52
53 config("blink_core_pch") { 53 config("blink_core_pch") {
54 if (enable_precompiled_headers) { 54 if (enable_precompiled_headers) {
55 # TODO(thakis): Enable for clang once it works, https://crbug.com/667891 55 if (is_win) {
56 if (is_win && !is_clang) {
57 # This is a string rather than a file GN knows about. It has to match 56 # This is a string rather than a file GN knows about. It has to match
58 # exactly what's in the /FI flag below, and what might appear in the 57 # exactly what's in the /FI flag below, and what might appear in the
59 # source code in quotes for an #include directive. 58 # source code in quotes for an #include directive.
60 precompiled_header = rebase_path("win/Precompile-core.h", root_build_dir) 59 precompiled_header = rebase_path("win/Precompile-core.h", root_build_dir)
61 60
62 # This is a file that GN will compile with the above header. It will be 61 # This is a file that GN will compile with the above header. It will be
63 # implicitly added to the sources (potentially multiple times, with one 62 # implicitly added to the sources (potentially multiple times, with one
64 # variant for each language used in the target). 63 # variant for each language used in the target).
65 precompiled_source = 64 precompiled_source =
66 "//third_party/WebKit/Source/core/win/Precompile-core.cpp" 65 "//third_party/WebKit/Source/core/win/Precompile-core.cpp"
(...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 sources = [ 1395 sources = [
1397 "frame/csp/ContentSecurityPolicyFuzzer.cpp", 1396 "frame/csp/ContentSecurityPolicyFuzzer.cpp",
1398 ] 1397 ]
1399 deps = [ 1398 deps = [
1400 ":core", 1399 ":core",
1401 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 1400 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
1402 ] 1401 ]
1403 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" 1402 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict"
1404 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" 1403 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus"
1405 } 1404 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698