| 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") |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 if (is_mac) { | 225 if (is_mac) { |
| 226 mac_app_bundle("app_shell") { | 226 mac_app_bundle("app_shell") { |
| 227 testonly = true | 227 testonly = true |
| 228 output_name = "App Shell" | 228 output_name = "App Shell" |
| 229 sources = [ | 229 sources = [ |
| 230 "app/shell_main.cc", | 230 "app/shell_main.cc", |
| 231 ] | 231 ] |
| 232 deps = [ | 232 deps = [ |
| 233 ":app_shell_framework_bundle_data", | 233 ":app_shell_framework_bundle_data", |
| 234 "//build/config/sanitizers:deps", | 234 "//build/config:exe_and_shlib_deps", |
| 235 "//extensions:shell_and_test_pak", | 235 "//extensions:shell_and_test_pak", |
| 236 ] | 236 ] |
| 237 ldflags = [ | 237 ldflags = [ |
| 238 "-rpath", | 238 "-rpath", |
| 239 "@executable_path/../", | 239 "@executable_path/../", |
| 240 ] | 240 ] |
| 241 info_plist = "app/app-Info.plist" | 241 info_plist = "app/app-Info.plist" |
| 242 } | 242 } |
| 243 } else { | 243 } else { |
| 244 executable("app_shell") { | 244 executable("app_shell") { |
| 245 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. | 245 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. |
| 246 testonly = true | 246 testonly = true |
| 247 sources = [ | 247 sources = [ |
| 248 "app/shell_main.cc", | 248 "app/shell_main.cc", |
| 249 ] | 249 ] |
| 250 | 250 |
| 251 deps = [ | 251 deps = [ |
| 252 ":app_shell_lib", | 252 ":app_shell_lib", |
| 253 "//build/config/sanitizers:deps", | 253 "//build/config:exe_and_shlib_deps", |
| 254 "//build/win:default_exe_manifest", | 254 "//build/win:default_exe_manifest", |
| 255 "//extensions:shell_and_test_pak", | 255 "//extensions:shell_and_test_pak", |
| 256 ] | 256 ] |
| 257 | 257 |
| 258 if (is_win) { | 258 if (is_win) { |
| 259 configs += [ "//build/config/win:windowed" ] | 259 configs += [ "//build/config/win:windowed" ] |
| 260 configs -= [ "//build/config/win:console" ] | 260 configs -= [ "//build/config/win:console" ] |
| 261 } | 261 } |
| 262 } | 262 } |
| 263 } | 263 } |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 } | 372 } |
| 373 | 373 |
| 374 mac_app_bundle("app_shell_helper_app") { | 374 mac_app_bundle("app_shell_helper_app") { |
| 375 testonly = true | 375 testonly = true |
| 376 output_name = "App Shell Helper" | 376 output_name = "App Shell Helper" |
| 377 sources = [ | 377 sources = [ |
| 378 "app/shell_main.cc", | 378 "app/shell_main.cc", |
| 379 ] | 379 ] |
| 380 deps = [ | 380 deps = [ |
| 381 ":app_shell_framework+link", | 381 ":app_shell_framework+link", |
| 382 "//build/config/sanitizers:deps", | 382 "//build/config:exe_and_shlib_deps", |
| 383 ] | 383 ] |
| 384 ldflags = [ | 384 ldflags = [ |
| 385 "-rpath", | 385 "-rpath", |
| 386 "@executable_path/../../../..", | 386 "@executable_path/../../../..", |
| 387 ] | 387 ] |
| 388 info_plist = "app/helper-Info.plist" | 388 info_plist = "app/helper-Info.plist" |
| 389 } | 389 } |
| 390 | 390 |
| 391 bundle_data("app_shell_framework_bundle_data") { | 391 bundle_data("app_shell_framework_bundle_data") { |
| 392 testonly = true | 392 testonly = true |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 "//extensions/browser", | 448 "//extensions/browser", |
| 449 ] | 449 ] |
| 450 | 450 |
| 451 if (is_chromeos) { | 451 if (is_chromeos) { |
| 452 deps += [ | 452 deps += [ |
| 453 "//chromeos:test_support", | 453 "//chromeos:test_support", |
| 454 "//components/keyed_service/content", | 454 "//components/keyed_service/content", |
| 455 ] | 455 ] |
| 456 } | 456 } |
| 457 } | 457 } |
| OLD | NEW |