# Copyright 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. { 'variables': { # chromium_code indicates that the code is not # third-party code and should be subjected to strict compiler # warnings/errors in order to catch programming mistakes. 'chromium_code': 1, 'instaweb_root': '<(DEPTH)/net/instaweb', }, 'targets': [ { 'target_name': 'instaweb_apr', 'type': '<(library)', 'dependencies': [ '<(DEPTH)/base/base.gyp:base', '<(DEPTH)/build/build_util.gyp:mod_pagespeed_version_header', '<(DEPTH)/third_party/serf/serf.gyp:serf', '<(DEPTH)/third_party/apr/apr.gyp:include', '<(DEPTH)/third_party/aprutil/aprutil.gyp:include', '<(instaweb_root)/instaweb.gyp:instaweb_automatic', '<(instaweb_root)/instaweb.gyp:instaweb_htmlparse', '<(instaweb_root)/instaweb.gyp:instaweb_http', '<(instaweb_root)/instaweb.gyp:instaweb_rewriter', '<(instaweb_root)/instaweb.gyp:instaweb_spriter', '<(instaweb_root)/instaweb.gyp:instaweb_system', '<(instaweb_root)/instaweb.gyp:instaweb_util', '<(instaweb_root)/instaweb.gyp:process_context', '<(DEPTH)/pagespeed/kernel.gyp:pthread_system', ], 'include_dirs': [ '<(DEPTH)', ], 'sources': [ '<(DEPTH)/pagespeed/apache/apache_config.cc', '<(DEPTH)/pagespeed/apache/apache_fetch.cc', '<(DEPTH)/pagespeed/apache/apache_thread_system.cc', '<(DEPTH)/pagespeed/apache/apr_timer.cc', '<(DEPTH)/pagespeed/apache/simple_buffered_apache_fetch.cc', ], 'export_dependent_settings': [ '<(instaweb_root)/instaweb.gyp:instaweb_util', '<(instaweb_root)/instaweb.gyp:instaweb_htmlparse', ], }, ], }