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 'chromium_code%': 0, | 10 'chromium_code%': 0, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 # no need to load it dynamically. | 94 # no need to load it dynamically. |
95 'clang_dynlib_flags%': '', | 95 'clang_dynlib_flags%': '', |
96 }], | 96 }], |
97 ['OS=="android" or OS=="linux"', { | 97 ['OS=="android" or OS=="linux"', { |
98 'clang_plugin_check_ipc_arg': '-Xclang -plugin-arg-find-bad-constr
ucts -Xclang check-ipc', | 98 'clang_plugin_check_ipc_arg': '-Xclang -plugin-arg-find-bad-constr
ucts -Xclang check-ipc', |
99 }, { | 99 }, { |
100 'clang_plugin_check_ipc_arg': '', | 100 'clang_plugin_check_ipc_arg': '', |
101 }], | 101 }], |
102 ], | 102 ], |
103 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' | 103 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' |
104 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ' | 104 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ', |
105 '-Xclang -plugin-arg-find-bad-constructs -Xclang check-implicit-copy-c
tors ', | |
106 }, | 105 }, |
107 'clang_chrome_plugins_flags%': | 106 'clang_chrome_plugins_flags%': |
108 '<(clang_dynlib_flags)' | 107 '<(clang_dynlib_flags)' |
109 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)
<(clang_plugin_check_ipc_arg)', | 108 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)
<(clang_plugin_check_ipc_arg)', |
110 }], | 109 }], |
111 ], | 110 ], |
112 }, | 111 }, |
113 'target_defaults': { | 112 'target_defaults': { |
114 'default_configuration': 'Debug', | 113 'default_configuration': 'Debug', |
115 'configurations': { | 114 'configurations': { |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 ], | 582 ], |
584 }], # OS=="win" | 583 }], # OS=="win" |
585 ["use_goma==1", { | 584 ["use_goma==1", { |
586 'make_global_settings': [ | 585 'make_global_settings': [ |
587 ['CC_wrapper', '<(gomadir)/gomacc'], | 586 ['CC_wrapper', '<(gomadir)/gomacc'], |
588 ['CXX_wrapper', '<(gomadir)/gomacc'], | 587 ['CXX_wrapper', '<(gomadir)/gomacc'], |
589 ], | 588 ], |
590 }], # use_goma==1 | 589 }], # use_goma==1 |
591 ], | 590 ], |
592 } | 591 } |
OLD | NEW |