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

Unified Diff: recovery/repair_exe/custom_action/build.scons

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recovery/repair_exe/build.scons ('k') | recovery/repair_exe/custom_action/execute_repair_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recovery/repair_exe/custom_action/build.scons
diff --git a/recovery/repair_exe/custom_action/build.scons b/recovery/repair_exe/custom_action/build.scons
deleted file mode 100644
index 81942edbdc880812c77b40c58c5cc16556f094d8..0000000000000000000000000000000000000000
--- a/recovery/repair_exe/custom_action/build.scons
+++ /dev/null
@@ -1,137 +0,0 @@
-#!/usr/bin/python2.4
-#
-# Copyright 2009-2010 Google Inc.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ========================================================================
-
-
-Import('env')
-
-
-#
-# Build executecustomaction.dll
-#
-
-lib_target_name = 'executecustomaction_lib'
-
-lib_env = env.Clone()
-
-lib_inputs = [
- 'execute_repair_file.cc',
- ]
-if env.Bit('use_precompiled_headers'):
- lib_inputs += lib_env.EnablePrecompile(lib_target_name)
-
-lib_output = lib_env.ComponentLibrary(
- lib_name=lib_target_name,
- source=lib_inputs,
-)
-
-lib_env.OmahaUnittest(
- name='repair_exe_custom_action_unittest',
- source='execute_repair_file_unittest.cc',
- LIBS=lib_target_name + '.lib',
-)
-
-
-dll_target_name = 'executecustomaction'
-
-dll_env = env.Clone(
- # Build a dll, not a lib.
- COMPONENT_STATIC = False,
-)
-
-dll_env.Append(
- LIBS = [
- ('atls.lib', 'atlsd.lib')[dll_env.Bit('debug')],
- ('libcmt.lib', 'libcmtd.lib')[dll_env.Bit('debug')],
- ('libcpmt.lib', 'libcpmtd.lib')[dll_env.Bit('debug')],
- '$LIB_DIR/base.lib',
- '$LIB_DIR/google_update_recovery.lib',
- '$LIB_DIR/repair_goopdate.lib',
- 'crypt32.lib',
- 'msi.lib',
- 'wintrust.lib',
-
- # These are required by base.lib
- 'netapi32.lib',
- 'psapi.lib',
- 'rasapi32.lib',
- 'shlwapi.lib',
- 'userenv.lib',
- 'version.lib',
- 'wtsapi32.lib',
- lib_target_name + '.lib',
- ],
-
- CPPDEFINES = [
- '_USRDLL',
- ],
-)
-
-dll_inputs = [
- 'executecustomaction.cc',
- 'executecustomaction.def',
- ]
-if env.Bit('use_precompiled_headers'):
- dll_inputs += dll_env.EnablePrecompile(dll_target_name)
-
-dll_env.ComponentLibrary(
- lib_name=dll_target_name,
- source=dll_inputs,
-)
-
-
-#
-# Build testelevateusingmsp.exe
-#
-test_env = env.Clone()
-
-test_env['LIBS'] += [
- ('atls.lib', 'atlsd.lib')[test_env.Bit('debug')],
- ('libcmt.lib', 'libcmtd.lib')[test_env.Bit('debug')],
- ('libcpmt.lib', 'libcpmtd.lib')[test_env.Bit('debug')],
- '$LIB_DIR/base.lib',
- '$LIB_DIR/repair_goopdate.lib',
- 'crypt32.lib',
- 'msi.lib',
- 'wintrust.lib',
- # These are required by base.lib
- 'netapi32.lib',
- 'psapi.lib',
- 'rasapi32.lib',
- 'shlwapi.lib',
- 'userenv.lib',
- 'version.lib',
- 'wtsapi32.lib',
- ]
-
-# This is a console application.
-test_env.FilterOut(LINKFLAGS = ['/SUBSYSTEM:WINDOWS'])
-test_env['LINKFLAGS'] += ['/SUBSYSTEM:CONSOLE']
-
-target_name = 'testelevateusingmsp'
-
-test_inputs = [
- 'testelevateusingmsp.cc',
- ]
-if env.Bit('use_precompiled_headers'):
- test_inputs += test_env.EnablePrecompile(target_name)
-
-# This test requires arguments, so do not create a run alias.
-test_env.ComponentTestProgram(
- prog_name=target_name,
- source=test_inputs,
- COMPONENT_TEST_RUNNABLE=False
-)
« no previous file with comments | « recovery/repair_exe/build.scons ('k') | recovery/repair_exe/custom_action/execute_repair_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698