• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:- +full:wno +full:- +full:sign +full:- +full:conversion

3 # Use of this source code is governed by a BSD-style license that can be
13 ar = "$ndk/toolchains/$ndk_gccdir-4.9/prebuilt/$ndk_host/$ndk_target/bin/ar.exe"
17 ar = "$ndk/toolchains/$ndk_gccdir-4.9/prebuilt/$ndk_host/$ndk_target/bin/ar"
88 "/utf-8", # Set Source and Executable character sets to UTF-8.
148 "-fstrict-aliasing",
149 "-fPIC",
150 "-Werror",
153 "-std=c++11",
154 "-fno-threadsafe-statics",
158 # These would make stack traces worse on Linux, so we don't just set them willy-nilly.
160 cflags += [ "-fvisibility=hidden" ]
161 cflags_cc += [ "-fvisibility-inlines-hidden" ]
167 "-march=armv7-a",
168 "-mfpu=neon",
169 "-mthumb",
173 "-no-integrated-as", # Clang <4.0 doesn't understand 'usw' mnemonic.
174 "-march=mips32r2",
175 "-mdspr2",
178 asmflags += [ "-m32" ]
180 "-m32",
181 "-msse2",
182 "-mfpmath=sse",
184 ldflags += [ "-m32" ]
189 "-fno-builtin-malloc",
190 "-fno-builtin-calloc",
191 "-fno-builtin-realloc",
192 "-fno-builtin-free",
199 "--target=$ndk_target",
200 "-B$ndk/toolchains/$ndk_gccdir-4.9/prebuilt/$ndk_host/$ndk_target/bin",
203 "--sysroot=$ndk/platforms/$ndk_platform",
204 "--target=$ndk_target",
205 "-B$ndk/toolchains/$ndk_gccdir-4.9/prebuilt/$ndk_host/$ndk_target/bin",
208 "-isystem$ndk/sources/android/support/include",
209 "-isystem$ndk/sources/cxx-stl/gnu-libstdc++/4.9/include",
210 "-isystem$ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/$ndk_stdlib/include",
213 "--sysroot=$ndk/platforms/$ndk_platform",
214 "--target=$ndk_target",
215 "-B$ndk/toolchains/$ndk_gccdir-4.9/prebuilt/$ndk_host/$ndk_target/bin",
218 "$ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/$ndk_stdlib",
219 "$ndk/toolchains/$ndk_gccdir-4.9/prebuilt/$ndk_host/lib/gcc/$ndk_target/4.9.x",
227 ldflags += [ "-B$ndk/platforms/$ndk_platform/usr/lib64" ]
243 "-isysroot",
245 "-arch",
249 "-isysroot",
251 "-arch",
254 cflags_cc += [ "-stdlib=libc++" ]
256 "-isysroot",
258 "-arch",
260 "-stdlib=libc++",
274 …ion,integer-divide-by-zero,nonnull-attribute,null,object-size,return,returns-nonnull-attribute,shi…
282 "-fsanitize=$sanitizers",
283 "-fno-sanitize-recover=$sanitizers",
284 "-fsanitize-blacklist=" + rebase_path("../tools/xsan.blacklist"),
286 ldflags += [ "-fsanitize=$sanitizers" ]
288 cflags += [ "-fsanitize-memory-track-origins" ]
289 cflags_cc += [ "-stdlib=libc++" ]
290 ldflags += [ "-stdlib=libc++" ]
298 cflags_cc = [ "-fno-exceptions" ]
311 "/wd4244", # conversion from 'float' to 'int', possible loss of data
312 "/wd4267", # conversion from 'size_t' to 'int', possible loss of data
321 "-Wall",
322 "-Wextra",
323 "-Winit-self",
324 "-Wpointer-arith",
325 "-Wsign-compare",
326 "-Wvla",
328 "-Wno-deprecated-declarations",
329 "-Wno-maybe-uninitialized",
331 cflags_cc += [ "-Wnon-virtual-dtor" ]
335 "-Weverything",
336 "-Wno-unknown-warning-option", # Let older Clangs ignore newer Clangs' warnings.
341 # Clang seems to think new/malloc will only be 4-byte aligned on x86 Android and 32-bit iOS.
342 # We're pretty sure it's actually 8-byte alignment.
343 cflags += [ "-Wno-over-aligned" ]
347 "-Wno-cast-align",
348 "-Wno-conditional-uninitialized",
349 "-Wno-conversion",
350 "-Wno-disabled-macro-expansion",
351 "-Wno-documentation",
352 "-Wno-documentation-unknown-command",
353 "-Wno-double-promotion",
354 "-Wno-exit-time-destructors", # TODO: OK outside libskia
355 "-Wno-float-conversion",
356 "-Wno-float-equal",
357 "-Wno-format-nonliteral",
358 "-Wno-global-constructors", # TODO: OK outside libskia
359 "-Wno-gnu-zero-variadic-macro-arguments",
360 "-Wno-missing-prototypes",
361 "-Wno-missing-variable-declarations",
362 "-Wno-pedantic",
363 "-Wno-reserved-id-macro",
364 "-Wno-shadow",
365 "-Wno-shift-sign-overflow",
366 "-Wno-sign-conversion",
367 "-Wno-signed-enum-bitfield",
368 "-Wno-switch-enum",
369 "-Wno-undef",
370 "-Wno-unreachable-code",
371 "-Wno-unreachable-code-break",
372 "-Wno-unreachable-code-return",
373 "-Wno-unused-macros",
374 "-Wno-unused-member-function",
377 "-Wno-abstract-vbase-init",
378 "-Wno-weak-vtables",
383 "-Wno-covered-switch-default",
384 "-Wno-deprecated",
385 "-Wno-implicit-fallthrough",
386 "-Wno-missing-noreturn",
387 "-Wno-old-style-cast",
388 "-Wno-padded",
391 "-Wno-c++98-compat",
392 "-Wno-c++98-compat-pedantic",
393 "-Wno-undefined-func-template",
396 "-Wno-direct-ivar-access",
397 "-Wno-objc-interface-ivars",
404 cflags = [ "-Wno-unused-parameter" ]
417 # to Android devices. -gline-tables-only is a lot slimmer.
419 cflags = [ "-gline-tables-only" ]
424 cflags = [ "-g" ]
429 if (sanitize != "ASAN") { # -fsanitize=vptr requires RTTI
431 cflags_cc = [ "/GR-" ]
433 cflags_cc = [ "-fno-rtti" ]
443 "/GS-",
451 "-O3",
452 "-fdata-sections",
453 "-ffunction-sections",
456 ldflags = [ "-dead_strip" ]
458 ldflags = [ "-Wl,--gc-sections" ]
466 ldflags = [ "-pie" ]
468 ldflags = [ "-Wl,-rpath,@loader_path/." ]
471 "-rdynamic",
472 "-Wl,-rpath,\$ORIGIN",
552 # inputs_newline works around a fixed per-line buffer size in the linker.
582 # inputs_newline works around a fixed per-line buffer size in the linker.
601 # inputs_newline works around a fixed per-line buffer size in the linker.
619 lib_switch = "-l"
620 lib_dir_switch = "-L"
624 …command = "$cc_wrapper $cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}}
634 …command = "$cc_wrapper $cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}…
644 …command = "$cc_wrapper $cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objc…
654 …mand = "$cc_wrapper $cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} {…
664 …command = "$cc_wrapper $cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{asmflags}} -c {{source…
688 rpath = "-Wl,-soname,$soname"
690 rpath = "-Wl,-install_name,@rpath/$soname"
693 …command = "$cc_wrapper $cxx -shared {{ldflags}} {{inputs}} {{solibs}} {{libs}} $rpath -o {{output}…
703 command = "$cc_wrapper $cxx {{ldflags}} {{inputs}} {{solibs}} {{libs}} -o {{output}}"