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 'host_arch%': '<(host_arch)', | 42 'host_arch%': '<(host_arch)', |
43 'target_arch%': '<(target_arch)', | 43 'target_arch%': '<(target_arch)', |
44 }, | 44 }, |
45 'clang_dir%': 'third_party/llvm-build/Release+Asserts', | 45 'clang_dir%': 'third_party/llvm-build/Release+Asserts', |
46 # These two are needed by V8. | 46 # These two are needed by V8. |
47 'host_arch%': '<(host_arch)', | 47 'host_arch%': '<(host_arch)', |
48 'target_arch%': '<(target_arch)', | 48 'target_arch%': '<(target_arch)', |
49 'werror%': '-Werror', | 49 'werror%': '-Werror', |
50 'v8_optimized_debug%': 0, | 50 'v8_optimized_debug%': 0, |
51 'v8_use_external_startup_data%': 0, | 51 'v8_use_external_startup_data%': 0, |
52 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', | 52 'icu_gyp_path': '../third_party/icu/icu.gyp', |
53 'libjpeg_gyp_path': '../third_party/third_party.gyp', | 53 'libjpeg_gyp_path': '../third_party/third_party.gyp', |
54 'conditions': [ | 54 'conditions': [ |
55 ['OS == "win"', { | 55 ['OS == "win"', { |
56 'os_posix%': 0, | 56 'os_posix%': 0, |
57 }, { | 57 }, { |
58 'os_posix%': 1, | 58 'os_posix%': 1, |
59 }], | 59 }], |
60 ['OS=="linux" or OS=="mac"', { | 60 ['OS=="linux" or OS=="mac"', { |
61 'clang%': 1, | 61 'clang%': 1, |
62 'host_clang%': 1, | 62 'host_clang%': 1, |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |