aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/common_conditions.gypi
Commit message (Collapse)AuthorAge
* Refactor skia_warnings_as_errorsGravatar borenet@google.com2013-03-22
| | | | | | Review URL: https://codereview.chromium.org/12963002 git-svn-id: http://skia.googlecode.com/svn/trunk@8330 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable init'ed but unused var warning on windows for closer parity with ↵Gravatar bsalomon@google.com2013-03-21
| | | | | | | | mac/linux warnings. Review URL: https://codereview.chromium.org/12536008 git-svn-id: http://skia.googlecode.com/svn/trunk@8307 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update Android Release build to use -O3.Gravatar commit-bot@chromium.org2013-03-14
| | | | | | | | | | Author: djsollen@google.com Reviewed By: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/12784006 git-svn-id: http://skia.googlecode.com/svn/trunk@8153 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactor android defines to implicitly assume NDK compliance unless it is ↵Gravatar commit-bot@chromium.org2013-03-13
| | | | | | | | | | | | explicitly marked as being specific to the android framework. Author: djsollen@google.com Reviewed By: reed@google.com,borenet@google.com Review URL: https://chromiumcodereview.appspot.com/12739007 git-svn-id: http://skia.googlecode.com/svn/trunk@8124 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turning on warning as error on LinuxGravatar sugoi@google.com2013-03-11
| | | | | | | | | Fixed the few remaining warnings and turned on warning as error on Linux. Explicitly turned off warning as error in libjpeg, cityhash and json. Review URL: https://codereview.chromium.org/12521010 git-svn-id: http://skia.googlecode.com/svn/trunk@8067 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing some warnings on LinuxGravatar sugoi@google.com2013-03-07
| | | | | | | There were only a few warnings left, so I fixed them and enabled the unused variable warning by removing the "-Wno-unused" flag. Only the -Wno-unused-parameter remains for now (could be removed later). Review URL: https://codereview.chromium.org/12480002 git-svn-id: http://skia.googlecode.com/svn/trunk@8030 2bbb7eff-a529-9590-31e7-b0007b416f81
* match chromium's approach for locating the most appropriate macos SDK to useGravatar humper@google.com2013-02-08
| | | | | | | | | | By doing this, the ninja generator for gyp works great on macos, resulting in faster (I think) and much, much terser builds. BUG= Review URL: https://codereview.appspot.com/7142047 git-svn-id: http://skia.googlecode.com/svn/trunk@7684 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix errors when compiling with -Wall -Werror on Android.Gravatar djsollen@google.com2013-02-07
| | | | | | | | This CL also turns those features on by default on Android Review URL: https://codereview.appspot.com/7313049 git-svn-id: http://skia.googlecode.com/svn/trunk@7645 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverse sense of convex-quad-fix compiler flagGravatar robertphillips@google.com2013-01-23
| | | | | | | | https://codereview.appspot.com/7206045/ git-svn-id: http://skia.googlecode.com/svn/trunk@7349 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update Android toolchain to NDK r8d with GCC 4.7Gravatar djsollen@google.com2013-01-23
| | | | | | Review URL: https://codereview.appspot.com/7201045 git-svn-id: http://skia.googlecode.com/svn/trunk@7343 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off WarnAsError when building ANGLE projects on windows.Gravatar bsalomon@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7096 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off warnings-as-error on 64bit windows build due to many size_t-related ↵Gravatar bsalomon@google.com2013-01-08
| | | | | | warnings. git-svn-id: http://skia.googlecode.com/svn/trunk@7095 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable warnings-as-errors on Windows.Gravatar bsalomon@google.com2013-01-08
| | | | | | Review URL: https://codereview.appspot.com/7066054 git-svn-id: http://skia.googlecode.com/svn/trunk@7094 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable werror on 64 bitGravatar humper@google.com2013-01-07
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7057057 git-svn-id: http://skia.googlecode.com/svn/trunk@7066 2bbb7eff-a529-9590-31e7-b0007b416f81
* eliminate all warnings in non-thirdparty code on macGravatar humper@google.com2013-01-07
| | | | | | | | | | | | | | | | Most of these issues were due to functions whose definitions appear in header files; I changed those functions to be 'static inline' instead of just 'static' or 'inline', which kills the warning for such functions. Other functions that were static or anonymous-namespaced but were unused in cpp files were probably called at some point but are no longer; someone who knows more than I do should probably scrub all the functions I either deleted or #if 0'ed out and make sure that the right thing is happening here. Lots of unused variables removed, and one nasty const issue handled. There remains a single warning in thirdparty/externals/cityhash/src/city.cc on line 146 related to a signed/unsigned mismatch. I don't know if we have control over this library so I didn't fix this one, but perhaps someone could do something about that one. BUG= Review URL: https://codereview.appspot.com/7067044 git-svn-id: http://skia.googlecode.com/svn/trunk@7051 2bbb7eff-a529-9590-31e7-b0007b416f81
* The goal is to make the ClangCompile buildstep in the Housekeeping bot turn ↵Gravatar rmistry@google.com2012-12-05
| | | | | | | | red if there is a warning. Review URL: https://codereview.appspot.com/6868055 git-svn-id: http://skia.googlecode.com/svn/trunk@6674 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable profiling options to be selectively enabled for a given buildGravatar djsollen@google.com2012-11-29
| | | | | | Review URL: https://codereview.appspot.com/6858089 git-svn-id: http://skia.googlecode.com/svn/trunk@6598 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve NaCl supportGravatar borenet@google.com2012-11-01
| | | | | | | | | | | | | | | | - Add nacl_make script to build Skia targets for NaCl using gyp - Add nacl_interface for command-line apps - Add nacl_sample as front-end for SampleApp - Add freetype to DEPS - Various gyp tweaks for NaCl TODO: - Implement GL interface - Implement font host - Fix plumbing so that SampleApp works properly Review URL: https://codereview.appspot.com/6671044 git-svn-id: http://skia.googlecode.com/svn/trunk@6245 2bbb7eff-a529-9590-31e7-b0007b416f81
* Place r5997 (make arcto's convex) behind a compiler flag to delay day of ↵Gravatar robertphillips@google.com2012-10-19
| | | | | | reckoning with Webkit baselines git-svn-id: http://skia.googlecode.com/svn/trunk@6012 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove an obsolete comment.Gravatar scroggo@google.com2012-10-15
| | | | | | | | This comment is no longer true as of r5869. Review URL: https://codereview.appspot.com/6701043 git-svn-id: http://skia.googlecode.com/svn/trunk@5957 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build Skia as a static libraryGravatar borenet@google.com2012-10-10
| | | | | | | | | | | - Roll GYP so that we get non-thin archives on Linux - Add merge_static_libs.py - Add skia_core_lib target which builds core, ports, opts*, and utils - Replace dependencies on core/ports/opts/utils with skia_core_libs - Rename exportable libraries with "skia_" Review URL: https://codereview.appspot.com/6619049 git-svn-id: http://skia.googlecode.com/svn/trunk@5889 2bbb7eff-a529-9590-31e7-b0007b416f81
* xcode_settings OTHER_CPLUSPLUSFLAGS is a list.Gravatar bungeman@google.com2012-10-02
| | | | | | | https://codereview.appspot.com/6588062/ git-svn-id: http://skia.googlecode.com/svn/trunk@5769 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable thumb on IOS. This removes one of XCodes complaints about the ↵Gravatar bsalomon@google.com2012-09-28
| | | | | | | | | generated projects. R=caryclark@google.com Review URL: https://codereview.appspot.com/6561072 git-svn-id: http://skia.googlecode.com/svn/trunk@5726 2bbb7eff-a529-9590-31e7-b0007b416f81
* move the xcode setup for SYMROOT to the outermost levelGravatar caryclark@google.com2012-09-26
| | | | | | Review URL: https://codereview.appspot.com/6576050 git-svn-id: http://skia.googlecode.com/svn/trunk@5693 2bbb7eff-a529-9590-31e7-b0007b416f81
* iOS support work in progressGravatar caryclark@google.com2012-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/core/SkTypes.h - address unsigned warning include/core/SkInstCnt.h src/core/SkInstCnt.cpp gyp/common.gypi - always define SK_ENABLE_INST_COUNT for debug builds src/views/mac/SkNSView.mm - only call glClear if there is a GL context src/ports/SkImageDecoder_CG.cpp - fix iOS hack by using proper include gyp/opts.gyp - exclude more ARM files from iOS for now (see issue 900) gyp/common_conditions.gypi - add release, more ios specific common settings gyp/bench.gyp - add iOS condition gyp/SampleApp.gyp - remove precompiled header, hardcoded SDK path - add more frameworks gyp/debugger.gyp - fix syntax error - add iOS/Android condition gyp/core.gyp - remove hardcoded SDK path, add more frameworks gyp/common_variables.gypi - add ios SDK path - add ios SDK version gyp/iOSSampleApp.gyp - remove obsolete project gyp/zlib.gyp - add ios library path Review URL: https://codereview.appspot.com/6551070 git-svn-id: http://skia.googlecode.com/svn/trunk@5649 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pull SDKROOT into a gyp variable, so it can be locally overridden. ThisGravatar senorblanco@chromium.org2012-09-20
| | | | | | | | | | allows building on Lion or Mountain Lion using XCode 4.4. http://codereview.appspot.com/6553044/ git-svn-id: http://skia.googlecode.com/svn/trunk@5607 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at making iOS workGravatar caryclark@google.com2012-09-20
| | | | | | | | | | | | | Replace __arm__ with SK_CPU_ARM add support for iOS simulator and device fix const warning in iOSSampleApp update gyp files https://code.google.com/p/skia/issues/detail?id=900 tracks fixing missing arm assembly Review URL: https://codereview.appspot.com/6552045 git-svn-id: http://skia.googlecode.com/svn/trunk@5606 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-apply 5508, but with the new compile-flag disabled for nowGravatar reed@google.com2012-09-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5516 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 5508 -- it broke most of the buildsGravatar reed@google.com2012-09-12
| | | | | | | | Use http://skia.googlecode.com/svn/buildbot/buildbots.html to see the state of the build. git-svn-id: http://skia.googlecode.com/svn/trunk@5511 2bbb7eff-a529-9590-31e7-b0007b416f81
* Using the device scale factor for glyph positioningGravatar wjmaclean@chromium.org2012-09-12
| | | | | | | | | | | | The master bug is http://code.google.com/p/chromium/issues/detail?id=138101 . The corresponding WebKit changes for this CL are here: https://bugs.webkit.org/show_bug.cgi?id=96137 BUG= Review URL: https://codereview.appspot.com/6506099 git-svn-id: http://skia.googlecode.com/svn/trunk@5508 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix noisy Android buildGravatar borenet@google.com2012-09-11
| | | | | | Review URL: https://codereview.appspot.com/6488107 git-svn-id: http://skia.googlecode.com/svn/trunk@5503 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable 64-bit builds on WindowsGravatar borenet@google.com2012-08-20
| | | | | | | | | | | | | | | Encountered compile errors passing 64-bit size_t to SkIntToScalar and needed to make adjustments to gm/gradients.cpp and bench/PicturePlaybackBench.cpp. Verified on my local Linux, Mac, and Windows machines. As of this change, the skia_arch_width gyp define actually forces a 32/64-bit build on Linux, Mac, and Windows. Review URL: https://codereview.appspot.com/6460112 git-svn-id: http://skia.googlecode.com/svn/trunk@5195 2bbb7eff-a529-9590-31e7-b0007b416f81
* Effects Bug FixGravatar chudy@google.com2012-08-13
| | | | | | | | | | | | Certain compilers in an effort to optimize code chop off files that are never used. By adding a flag to common conditions and variables we can force skia to recompile with global static initializers off. By making a call to SkGraphics::Init we now register all those functions that had been previously automatically excluded by the compiler. Review URL: https://codereview.appspot.com/6443112 git-svn-id: http://skia.googlecode.com/svn/trunk@5057 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable 32/64-bit gyp switch on LinuxGravatar borenet@google.com2012-08-09
| | | | | | | | | Linux defaults to 64, other platforms 32. As of this change, only Mac and Linux are affected by the skia_arch_width flag. Next step is to make Win work as well. Review URL: https://codereview.appspot.com/6460066 git-svn-id: http://skia.googlecode.com/svn/trunk@5041 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create GPU-less build of Skia.Gravatar bsalomon@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
* Gamma correcting masks.Gravatar bungeman@google.com2012-07-30
| | | | | | | https://codereview.appspot.com/6244068/ git-svn-id: http://skia.googlecode.com/svn/trunk@4841 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Android build for new toolchainGravatar borenet@google.com2012-07-25
| | | | | | | | | | The new toolchain (r8b) does not automatically include the necessary directories (http://code.google.com/p/android/issues/detail?id=35279). Add them manually until this is fixed. Review URL: https://codereview.appspot.com/6419076 git-svn-id: http://skia.googlecode.com/svn/trunk@4749 2bbb7eff-a529-9590-31e7-b0007b416f81
* The correct fix for the lighting filters on Windows: set the GL callingGravatar senorblanco@chromium.org2012-07-12
| | | | | | | | | | convention for all targets, not just gpu, since effects now makes GL calls too. Build fix; unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@4559 2bbb7eff-a529-9590-31e7-b0007b416f81
* Separate target architecture type and width into separate variables.Gravatar djsollen@google.com2012-06-28
| | | | | | | Also add support for building mac in 64 bit mode. Review URL: https://codereview.appspot.com/6343050 git-svn-id: http://skia.googlecode.com/svn/trunk@4385 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn more warnings on, includingGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation Review URL: https://codereview.appspot.com/6307043 git-svn-id: http://skia.googlecode.com/svn/trunk@4190 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use a single GrDrawState in GrContext for direct and buffered drawingGravatar bsalomon@google.com2012-05-31
| | | | | | | | Review URL: http://codereview.appspot.com/5933043 git-svn-id: http://skia.googlecode.com/svn/trunk@4091 2bbb7eff-a529-9590-31e7-b0007b416f81
* suppress warning on MacGravatar caryclark@google.com2012-05-31
| | | | | | | | | | http://codereview.appspot.com/6245070/ M gyp/common_conditions.gypi git-svn-id: http://skia.googlecode.com/svn/trunk@4087 2bbb7eff-a529-9590-31e7-b0007b416f81
* arm: First step towards dynamic NEON support.Gravatar digit@google.com2012-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds minimal support for dynamic ARM NEON support, i.e. the ability to probe the CPU at runtime for NEON and provide alternate code paths when it is available. - Add include/core/SkUtilsArm.h, which declares a few helper macros (e.g. SK_NEON_ARM_IS_DYNAMIC), plus the handy function 'sk_cpu_arm_has_neon()' which returns true if the target CPU supports the ARM NEON instruction set. Note that the header is in include/core/ because it will have to be included from NEON-specific code under src/code/ It would probably be more logical to put it under include/opts/ instead, but this would require moving all the NEON-specific stuff under src/code/ into src/opts/, which is not trivial due to the way the code is currently architected. - Add src/core/SkUtilsArm.cpp which implements 'sk_cpu_arm_has_neon' for ARM-based Linux systems, only when SK_NEON_ARM_IS_DYNAMIC is true. (For other cases, 'sk_cpu_arm_has_neon' is an inline function that returns a constant 'true' or 'false' value). There is no user-level accessible CPUID instruction on ARM, so do all CPU feature probing by parsing /proc/cpuinfo. This is Linux-specific. For Debug build types, the CPU probing result is printed to the Android log (or Linux command-line) for easier debugging. - Create a new 'opts_neon' target (static library) which shall contain all the NEON-specific code paths for the library. This is necessary because -mfpu=neon impacts also non-scalar code. Just like with -mssse3 on x86, we can't build the rest of the library with this flag. Note that for now, we only include memset16_neon and memset32_neon in this library. - Modify opts_check_arm.cpp to implement SK_ARM_NEON_IS_DYNAMIC properly. Compared to a 'xoom' build, the only difference is the use of NEON-optimized memset16/32 functions. Later patches will move more NEON-specific code paths to 'opts_neon'. Review URL: https://codereview.appspot.com/6247058 git-svn-id: http://skia.googlecode.com/svn/trunk@4069 2bbb7eff-a529-9590-31e7-b0007b416f81
* move Release build to -O3 (from -O2)Gravatar reed@google.com2012-05-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3988 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll out http://code.google.com/p/skia/source/detail?r=3687 because Mac 10.6 ↵Gravatar epoger@google.com2012-04-16
| | | | | | bot is failing git-svn-id: http://skia.googlecode.com/svn/trunk@3688 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make Mac build generate both 32-bit and 64-bit code.Gravatar epoger@google.com2012-04-16
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=524 Review URL: https://codereview.appspot.com/6022057 git-svn-id: http://skia.googlecode.com/svn/trunk@3687 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix xcode 4.1 build issueGravatar robertphillips@google.com2012-04-05
| | | | | | | | http://codereview.appspot.com/5992048/ git-svn-id: http://skia.googlecode.com/svn/trunk@3621 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement gamma correction for freetype text.Gravatar reed@google.com2012-02-28
| | | | | | | | | Need to opt-in to have it applied to kA8 text (which chrome can't for a while) A8 text needs to use Slight hinting to look better, but that is not forced... git-svn-id: http://skia.googlecode.com/svn/trunk@3277 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix typo in the gyp file.Gravatar djsollen@google.com2012-02-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3248 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable hardware float for all armv7 and add NDK required linker flagsGravatar djsollen@google.com2012-02-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3247 2bbb7eff-a529-9590-31e7-b0007b416f81