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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'target_arch%': '<(target_arch)', | 42 'target_arch%': '<(target_arch)', |
43 }, | 43 }, |
44 'clang_dir%': 'third_party/llvm-build/Release+Asserts', | 44 'clang_dir%': 'third_party/llvm-build/Release+Asserts', |
45 # These two are needed by V8. | 45 # These two are needed by V8. |
46 'host_arch%': '<(host_arch)', | 46 'host_arch%': '<(host_arch)', |
47 'target_arch%': '<(target_arch)', | 47 'target_arch%': '<(target_arch)', |
48 'werror%': '-Werror', | 48 'werror%': '-Werror', |
49 'v8_optimized_debug%': 0, | 49 'v8_optimized_debug%': 0, |
50 'v8_use_external_startup_data%': 0, | 50 'v8_use_external_startup_data%': 0, |
51 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', | 51 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', |
| 52 'libjpeg_gyp_path': '../third_party/third_party.gyp', |
52 'conditions': [ | 53 'conditions': [ |
53 ['OS == "win"', { | 54 ['OS == "win"', { |
54 'os_posix%': 0, | 55 'os_posix%': 0, |
55 }, { | 56 }, { |
56 'os_posix%': 1, | 57 'os_posix%': 1, |
57 }], | 58 }], |
58 ['OS=="linux" or OS=="mac"', { | 59 ['OS=="linux" or OS=="mac"', { |
59 'clang%': 1, | 60 'clang%': 1, |
60 }, { | 61 }, { |
61 'clang%': 0, | 62 'clang%': 0, |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 ], | 335 ], |
335 }], # OS=="linux" or OS=="mac" | 336 }], # OS=="linux" or OS=="mac" |
336 ["use_goma==1", { | 337 ["use_goma==1", { |
337 'make_global_settings': [ | 338 'make_global_settings': [ |
338 ['CC_wrapper', '<(gomadir)/gomacc'], | 339 ['CC_wrapper', '<(gomadir)/gomacc'], |
339 ['CXX_wrapper', '<(gomadir)/gomacc'], | 340 ['CXX_wrapper', '<(gomadir)/gomacc'], |
340 ], | 341 ], |
341 }], # use_goma==1 | 342 }], # use_goma==1 |
342 ], | 343 ], |
343 } | 344 } |
OLD | NEW |