| OLD | NEW |
| (Empty) |
| 1 # Copyright 2009-2010 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 local_env['CPPPATH'] += [ | |
| 21 '$OBJ_ROOT', # Needed for generated files. | |
| 22 ] | |
| 23 | |
| 24 inputs = [ | |
| 25 'app_registry_utils.cc', | |
| 26 'command_line.cc', | |
| 27 'command_line_builder.cc', | |
| 28 'config_manager.cc', | |
| 29 'event_logger.cc', | |
| 30 'experiment_labels.cc', | |
| 31 'extra_args_parser.cc', | |
| 32 'goopdate_command_line_validator.cc', | |
| 33 'goopdate_utils.cc', | |
| 34 'lang.cc', | |
| 35 'oem_install_utils.cc', | |
| 36 'ping.cc', | |
| 37 'ping_event.cc', | |
| 38 'scheduled_task_utils.cc', | |
| 39 'stats_uploader.cc', | |
| 40 'update3_utils.cc', | |
| 41 'update_request.cc', | |
| 42 'update_response.cc', | |
| 43 'webplugin_utils.cc', | |
| 44 'web_services_client.cc', | |
| 45 'xml_const.cc', | |
| 46 'xml_parser.cc', | |
| 47 '$LIB_DIR/logging.lib', # Required by statsreport below | |
| 48 '$LIB_DIR/omaha3_idl.lib', # Required by common | |
| 49 '$LIB_DIR/statsreport.lib', # Required by common | |
| 50 ] | |
| 51 | |
| 52 # Build these into a library. | |
| 53 local_env.ComponentStaticLibrary('common', inputs) | |
| 54 | |
| 55 customization_test_env = env.Clone() | |
| 56 customization_test_env.OmahaUnittest( | |
| 57 name='omaha_customization_unittest', | |
| 58 source=[ | |
| 59 'omaha_customization_unittest.cc', | |
| 60 ], | |
| 61 LIBS=[ | |
| 62 '$LIB_DIR/common', | |
| 63 ], | |
| 64 all_in_one=False, | |
| 65 COMPONENT_TEST_SIZE='small', | |
| 66 ) | |
| OLD | NEW |