| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 'AdditionalOptions': ['/ignore:4221'], | 179 'AdditionalOptions': ['/ignore:4221'], |
| 180 }, | 180 }, |
| 181 'VCLinkerTool': { | 181 'VCLinkerTool': { |
| 182 'GenerateDebugInformation': 'true', | 182 'GenerateDebugInformation': 'true', |
| 183 'LinkIncremental': '1', | 183 'LinkIncremental': '1', |
| 184 # SubSystem values: | 184 # SubSystem values: |
| 185 # 0 == not set | 185 # 0 == not set |
| 186 # 1 == /SUBSYSTEM:CONSOLE | 186 # 1 == /SUBSYSTEM:CONSOLE |
| 187 # 2 == /SUBSYSTEM:WINDOWS | 187 # 2 == /SUBSYSTEM:WINDOWS |
| 188 'SubSystem': '1', | 188 'SubSystem': '1', |
| 189 'AdditionalDependencies': [ | |
| 190 'advapi32.lib', | |
| 191 'gdi32.lib', | |
| 192 'user32.lib', | |
| 193 ], | |
| 194 }, | 189 }, |
| 195 }, | 190 }, |
| 196 'xcode_settings': { | 191 'xcode_settings': { |
| 197 'ALWAYS_SEARCH_USER_PATHS': 'NO', | 192 'ALWAYS_SEARCH_USER_PATHS': 'NO', |
| 198 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks | 193 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks |
| 199 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic | 194 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
| 200 # (Equivalent to -fPIC) | 195 # (Equivalent to -fPIC) |
| 201 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 196 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 202 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 197 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 203 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings | 198 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 ['component=="static_library"', { | 230 ['component=="static_library"', { |
| 236 'defines': [ | 231 'defines': [ |
| 237 '_HAS_EXCEPTIONS=0', | 232 '_HAS_EXCEPTIONS=0', |
| 238 ], | 233 ], |
| 239 }], | 234 }], |
| 240 ], | 235 ], |
| 241 }, | 236 }, |
| 242 }], # OS=="win" | 237 }], # OS=="win" |
| 243 ['OS=="mac"', { | 238 ['OS=="mac"', { |
| 244 'target_defaults': { | 239 'target_defaults': { |
| 245 'link_settings': { | |
| 246 'libraries': [ | |
| 247 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | |
| 248 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | |
| 249 ], | |
| 250 }, | |
| 251 'target_conditions': [ | 240 'target_conditions': [ |
| 252 ['_type!="static_library"', { | 241 ['_type!="static_library"', { |
| 253 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 242 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 254 }], | 243 }], |
| 255 ], # target_conditions | 244 ], # target_conditions |
| 256 }, # target_defaults | 245 }, # target_defaults |
| 257 }], # OS=="mac" | 246 }], # OS=="mac" |
| 258 ], | 247 ], |
| 259 } | 248 } |
| OLD | NEW |