OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 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('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$GTEST_DIR/../using_gtest.scons', | 10 '$GTEST_DIR/../using_gtest.scons', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 # TODO(bradnelson): This step generates sandbox.pch.ib_tag | 75 # TODO(bradnelson): This step generates sandbox.pch.ib_tag |
76 # SCons doesn't know. | 76 # SCons doesn't know. |
77 env_p = env.Clone() | 77 env_p = env.Clone() |
78 env_p.Append(CCFLAGS='/Ylsandbox') | 78 env_p.Append(CCFLAGS='/Ylsandbox') |
79 pch, obj = env_p.PCH(['sandbox.pch', 'stdafx.obj'], 'stdafx.cc') | 79 pch, obj = env_p.PCH(['sandbox.pch', 'stdafx.obj'], 'stdafx.cc') |
80 env['PCH'] = pch | 80 env['PCH'] = pch |
81 env['PCHSTOP'] = 'stdafx.h' | 81 env['PCHSTOP'] = 'stdafx.h' |
82 env.Append(CCPCHFLAGS = ['/FIstdafx.h']) | 82 env.Append(CCPCHFLAGS = ['/FIstdafx.h']) |
83 | 83 |
84 env.ChromeStaticLibrary('sandbox', input_files + [obj]) | 84 env.ChromeLibrary('sandbox', input_files + [obj]) |
OLD | NEW |