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

Side by Side Diff: build/standalone.gypi

Issue 987063002: Force full rebuilding after clang rolls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 ['CC.host', '$(CC)'], 551 ['CC.host', '$(CC)'],
552 ['CXX.host', '$(CXX)'], 552 ['CXX.host', '$(CXX)'],
553 ], 553 ],
554 }], 554 }],
555 ['clang==1 and OS=="win"', { 555 ['clang==1 and OS=="win"', {
556 'make_global_settings': [ 556 'make_global_settings': [
557 # On Windows, gyp's ninja generator only looks at CC. 557 # On Windows, gyp's ninja generator only looks at CC.
558 ['CC', '../<(clang_dir)/bin/clang-cl'], 558 ['CC', '../<(clang_dir)/bin/clang-cl'],
559 ], 559 ],
560 }], 560 }],
561 ['(clang==1 or host_clang==1) and OS!="win"', {
562 # This is here so that all files get recompiled after a clang roll and
563 # when turning clang on or off.
564 # (defines are passed via the command line, and build systems rebuild
565 # things when their commandline changes). Nothing should ever read this
566 # define.
567 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh - -print-revision)'],
568 }],
561 # TODO(yyanagisawa): supports GENERATOR==make 569 # TODO(yyanagisawa): supports GENERATOR==make
562 # make generator doesn't support CC_wrapper without CC 570 # make generator doesn't support CC_wrapper without CC
563 # in make_global_settings yet. 571 # in make_global_settings yet.
564 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 572 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
565 'make_global_settings': [ 573 'make_global_settings': [
566 ['CC_wrapper', '<(gomadir)/gomacc'], 574 ['CC_wrapper', '<(gomadir)/gomacc'],
567 ['CXX_wrapper', '<(gomadir)/gomacc'], 575 ['CXX_wrapper', '<(gomadir)/gomacc'],
568 ['CC.host_wrapper', '<(gomadir)/gomacc'], 576 ['CC.host_wrapper', '<(gomadir)/gomacc'],
569 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 577 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
570 ], 578 ],
571 }], 579 }],
572 ], 580 ],
573 } 581 }
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