| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//build/util/process_version.gni") | 7 import("//build/util/process_version.gni") |
| 8 import("//extensions/features/features.gni") | 8 import("//extensions/features/features.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") |
| 11 import("//v8/snapshot_toolchain.gni") |
| 11 if (is_mac) { | 12 if (is_mac) { |
| 12 import("//build/config/mac/rules.gni") | 13 import("//build/config/mac/rules.gni") |
| 13 import("//third_party/icu/config.gni") | 14 import("//third_party/icu/config.gni") |
| 14 import("//v8/gni/v8.gni") | 15 import("//v8/gni/v8.gni") |
| 15 } | 16 } |
| 16 | 17 |
| 17 assert(enable_extensions) | 18 assert(enable_extensions) |
| 18 | 19 |
| 19 grit("resources") { | 20 grit("resources") { |
| 20 source = "app_shell_resources.grd" | 21 source = "app_shell_resources.grd" |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 "//build/util/LASTCHANGE", | 319 "//build/util/LASTCHANGE", |
| 319 "//chrome/VERSION", | 320 "//chrome/VERSION", |
| 320 ] | 321 ] |
| 321 output = "$target_gen_dir/common/version.h" | 322 output = "$target_gen_dir/common/version.h" |
| 322 } | 323 } |
| 323 | 324 |
| 324 if (is_mac) { | 325 if (is_mac) { |
| 325 bundle_data("app_shell_framework_resources") { | 326 bundle_data("app_shell_framework_resources") { |
| 326 sources = [ | 327 sources = [ |
| 327 "$root_gen_dir/extensions/shell/app_shell_resources.pak", | 328 "$root_gen_dir/extensions/shell/app_shell_resources.pak", |
| 329 "$root_out_dir/context_blob.bin", |
| 328 "$root_out_dir/extensions_shell_and_test.pak", | 330 "$root_out_dir/extensions_shell_and_test.pak", |
| 329 ] | 331 ] |
| 330 public_deps = [ | 332 public_deps = [ |
| 331 ":resources_grit", | 333 ":resources_grit", |
| 332 "//extensions:shell_and_test_pak", | 334 "//extensions:shell_and_test_pak", |
| 335 "//gin:run_gin_blink_snapshot($v8_snapshot_toolchain)", |
| 333 ] | 336 ] |
| 334 if (icu_use_data_file) { | 337 if (icu_use_data_file) { |
| 335 sources += [ "$root_out_dir/icudtl.dat" ] | 338 sources += [ "$root_out_dir/icudtl.dat" ] |
| 336 public_deps += [ "//third_party/icu:icudata" ] | 339 public_deps += [ "//third_party/icu:icudata" ] |
| 337 } | 340 } |
| 338 if (v8_use_external_startup_data) { | 341 if (v8_use_external_startup_data) { |
| 339 sources += [ | 342 sources += [ |
| 340 "$root_out_dir/natives_blob.bin", | 343 "$root_out_dir/natives_blob.bin", |
| 341 "$root_out_dir/snapshot_blob.bin", | 344 "$root_out_dir/snapshot_blob.bin", |
| 342 ] | 345 ] |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 "//extensions/browser", | 450 "//extensions/browser", |
| 448 ] | 451 ] |
| 449 | 452 |
| 450 if (is_chromeos) { | 453 if (is_chromeos) { |
| 451 deps += [ | 454 deps += [ |
| 452 "//chromeos:test_support", | 455 "//chromeos:test_support", |
| 453 "//components/keyed_service/content", | 456 "//components/keyed_service/content", |
| 454 ] | 457 ] |
| 455 } | 458 } |
| 456 } | 459 } |
| OLD | NEW |