OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
7 import("//headless/headless.gni") | 7 import("//headless/headless.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 "$root_out_dir/headless_lib.pak", | 77 "$root_out_dir/headless_lib.pak", |
78 ] | 78 ] |
79 | 79 |
80 outputs = [ | 80 outputs = [ |
81 "$root_gen_dir/headless/embedded_resource_pak.cc", | 81 "$root_gen_dir/headless/embedded_resource_pak.cc", |
82 "$root_gen_dir/headless/embedded_resource_pak.h", | 82 "$root_gen_dir/headless/embedded_resource_pak.h", |
83 ] | 83 ] |
84 | 84 |
85 args = [ | 85 args = [ |
86 "--data_file", | 86 "--data_file", |
87 rebase_path("$root_out_dir/headless_lib.pak"), | 87 rebase_path("$root_out_dir/headless_lib.pak", root_build_dir), |
88 "--gendir", | 88 "--gendir", |
89 rebase_path("$root_gen_dir"), | 89 rebase_path("$root_gen_dir", root_build_dir), |
90 "--header_file", | 90 "--header_file", |
91 "headless/embedded_resource_pak.h", | 91 "headless/embedded_resource_pak.h", |
92 "--source_file", | 92 "--source_file", |
93 "headless/embedded_resource_pak.cc", | 93 "headless/embedded_resource_pak.cc", |
94 "--namespace", | 94 "--namespace", |
95 "headless", | 95 "headless", |
96 "--variable_name", | 96 "--variable_name", |
97 "kHeadlessResourcePak", | 97 "kHeadlessResourcePak", |
98 ] | 98 ] |
99 | 99 |
(...skipping 12 matching lines...) Expand all Loading... |
112 } | 112 } |
113 | 113 |
114 grit("resources") { | 114 grit("resources") { |
115 source = "lib/resources/headless_lib_resources.grd" | 115 source = "lib/resources/headless_lib_resources.grd" |
116 outputs = [ | 116 outputs = [ |
117 "grit/headless_lib_resources.h", | 117 "grit/headless_lib_resources.h", |
118 "$root_gen_dir/headless/headless_lib_resources.pak", | 118 "$root_gen_dir/headless/headless_lib_resources.pak", |
119 ] | 119 ] |
120 grit_flags = [ | 120 grit_flags = [ |
121 "-E", | 121 "-E", |
122 "mojom_root=" + rebase_path(root_gen_dir), | 122 "mojom_root=" + rebase_path(root_gen_dir, root_build_dir), |
123 ] | 123 ] |
124 deps = [ | 124 deps = [ |
125 ":tab_socket__generator", | 125 ":tab_socket__generator", |
126 ] | 126 ] |
127 } | 127 } |
128 | 128 |
129 devtools_domains = [ | 129 devtools_domains = [ |
130 "accessibility", | 130 "accessibility", |
131 "animation", | 131 "animation", |
132 "application_cache", | 132 "application_cache", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 "lib/browser/devtools_api/domain_type_conversions_h.template", | 190 "lib/browser/devtools_api/domain_type_conversions_h.template", |
191 "lib/browser/devtools_api/domain_types_cc.template", | 191 "lib/browser/devtools_api/domain_types_cc.template", |
192 "lib/browser/devtools_api/domain_types_forward_declarations_h.template", | 192 "lib/browser/devtools_api/domain_types_forward_declarations_h.template", |
193 "lib/browser/devtools_api/domain_types_h.template", | 193 "lib/browser/devtools_api/domain_types_h.template", |
194 ] | 194 ] |
195 | 195 |
196 args = [ | 196 args = [ |
197 "--protocol", | 197 "--protocol", |
198 rebase_path(inputs[0], root_build_dir), | 198 rebase_path(inputs[0], root_build_dir), |
199 "--output_dir", | 199 "--output_dir", |
200 rebase_path(target_gen_dir) + "/public", | 200 rebase_path(target_gen_dir, root_build_dir) + "/public", |
201 ] | 201 ] |
202 } | 202 } |
203 | 203 |
204 if (headless_fontconfig_utils) { | 204 if (headless_fontconfig_utils) { |
205 static_library("headless_fontconfig_utils") { | 205 static_library("headless_fontconfig_utils") { |
206 sources = [ | 206 sources = [ |
207 "public/util/fontconfig.cc", | 207 "public/util/fontconfig.cc", |
208 "public/util/fontconfig.h", | 208 "public/util/fontconfig.h", |
209 ] | 209 ] |
210 | 210 |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 executable("headless_example") { | 712 executable("headless_example") { |
713 sources = [ | 713 sources = [ |
714 "app/headless_example.cc", | 714 "app/headless_example.cc", |
715 ] | 715 ] |
716 | 716 |
717 deps = [ | 717 deps = [ |
718 ":headless_shell_lib", | 718 ":headless_shell_lib", |
719 "//build/config:exe_and_shlib_deps", | 719 "//build/config:exe_and_shlib_deps", |
720 ] | 720 ] |
721 } | 721 } |
OLD | NEW |