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

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

Issue 2638233002: Convert make_names and make_event_factory to use json5 config format. (Closed)
Patch Set: fix PLATFORM_EXPORT Created 3 years, 10 months 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
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//third_party/WebKit/public/public_features.gni") 9 import("//third_party/WebKit/public/public_features.gni")
10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ] 55 ]
56 56
57 public_deps = [ 57 public_deps = [
58 "//skia", 58 "//skia",
59 ] 59 ]
60 } 60 }
61 61
62 action("font_family_names") { 62 action("font_family_names") {
63 script = "../build/scripts/make_names.py" 63 script = "../build/scripts/make_names.py"
64 64
65 font_family_names_in = "fonts/FontFamilyNames.in" 65 font_family_names_in = "fonts/FontFamilyNames.json5"
66 inputs = make_names_files + [ font_family_names_in ] 66 inputs = make_names_files + [ font_family_names_in ]
67 67
68 outputs = [ 68 outputs = [
69 "$blink_platform_output_dir/FontFamilyNames.cpp", 69 "$blink_platform_output_dir/FontFamilyNames.cpp",
70 "$blink_platform_output_dir/FontFamilyNames.h", 70 "$blink_platform_output_dir/FontFamilyNames.h",
71 ] 71 ]
72 72
73 args = [ 73 args = [
74 rebase_path(font_family_names_in, root_build_dir), 74 rebase_path(font_family_names_in, root_build_dir),
75 "--output_dir", 75 "--output_dir",
76 rebase_path(blink_platform_output_dir, root_build_dir), 76 rebase_path(blink_platform_output_dir, root_build_dir),
77 ] 77 ]
78 } 78 }
79 79
80 action("http_names") { 80 action("http_names") {
81 script = "../build/scripts/make_names.py" 81 script = "../build/scripts/make_names.py"
82 82
83 http_names_in = "network/HTTPNames.in" 83 http_names_in = "network/HTTPNames.json5"
84 inputs = make_names_files + [ http_names_in ] 84 inputs = make_names_files + [ http_names_in ]
85 85
86 outputs = [ 86 outputs = [
87 "$blink_platform_output_dir/HTTPNames.cpp", 87 "$blink_platform_output_dir/HTTPNames.cpp",
88 "$blink_platform_output_dir/HTTPNames.h", 88 "$blink_platform_output_dir/HTTPNames.h",
89 ] 89 ]
90 90
91 args = [ 91 args = [
92 rebase_path(http_names_in, root_build_dir), 92 rebase_path(http_names_in, root_build_dir),
93 "--output_dir", 93 "--output_dir",
(...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after
2109 "//third_party/WebKit/Source:config", 2109 "//third_party/WebKit/Source:config",
2110 "//third_party/WebKit/Source:inside_blink", 2110 "//third_party/WebKit/Source:inside_blink",
2111 ] 2111 ]
2112 2112
2113 deps = [ 2113 deps = [
2114 ":test_support", 2114 ":test_support",
2115 "//testing/gmock", 2115 "//testing/gmock",
2116 "//testing/gtest", 2116 "//testing/gtest",
2117 ] 2117 ]
2118 } 2118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698