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

Side by Side Diff: headless/BUILD.gn

Issue 2805793003: Add user-agent flag to headless (Closed)
Patch Set: Add shell switches to build file Created 3 years, 8 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 | « no previous file | headless/app/headless_shell.cc » ('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("//headless/headless.gni") 6 import("//headless/headless.gni")
7 import("//build/util/process_version.gni") 7 import("//build/util/process_version.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 args = [ 183 args = [
184 "--protocol", 184 "--protocol",
185 rebase_path(inputs[0], root_build_dir), 185 rebase_path(inputs[0], root_build_dir),
186 "--output_dir", 186 "--output_dir",
187 rebase_path(target_gen_dir) + "/public", 187 rebase_path(target_gen_dir) + "/public",
188 ] 188 ]
189 } 189 }
190 190
191 static_library("headless_lib") { 191 static_library("headless_lib") {
192 sources = generated_devtools_api + [ 192 sources = generated_devtools_api + [
193 "app/headless_shell_switches.cc",
194 "app/headless_shell_switches.h",
193 "lib/browser/headless_browser_context_impl.cc", 195 "lib/browser/headless_browser_context_impl.cc",
194 "lib/browser/headless_browser_context_impl.h", 196 "lib/browser/headless_browser_context_impl.h",
195 "lib/browser/headless_browser_context_options.cc", 197 "lib/browser/headless_browser_context_options.cc",
196 "lib/browser/headless_browser_context_options.h", 198 "lib/browser/headless_browser_context_options.h",
197 "lib/browser/headless_browser_impl.cc", 199 "lib/browser/headless_browser_impl.cc",
198 "lib/browser/headless_browser_impl.h", 200 "lib/browser/headless_browser_impl.h",
199 "lib/browser/headless_browser_impl_mac.mm", 201 "lib/browser/headless_browser_impl_mac.mm",
200 "lib/browser/headless_browser_main_parts_mac.mm", 202 "lib/browser/headless_browser_main_parts_mac.mm",
201 "lib/browser/headless_browser_main_parts.cc", 203 "lib/browser/headless_browser_main_parts.cc",
202 "lib/browser/headless_browser_main_parts.h", 204 "lib/browser/headless_browser_main_parts.h",
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 486
485 executable("headless_example") { 487 executable("headless_example") {
486 sources = [ 488 sources = [
487 "app/headless_example.cc", 489 "app/headless_example.cc",
488 ] 490 ]
489 491
490 deps = [ 492 deps = [
491 "//headless:headless_shell_lib", 493 "//headless:headless_shell_lib",
492 ] 494 ]
493 } 495 }
OLDNEW
« no previous file with comments | « no previous file | headless/app/headless_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698