| OLD | NEW |
| (Empty) |
| 1 # Copyright 2008-2009 Google Inc. | |
| 2 # | |
| 3 # Licensed under the Apache License, Version 2.0 (the "License"); | |
| 4 # you may not use this file except in compliance with the License. | |
| 5 # You may obtain a copy of the License at | |
| 6 # | |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 # | |
| 9 # Unless required by applicable law or agreed to in writing, software | |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 # See the License for the specific language governing permissions and | |
| 13 # limitations under the License. | |
| 14 # ======================================================================== | |
| 15 | |
| 16 Import('env') | |
| 17 | |
| 18 local_env = env.Clone() | |
| 19 | |
| 20 inputs = [ | |
| 21 'setup.cc', | |
| 22 'setup_files.cc', | |
| 23 'setup_google_update.cc', | |
| 24 'setup_metrics.cc', | |
| 25 ] | |
| 26 | |
| 27 # Need to look in output dir to find .h files generated by midl compiler. | |
| 28 # This also allows Hammer to understand dependencies between this subdir | |
| 29 # and the .idl files in the goopdate folder. | |
| 30 # TODO(omaha): It would be nice to eliminate references to COM files from setup. | |
| 31 local_env['CPPPATH'] += ['$OBJ_ROOT'] | |
| 32 | |
| 33 | |
| 34 # Build these into a static library. | |
| 35 local_env.ComponentStaticLibrary('setup', inputs) | |
| OLD | NEW |