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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 ], | 446 ], |
447 }], # OS=="win" | 447 }], # OS=="win" |
448 ['OS=="mac"', { | 448 ['OS=="mac"', { |
449 'target_conditions': [ | 449 'target_conditions': [ |
450 ['_type!="static_library"', { | 450 ['_type!="static_library"', { |
451 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 451 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
452 }], | 452 }], |
453 ], # target_conditions | 453 ], # target_conditions |
454 'variables': { | 454 'variables': { |
455 'mac_sdk_min': '10.10', | 455 'mac_sdk_min': '10.10', |
456 'mac_sdk%': '<!(python <(DEPTH)/build_gyp/mac_find_sdk.py <(mac_sdk_mi
n))', | 456 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py <(mac_sdk_min))'
, |
457 }, | 457 }, |
458 'xcode_settings': { | 458 'xcode_settings': { |
459 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot | 459 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot |
460 # See comment in Chromium's common.gypi for why this is needed. | 460 # See comment in Chromium's common.gypi for why this is needed. |
461 'SYMROOT': '<(DEPTH)/xcodebuild', | 461 'SYMROOT': '<(DEPTH)/xcodebuild', |
462 }, | 462 }, |
463 }], # OS=="mac" | 463 }], # OS=="mac" |
464 ['v8_use_external_startup_data==1', { | 464 ['v8_use_external_startup_data==1', { |
465 'defines': [ | 465 'defines': [ |
466 'V8_USE_EXTERNAL_STARTUP_DATA', | 466 'V8_USE_EXTERNAL_STARTUP_DATA', |
(...skipping 30 matching lines...) Expand all Loading... |
497 ], | 497 ], |
498 }], # OS=="win" | 498 }], # OS=="win" |
499 ["use_goma==1", { | 499 ["use_goma==1", { |
500 'make_global_settings': [ | 500 'make_global_settings': [ |
501 ['CC_wrapper', '<(gomadir)/gomacc'], | 501 ['CC_wrapper', '<(gomadir)/gomacc'], |
502 ['CXX_wrapper', '<(gomadir)/gomacc'], | 502 ['CXX_wrapper', '<(gomadir)/gomacc'], |
503 ], | 503 ], |
504 }], # use_goma==1 | 504 }], # use_goma==1 |
505 ], | 505 ], |
506 } | 506 } |
OLD | NEW |