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

Side by Side Diff: headless/BUILD.gn

Issue 2695663002: headless: Add generated version header (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | headless/public/version.h.in » ('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("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 9 import("//testing/test.gni")
9 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
10 import("//tools/grit/repack.gni") 11 import("//tools/grit/repack.gni")
11 12
12 config("headless_implementation") { 13 config("headless_implementation") {
13 defines = [ "HEADLESS_IMPLEMENTATION" ] 14 defines = [ "HEADLESS_IMPLEMENTATION" ]
14 15
15 if (headless_use_embedded_resources) { 16 if (headless_use_embedded_resources) {
16 defines += [ "HEADLESS_USE_EMBEDDED_RESOURCES" ] 17 defines += [ "HEADLESS_USE_EMBEDDED_RESOURCES" ]
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 "lib/browser/headless_screen.h", 267 "lib/browser/headless_screen.h",
267 "lib/browser/headless_window_parenting_client.cc", 268 "lib/browser/headless_window_parenting_client.cc",
268 "lib/browser/headless_window_parenting_client.h", 269 "lib/browser/headless_window_parenting_client.h",
269 "lib/browser/headless_window_tree_host.cc", 270 "lib/browser/headless_window_tree_host.cc",
270 "lib/browser/headless_window_tree_host.h", 271 "lib/browser/headless_window_tree_host.h",
271 ] 272 ]
272 } 273 }
273 274
274 deps = [ 275 deps = [
275 ":gen_devtools_client_api", 276 ":gen_devtools_client_api",
277 ":version_header",
276 "//base", 278 "//base",
277 "//components/security_state/content", 279 "//components/security_state/content",
278 "//components/security_state/core", 280 "//components/security_state/core",
279 "//content/public/app:both", 281 "//content/public/app:both",
280 "//content/public/browser", 282 "//content/public/browser",
281 "//content/public/common", 283 "//content/public/common",
282 "//content/public/common:service_names", 284 "//content/public/common:service_names",
283 "//net", 285 "//net",
284 "//services/service_manager/public/cpp", 286 "//services/service_manager/public/cpp",
285 "//third_party/mesa:osmesa", 287 "//third_party/mesa:osmesa",
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 sources = [ 443 sources = [
442 "app/headless_shell_main.cc", 444 "app/headless_shell_main.cc",
443 ] 445 ]
444 446
445 deps = [ 447 deps = [
446 "//headless:headless_shell_lib", 448 "//headless:headless_shell_lib",
447 ] 449 ]
448 450
449 configs += [ ":headless_implementation" ] 451 configs += [ ":headless_implementation" ]
450 } 452 }
453
454 process_version("version_header") {
455 template_file = "public/version.h.in"
456 sources = [
457 "//build/util/LASTCHANGE",
458 "//chrome/VERSION",
459 ]
460 output = "$target_gen_dir/public/version.h"
461 }
OLDNEW
« no previous file with comments | « no previous file | headless/public/version.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698