OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Crashpad Authors. All rights reserved. |
| 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 'includes': [ |
| 17 '../../build/crashpad_in_chromium.gypi', |
| 18 ], |
| 19 'targets': [ |
| 20 { |
| 21 # To support both Crashpad’s standalone build and its in-Chromium build, |
| 22 # Crashpad code depending on base should do so through this shim, which |
| 23 # will either get base from mini_chromium or Chromium depending on the |
| 24 # build type. |
| 25 'target_name': 'base', |
| 26 'type': 'none', |
| 27 'conditions': [ |
| 28 ['crashpad_in_chromium==0', { |
| 29 'dependencies': [ |
| 30 'mini_chromium/base/base.gyp:base', |
| 31 ], |
| 32 'export_dependent_settings': [ |
| 33 'mini_chromium/base/base.gyp:base', |
| 34 ], |
| 35 }, { # else: crashpad_in_chromium!=0 |
| 36 'dependencies': [ |
| 37 '../../../../../base/base.gyp:base', |
| 38 ], |
| 39 'export_dependent_settings': [ |
| 40 '../../../../../base/base.gyp:base', |
| 41 ], |
| 42 }], |
| 43 ], |
| 44 }, |
| 45 ], |
| 46 } |
OLD | NEW |