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

Side by Side Diff: BUILD.gn

Issue 294613002: Update BUILD.gn and properly disable it on android (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 | 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 # 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 ":v8_base", 232 ":v8_base",
233 ] 233 ]
234 234
235 sources = [ 235 sources = [
236 "$target_gen_dir/libraries.cc", 236 "$target_gen_dir/libraries.cc",
237 "$target_gen_dir/experimental-libraries.cc", 237 "$target_gen_dir/experimental-libraries.cc",
238 "$target_gen_dir/trig-table.cc", 238 "$target_gen_dir/trig-table.cc",
239 "src/snapshot-empty.cc", 239 "src/snapshot-empty.cc",
240 ] 240 ]
241 241
242 configs -= [ "//build/config/compiler:chromium_code" ]
243 configs += [ "//build/config/compiler:no_chromium_code" ]
242 configs += [ ":internal_config", ":features" ] 244 configs += [ ":internal_config", ":features" ]
243 } 245 }
244 246
245 source_set("v8_base") { 247 source_set("v8_base") {
246 visibility = ":*" # Only targets in this file can depend on this. 248 visibility = ":*" # Only targets in this file can depend on this.
247 249
248 sources = [ 250 sources = [
249 "src/accessors.cc", 251 "src/accessors.cc",
250 "src/accessors.h", 252 "src/accessors.h",
251 "src/allocation.cc", 253 "src/allocation.cc",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 "src/cpu-profiler.h", 307 "src/cpu-profiler.h",
306 "src/cpu.cc", 308 "src/cpu.cc",
307 "src/cpu.h", 309 "src/cpu.h",
308 "src/data-flow.cc", 310 "src/data-flow.cc",
309 "src/data-flow.h", 311 "src/data-flow.h",
310 "src/date.cc", 312 "src/date.cc",
311 "src/date.h", 313 "src/date.h",
312 "src/dateparser-inl.h", 314 "src/dateparser-inl.h",
313 "src/dateparser.cc", 315 "src/dateparser.cc",
314 "src/dateparser.h", 316 "src/dateparser.h",
315 "src/debug-agent.cc",
316 "src/debug-agent.h",
317 "src/debug.cc", 317 "src/debug.cc",
318 "src/debug.h", 318 "src/debug.h",
319 "src/deoptimizer.cc", 319 "src/deoptimizer.cc",
320 "src/deoptimizer.h", 320 "src/deoptimizer.h",
321 "src/disasm.h", 321 "src/disasm.h",
322 "src/disassembler.cc", 322 "src/disassembler.cc",
323 "src/disassembler.h", 323 "src/disassembler.h",
324 "src/diy-fp.cc", 324 "src/diy-fp.cc",
325 "src/diy-fp.h", 325 "src/diy-fp.h",
326 "src/double.h", 326 "src/double.h",
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 "src/platform/elapsed-timer.h", 494 "src/platform/elapsed-timer.h",
495 "src/platform/time.cc", 495 "src/platform/time.cc",
496 "src/platform/time.h", 496 "src/platform/time.h",
497 "src/platform.h", 497 "src/platform.h",
498 "src/platform/condition-variable.cc", 498 "src/platform/condition-variable.cc",
499 "src/platform/condition-variable.h", 499 "src/platform/condition-variable.h",
500 "src/platform/mutex.cc", 500 "src/platform/mutex.cc",
501 "src/platform/mutex.h", 501 "src/platform/mutex.h",
502 "src/platform/semaphore.cc", 502 "src/platform/semaphore.cc",
503 "src/platform/semaphore.h", 503 "src/platform/semaphore.h",
504 "src/platform/socket.cc",
505 "src/platform/socket.h",
506 "src/preparse-data-format.h", 504 "src/preparse-data-format.h",
507 "src/preparse-data.cc", 505 "src/preparse-data.cc",
508 "src/preparse-data.h", 506 "src/preparse-data.h",
509 "src/preparser.cc", 507 "src/preparser.cc",
510 "src/preparser.h", 508 "src/preparser.h",
511 "src/prettyprinter.cc", 509 "src/prettyprinter.cc",
512 "src/prettyprinter.h", 510 "src/prettyprinter.h",
513 "src/profile-generator-inl.h", 511 "src/profile-generator-inl.h",
514 "src/profile-generator.cc", 512 "src/profile-generator.cc",
515 "src/profile-generator.h", 513 "src/profile-generator.h",
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 "src/arm64/assembler-arm64.cc", 703 "src/arm64/assembler-arm64.cc",
706 "src/arm64/assembler-arm64.h", 704 "src/arm64/assembler-arm64.h",
707 "src/arm64/assembler-arm64-inl.h", 705 "src/arm64/assembler-arm64-inl.h",
708 "src/arm64/builtins-arm64.cc", 706 "src/arm64/builtins-arm64.cc",
709 "src/arm64/codegen-arm64.cc", 707 "src/arm64/codegen-arm64.cc",
710 "src/arm64/codegen-arm64.h", 708 "src/arm64/codegen-arm64.h",
711 "src/arm64/code-stubs-arm64.cc", 709 "src/arm64/code-stubs-arm64.cc",
712 "src/arm64/code-stubs-arm64.h", 710 "src/arm64/code-stubs-arm64.h",
713 "src/arm64/constants-arm64.h", 711 "src/arm64/constants-arm64.h",
714 "src/arm64/cpu-arm64.cc", 712 "src/arm64/cpu-arm64.cc",
715 "src/arm64/cpu-arm64.h",
716 "src/arm64/debug-arm64.cc", 713 "src/arm64/debug-arm64.cc",
717 "src/arm64/decoder-arm64.cc", 714 "src/arm64/decoder-arm64.cc",
718 "src/arm64/decoder-arm64.h", 715 "src/arm64/decoder-arm64.h",
719 "src/arm64/decoder-arm64-inl.h", 716 "src/arm64/decoder-arm64-inl.h",
720 "src/arm64/deoptimizer-arm64.cc", 717 "src/arm64/deoptimizer-arm64.cc",
721 "src/arm64/disasm-arm64.cc", 718 "src/arm64/disasm-arm64.cc",
722 "src/arm64/disasm-arm64.h", 719 "src/arm64/disasm-arm64.h",
723 "src/arm64/frames-arm64.cc", 720 "src/arm64/frames-arm64.cc",
724 "src/arm64/frames-arm64.h", 721 "src/arm64/frames-arm64.h",
725 "src/arm64/full-codegen-arm64.cc", 722 "src/arm64/full-codegen-arm64.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 "src/mips/lithium-mips.h", 770 "src/mips/lithium-mips.h",
774 "src/mips/macro-assembler-mips.cc", 771 "src/mips/macro-assembler-mips.cc",
775 "src/mips/macro-assembler-mips.h", 772 "src/mips/macro-assembler-mips.h",
776 "src/mips/regexp-macro-assembler-mips.cc", 773 "src/mips/regexp-macro-assembler-mips.cc",
777 "src/mips/regexp-macro-assembler-mips.h", 774 "src/mips/regexp-macro-assembler-mips.h",
778 "src/mips/simulator-mips.cc", 775 "src/mips/simulator-mips.cc",
779 "src/mips/stub-cache-mips.cc", 776 "src/mips/stub-cache-mips.cc",
780 ] 777 ]
781 } 778 }
782 779
780 configs -= [ "//build/config/compiler:chromium_code" ]
781 configs += [ "//build/config/compiler:no_chromium_code" ]
783 configs += [ ":internal_config", ":features" ] 782 configs += [ ":internal_config", ":features" ]
784 783
785 defines = [] 784 defines = []
786 deps = [] 785 deps = []
787 786
788 if (is_posix) { 787 if (is_posix) {
789 sources += [ 788 sources += [
790 "src/platform-posix.cc" 789 "src/platform-posix.cc"
791 ] 790 ]
792 } 791 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 # TODO(brettw) icu_use_data_file_flag 838 # TODO(brettw) icu_use_data_file_flag
840 } 839 }
841 840
842 ############################################################################### 841 ###############################################################################
843 # Executables 842 # Executables
844 # 843 #
845 844
846 # TODO(jochen): Remove this as soon as toolchain.gypi is integrated. 845 # TODO(jochen): Remove this as soon as toolchain.gypi is integrated.
847 if (build_cpu_arch != cpu_arch) { 846 if (build_cpu_arch != cpu_arch) {
848 847
849 executable("mksnapshot") { 848 source_set("mksnapshot") {
850 sources = [ 849 sources = [
851 ] 850 ]
852 } 851 }
853 852
854 } else { 853 } else {
855 854
856 executable("mksnapshot") { 855 executable("mksnapshot") {
857 sources = [ 856 sources = [
858 "src/mksnapshot.cc", 857 "src/mksnapshot.cc",
859 ] 858 ]
860 859
860 configs -= [ "//build/config/compiler:chromium_code" ]
861 configs += [ "//build/config/compiler:no_chromium_code" ]
861 configs += [ ":internal_config", ":features" ] 862 configs += [ ":internal_config", ":features" ]
862 863
863 deps = [ 864 deps = [
864 ":v8_base", 865 ":v8_base",
865 ":v8_nosnapshot", 866 ":v8_nosnapshot",
866 ] 867 ]
867 868
868 if (v8_compress_startup_data == "bz2") { 869 if (v8_compress_startup_data == "bz2") {
869 libs = [ "bz2" ] 870 libs = [ "bz2" ]
870 } 871 }
871 } 872 }
872 873
873 } 874 }
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