# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Import('env') env = env.Clone() env.Prepend( CPPPATH = [ '.', '#/..', ], LINKFLAGS = [ '/INCREMENTAL', '/MANIFEST', '/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"uxtheme.dll"', '/MACHINE:X86', '/FIXED:No', '/safeseh', '/dynamicbase', '/ignore:4199', '/nxcompat', '/DEBUG', ], LIBS = [ 'comsuppw.lib', ], ) env.TypeLibrary('activex_test_control.idl') input_files = [ 'activex_test_control.cc', 'activex_test_control.def', 'chrome_test_control.cc', ] dll = env.ChromeSharedLibrary(['activex_test_control', 'activex_test_control.lib'], input_files) i = env.Install('$TARGET_ROOT', dll) env.Alias('chrome', i)