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

Side by Side Diff: headless/BUILD.gn

Issue 2877813002: [headless] Enable headless embedders to specify fonts. (Closed)
Patch Set: rebased Created 3 years, 7 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
« no previous file with comments | « build/args/headless.gn ('k') | headless/headless.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ] 193 ]
194 194
195 args = [ 195 args = [
196 "--protocol", 196 "--protocol",
197 rebase_path(inputs[0], root_build_dir), 197 rebase_path(inputs[0], root_build_dir),
198 "--output_dir", 198 "--output_dir",
199 rebase_path(target_gen_dir) + "/public", 199 rebase_path(target_gen_dir) + "/public",
200 ] 200 ]
201 } 201 }
202 202
203 if (headless_fontconfig_utils) {
204 static_library("headless_fontconfig_utils") {
205 sources = [
206 "public/util/fontconfig.cc",
207 "public/util/fontconfig.h",
208 ]
209
210 deps = [
211 "//third_party/fontconfig",
212 "//third_party/freetype",
213 ]
214 }
215 }
216
203 component("headless") { 217 component("headless") {
204 sources = [ 218 sources = [
205 "app/headless_shell_switches.cc", 219 "app/headless_shell_switches.cc",
206 "app/headless_shell_switches.h", 220 "app/headless_shell_switches.h",
207 "lib/browser/headless_browser_context_impl.cc", 221 "lib/browser/headless_browser_context_impl.cc",
208 "lib/browser/headless_browser_context_impl.h", 222 "lib/browser/headless_browser_context_impl.h",
209 "lib/browser/headless_browser_context_options.cc", 223 "lib/browser/headless_browser_context_options.cc",
210 "lib/browser/headless_browser_context_options.h", 224 "lib/browser/headless_browser_context_options.h",
211 "lib/browser/headless_browser_impl.cc", 225 "lib/browser/headless_browser_impl.cc",
212 "lib/browser/headless_browser_impl.h", 226 "lib/browser/headless_browser_impl.h",
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 "$root_gen_dir/headless/embedded_resource_pak.h", 387 "$root_gen_dir/headless/embedded_resource_pak.h",
374 ] 388 ]
375 } else { 389 } else {
376 deps += [ ":pak" ] 390 deps += [ ":pak" ]
377 } 391 }
378 392
379 if (use_ozone) { 393 if (use_ozone) {
380 deps += [ "//ui/ozone" ] 394 deps += [ "//ui/ozone" ]
381 } 395 }
382 396
397 if (headless_fontconfig_utils) {
398 deps += [ ":headless_fontconfig_utils" ]
399 }
400
383 configs += [ ":headless_implementation" ] 401 configs += [ ":headless_implementation" ]
384 } 402 }
385 403
386 # Headless renderer is a convenience library that includes headless classes 404 # Headless renderer is a convenience library that includes headless classes
387 # that depend on the renderer. These are not added in case of a component build 405 # that depend on the renderer. These are not added in case of a component build
388 # since in that case they are already included in the headless component. 406 # since in that case they are already included in the headless component.
389 static_library("headless_renderer") { 407 static_library("headless_renderer") {
390 deps = [ 408 deps = [
391 ":headless", 409 ":headless",
392 ] 410 ]
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 712
695 executable("headless_example") { 713 executable("headless_example") {
696 sources = [ 714 sources = [
697 "app/headless_example.cc", 715 "app/headless_example.cc",
698 ] 716 ]
699 717
700 deps = [ 718 deps = [
701 ":headless_shell_lib", 719 ":headless_shell_lib",
702 ] 720 ]
703 } 721 }
OLDNEW
« no previous file with comments | « build/args/headless.gn ('k') | headless/headless.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698