| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 "lib/browser/devtools_api/domain_type_conversions_h.template", | 189 "lib/browser/devtools_api/domain_type_conversions_h.template", |
| 190 "lib/browser/devtools_api/domain_types_cc.template", | 190 "lib/browser/devtools_api/domain_types_cc.template", |
| 191 "lib/browser/devtools_api/domain_types_forward_declarations_h.template", | 191 "lib/browser/devtools_api/domain_types_forward_declarations_h.template", |
| 192 "lib/browser/devtools_api/domain_types_h.template", | 192 "lib/browser/devtools_api/domain_types_h.template", |
| 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, root_build_dir) + "/public", |
| 200 ] | 200 ] |
| 201 } | 201 } |
| 202 | 202 |
| 203 if (headless_fontconfig_utils) { | 203 if (headless_fontconfig_utils) { |
| 204 static_library("headless_fontconfig_utils") { | 204 static_library("headless_fontconfig_utils") { |
| 205 sources = [ | 205 sources = [ |
| 206 "public/util/fontconfig.cc", | 206 "public/util/fontconfig.cc", |
| 207 "public/util/fontconfig.h", | 207 "public/util/fontconfig.h", |
| 208 ] | 208 ] |
| 209 | 209 |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 | 702 |
| 703 executable("headless_example") { | 703 executable("headless_example") { |
| 704 sources = [ | 704 sources = [ |
| 705 "app/headless_example.cc", | 705 "app/headless_example.cc", |
| 706 ] | 706 ] |
| 707 | 707 |
| 708 deps = [ | 708 deps = [ |
| 709 ":headless_shell_lib", | 709 ":headless_shell_lib", |
| 710 ] | 710 ] |
| 711 } | 711 } |
| OLD | NEW |