| 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 19 matching lines...) Expand all Loading... |
| 30 'host_arch%': 'ia32', | 30 'host_arch%': 'ia32', |
| 31 }], | 31 }], |
| 32 ], | 32 ], |
| 33 }, | 33 }, |
| 34 'host_arch%': '<(host_arch)', | 34 'host_arch%': '<(host_arch)', |
| 35 'target_arch%': '<(host_arch)', | 35 'target_arch%': '<(host_arch)', |
| 36 }, | 36 }, |
| 37 'host_arch%': '<(host_arch)', | 37 'host_arch%': '<(host_arch)', |
| 38 'target_arch%': '<(target_arch)', | 38 'target_arch%': '<(target_arch)', |
| 39 }, | 39 }, |
| 40 # These two are needed by V8. |
| 40 'host_arch%': '<(host_arch)', | 41 'host_arch%': '<(host_arch)', |
| 41 'target_arch%': '<(target_arch)', | 42 'target_arch%': '<(target_arch)', |
| 42 'werror%': '-Werror', | 43 'werror%': '-Werror', |
| 43 'v8_optimized_debug%': 0, | 44 'v8_optimized_debug%': 0, |
| 44 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', | 45 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', |
| 45 'conditions': [ | 46 'conditions': [ |
| 46 ['OS == "win"', { | 47 ['OS == "win"', { |
| 47 'os_posix%': 0, | 48 'os_posix%': 0, |
| 48 }, { | 49 }, { |
| 49 'os_posix%': 1, | 50 'os_posix%': 1, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 '-ffunction-sections', | 128 '-ffunction-sections', |
| 128 '-O2', | 129 '-O2', |
| 129 ], | 130 ], |
| 130 }], | 131 }], |
| 131 ], # conditions | 132 ], # conditions |
| 132 }, | 133 }, |
| 133 }, | 134 }, |
| 134 'defines!': [ | 135 'defines!': [ |
| 135 'DEBUG', | 136 'DEBUG', |
| 136 ], | 137 ], |
| 137 'cflags!': [ | 138 'cflags': [ |
| 138 '-Wall', | 139 '-Wall', |
| 139 '-W', | 140 '-W', |
| 140 '-Wno-unused-parameter', | 141 '-Wno-unused-parameter', |
| 141 '-pthread', '-fno-exceptions', | 142 '-pthread', '-fno-exceptions', |
| 142 '-fvisibility=hidden', | 143 '-fvisibility=hidden', |
| 143 ], | 144 ], |
| 144 'cflags_cc': [ | 145 'cflags_cc': [ |
| 145 '-Wnon-virtual-dtor', | 146 '-Wnon-virtual-dtor', |
| 146 '-fno-rtti', | 147 '-fno-rtti', |
| 147 ], | 148 ], |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 'target_defaults': { | 240 'target_defaults': { |
| 240 'target_conditions': [ | 241 'target_conditions': [ |
| 241 ['_type!="static_library"', { | 242 ['_type!="static_library"', { |
| 242 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 243 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 243 }], | 244 }], |
| 244 ], # target_conditions | 245 ], # target_conditions |
| 245 }, # target_defaults | 246 }, # target_defaults |
| 246 }], # OS=="mac" | 247 }], # OS=="mac" |
| 247 ], | 248 ], |
| 248 } | 249 } |
| OLD | NEW |