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

Side by Side Diff: BUILD.gn

Issue 1120093005: Adjust the visibility of the standalone targets in the GN build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 5 years, 7 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/mips.gni") 7 import("//build/config/mips.gni")
8 8
9 # Because standalone V8 builds are not supported, assume this is part of a 9 # Because standalone V8 builds are not supported, assume this is part of a
10 # Chromium build. 10 # Chromium build.
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 "$root_out_dir/natives_blob.bin", 331 "$root_out_dir/natives_blob.bin",
332 ] 332 ]
333 333
334 script = "tools/concatenate-files.py" 334 script = "tools/concatenate-files.py"
335 335
336 args = rebase_path(sources + outputs, root_build_dir) 336 args = rebase_path(sources + outputs, root_build_dir)
337 } 337 }
338 } 338 }
339 339
340 action("postmortem-metadata") { 340 action("postmortem-metadata") {
341 visibility = [ ":*" ] # Only targets in this file can depend on this. 341 # Only targets in this file and the top-level visibility target can
342 # depend on this.
343 visibility = [
344 ":*",
345 "//:gn_visibility",
346 ]
342 347
343 script = "tools/gen-postmortem-metadata.py" 348 script = "tools/gen-postmortem-metadata.py"
344 349
345 sources = [ 350 sources = [
346 "src/objects.h", 351 "src/objects.h",
347 "src/objects-inl.h", 352 "src/objects-inl.h",
348 ] 353 ]
349 354
350 outputs = [ 355 outputs = [
351 "$target_gen_dir/debug-support.cc", 356 "$target_gen_dir/debug-support.cc",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 configs -= [ "//build/config/compiler:chromium_code" ] 421 configs -= [ "//build/config/compiler:chromium_code" ]
417 configs += [ "//build/config/compiler:no_chromium_code" ] 422 configs += [ "//build/config/compiler:no_chromium_code" ]
418 configs += [ 423 configs += [
419 ":internal_config", 424 ":internal_config",
420 ":features", 425 ":features",
421 ":toolchain", 426 ":toolchain",
422 ] 427 ]
423 } 428 }
424 429
425 source_set("v8_snapshot") { 430 source_set("v8_snapshot") {
426 visibility = [ ":*" ] # Only targets in this file can depend on this. 431 # Only targets in this file and the top-level visibility target can
432 # depend on this.
433 visibility = [
434 ":*",
435 "//:gn_visibility",
436 ]
427 437
428 deps = [ 438 deps = [
429 ":js2c", 439 ":js2c",
430 ":js2c_experimental", 440 ":js2c_experimental",
431 ":run_mksnapshot", 441 ":run_mksnapshot",
432 ":v8_base", 442 ":v8_base",
433 ] 443 ]
434 444
435 sources = [ 445 sources = [
436 "$target_gen_dir/libraries.cc", 446 "$target_gen_dir/libraries.cc",
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 sources += [ 1616 sources += [
1607 "src/d8-debug.cc", 1617 "src/d8-debug.cc",
1608 "$target_gen_dir/d8-js.cc", 1618 "$target_gen_dir/d8-js.cc",
1609 ] 1619 ]
1610 } 1620 }
1611 if (v8_enable_i18n_support) { 1621 if (v8_enable_i18n_support) {
1612 deps += [ "//third_party/icu" ] 1622 deps += [ "//third_party/icu" ]
1613 } 1623 }
1614 } 1624 }
1615 } 1625 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698