| OLD | NEW |
| (Empty) |
| 1 # Copyright 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 # Create a local clone, so the parent environment is | |
| 19 # unaffected by changes made here. | |
| 20 local_env = env.Clone() | |
| 21 | |
| 22 local_env.Append( | |
| 23 CCFLAGS = [ | |
| 24 '/wd4510', # default constructor could not be generated | |
| 25 '/wd4610', # object 'class' can never be instantiated | |
| 26 ], | |
| 27 CPPPATH = [ | |
| 28 '$MAIN_DIR/third_party/c99/include', # C99 inttypes.h for security | |
| 29 | |
| 30 # Need to look in output dir to find .h files generated by midl compiler
. | |
| 31 # This also allows Hammer to understand dependencies between this subdir | |
| 32 # and the .idl files in the goopdate folder. | |
| 33 '$OBJ_ROOT', | |
| 34 ], | |
| 35 ) | |
| 36 | |
| 37 inputs = [ | |
| 38 'bind_status_callback.cc', | |
| 39 'bits_request.cc', | |
| 40 'bits_job_callback.cc', | |
| 41 'bits_utils.cc', | |
| 42 # 'browser_request.cc', # it has a dependency on goopdate's idl | |
| 43 'cup_request.cc', | |
| 44 'cup_utils.cc', | |
| 45 'detector.cc', | |
| 46 'http_client.cc', | |
| 47 'simple_request.cc', | |
| 48 'urlmon_request.cc', | |
| 49 'net_diags.cc', | |
| 50 'net_utils.cc', | |
| 51 'network_config.cc', | |
| 52 'network_request.cc', | |
| 53 'network_request_impl.cc', | |
| 54 'proxy_auth.cc', | |
| 55 #'wininet.cc', # we don't have support for wininet yet | |
| 56 'winhttp.cc', | |
| 57 'winhttp_adapter.cc', | |
| 58 'winhttp_vtable.cc', | |
| 59 ] | |
| 60 | |
| 61 # Build these into a library. | |
| 62 local_env.ComponentStaticLibrary('net', inputs) | |
| OLD | NEW |