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

Side by Side Diff: BUILD.gn

Issue 303463005: Extract build configuration into a separate header and move it to the base lib (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/atomicops.h » ('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 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 # TODO(jochen): These will need to be user-settable to support standalone V8 5 # TODO(jochen): These will need to be user-settable to support standalone V8
6 # builds. 6 # builds.
7 v8_compress_startup_data = "off" 7 v8_compress_startup_data = "off"
8 v8_deprecation_warnings = false 8 v8_deprecation_warnings = false
9 v8_enable_disassembler = false 9 v8_enable_disassembler = false
10 v8_enable_gdbjit = false 10 v8_enable_gdbjit = false
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 if (v8_postmortem_support) { 886 if (v8_postmortem_support) {
887 sources += [ "$target_gen_dir/debug-support.cc" ] 887 sources += [ "$target_gen_dir/debug-support.cc" ]
888 deps += [ ":postmortem-metadata" ] 888 deps += [ ":postmortem-metadata" ]
889 } 889 }
890 } 890 }
891 891
892 source_set("v8_libbase") { 892 source_set("v8_libbase") {
893 visibility = ":*" # Only targets in this file can depend on this. 893 visibility = ":*" # Only targets in this file can depend on this.
894 894
895 sources = [ 895 sources = [
896 "src/base/build_config.h",
896 "src/base/macros.h", 897 "src/base/macros.h",
897 ] 898 ]
898 899
899 configs -= [ "//build/config/compiler:chromium_code" ] 900 configs -= [ "//build/config/compiler:chromium_code" ]
900 configs += [ "//build/config/compiler:no_chromium_code" ] 901 configs += [ "//build/config/compiler:no_chromium_code" ]
901 configs += [ ":internal_config", ":features", ":toolchain" ] 902 configs += [ ":internal_config", ":features", ":toolchain" ]
902 } 903 }
903 904
904 ############################################################################### 905 ###############################################################################
905 # Executables 906 # Executables
(...skipping 21 matching lines...) Expand all
927 ":v8_base", 928 ":v8_base",
928 ":v8_nosnapshot", 929 ":v8_nosnapshot",
929 ] 930 ]
930 931
931 if (v8_compress_startup_data == "bz2") { 932 if (v8_compress_startup_data == "bz2") {
932 libs = [ "bz2" ] 933 libs = [ "bz2" ]
933 } 934 }
934 } 935 }
935 936
936 } 937 }
OLDNEW
« no previous file with comments | « no previous file | src/atomicops.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698