| OLD | NEW |
| 1 # Copyright 2014 PDFium Authors. All rights reserved. | 1 # Copyright 2014 PDFium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Definitions to be used when building stand-alone PDFium binaries. | 5 # Definitions to be used when building stand-alone PDFium binaries. |
| 6 | 6 |
| 7 { | 7 { |
| 8 'variables': { | 8 'variables': { |
| 9 'component%': 'static_library', | 9 'component%': 'static_library', |
| 10 'clang%': 0, | 10 'clang%': 0, |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 ], | 447 ], |
| 448 }], # OS=="win" | 448 }], # OS=="win" |
| 449 ['OS=="mac"', { | 449 ['OS=="mac"', { |
| 450 'target_conditions': [ | 450 'target_conditions': [ |
| 451 ['_type!="static_library"', { | 451 ['_type!="static_library"', { |
| 452 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 452 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 453 }], | 453 }], |
| 454 ], # target_conditions | 454 ], # target_conditions |
| 455 'variables': { | 455 'variables': { |
| 456 'mac_sdk_min': '10.10', | 456 'mac_sdk_min': '10.10', |
| 457 'mac_sdk%': '<!(python <(DEPTH)/build/gyp/tools/mac_find_sdk.py <(mac_
sdk_min))', | 457 'mac_sdk%': '<!(python <(DEPTH)/build/mac_find_sdk.py <(mac_sdk_min))'
, |
| 458 }, | 458 }, |
| 459 'xcode_settings': { | 459 'xcode_settings': { |
| 460 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot | 460 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot |
| 461 # See comment in Chromium's common.gypi for why this is needed. | 461 # See comment in Chromium's common.gypi for why this is needed. |
| 462 'SYMROOT': '<(DEPTH)/xcodebuild', | 462 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 463 }, | 463 }, |
| 464 }], # OS=="mac" | 464 }], # OS=="mac" |
| 465 ['v8_use_external_startup_data==1', { | 465 ['v8_use_external_startup_data==1', { |
| 466 'defines': [ | 466 'defines': [ |
| 467 'V8_USE_EXTERNAL_STARTUP_DATA', | 467 'V8_USE_EXTERNAL_STARTUP_DATA', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 498 ], | 498 ], |
| 499 }], # OS=="win" | 499 }], # OS=="win" |
| 500 ["use_goma==1", { | 500 ["use_goma==1", { |
| 501 'make_global_settings': [ | 501 'make_global_settings': [ |
| 502 ['CC_wrapper', '<(gomadir)/gomacc'], | 502 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 503 ['CXX_wrapper', '<(gomadir)/gomacc'], | 503 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 504 ], | 504 ], |
| 505 }], # use_goma==1 | 505 }], # use_goma==1 |
| 506 ], | 506 ], |
| 507 } | 507 } |
| OLD | NEW |