Home | History | Annotate | Download | only in gyp
      1 
      2 {
      3   'includes': [
      4     'common.gypi',
      5   ],
      6   'targets': [
      7     {
      8       'target_name': 'shapeops_demo',
      9       'type': 'executable',
     10       'mac_bundle' : 1,
     11       'include_dirs' : [
     12         '../experimental/SimpleCocoaApp', # needed to get SimpleApp.h
     13       ],
     14       'sources': [
     15         '../experimental/Intersection/ConvexHull.cpp',
     16         '../experimental/Intersection/CubeRoot.cpp',
     17         '../experimental/Intersection/CubicBezierClip.cpp',
     18         '../experimental/Intersection/CubicBounds.cpp',
     19         '../experimental/Intersection/CubicIntersection.cpp',
     20         '../experimental/Intersection/CubicReduceOrder.cpp',
     21         '../experimental/Intersection/CubicSubDivide.cpp',
     22         '../experimental/Intersection/CubicToQuadratics.cpp',
     23         '../experimental/Intersection/CubicUtilities.cpp',
     24         '../experimental/Intersection/DataTypes.cpp',
     25         '../experimental/Intersection/EdgeDemo.cpp',
     26         '../experimental/Intersection/EdgeDemoApp.mm',
     27         '../experimental/Intersection/EdgeWalker.cpp',
     28         '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
     29         '../experimental/Intersection/Extrema.cpp',
     30         '../experimental/Intersection/Intersections.cpp',
     31         '../experimental/Intersection/LineCubicIntersection.cpp',
     32         '../experimental/Intersection/LineIntersection.cpp',
     33         '../experimental/Intersection/LineParameterization.cpp',
     34         '../experimental/Intersection/LineQuadraticIntersection.cpp',
     35         '../experimental/Intersection/LineUtilities.cpp',
     36         '../experimental/Intersection/QuadraticBezierClip.cpp',
     37         '../experimental/Intersection/QuadraticBounds.cpp',
     38         '../experimental/Intersection/QuadraticIntersection.cpp',
     39         '../experimental/Intersection/QuadraticImplicit.cpp',
     40         '../experimental/Intersection/QuadraticLineSegments.cpp',
     41         '../experimental/Intersection/QuadraticParameterization.cpp',
     42         '../experimental/Intersection/QuadraticReduceOrder.cpp',
     43         '../experimental/Intersection/QuadraticSubDivide.cpp',
     44         '../experimental/Intersection/QuadraticUtilities.cpp',
     45         '../experimental/Intersection/QuarticRoot.cpp',
     46         '../experimental/Intersection/ShapeOps.cpp',
     47         '../experimental/Intersection/Simplify.cpp',
     48         '../experimental/Intersection/TriangleUtilities.cpp',
     49         '../experimental/Intersection/CubicParameterization.cpp',
     50         '../experimental/Intersection/CubicReduceOrder.cpp',
     51         '../experimental/Intersection/CubicSubDivide.cpp',
     52         '../experimental/Intersection/CubicUtilities.h',
     53         '../experimental/Intersection/CurveIntersection.h',
     54         '../experimental/Intersection/DataTypes.h',
     55         '../experimental/Intersection/EdgeDemo.h',
     56         '../experimental/Intersection/Extrema.h',
     57         '../experimental/Intersection/Intersections.h',
     58         '../experimental/Intersection/IntersectionUtilities.h',
     59         '../experimental/Intersection/LineIntersection.h',
     60         '../experimental/Intersection/LineParameters.h',
     61         '../experimental/Intersection/LineUtilities.h',
     62         '../experimental/Intersection/QuadraticLineSegments.h',
     63         '../experimental/Intersection/QuadraticParameterization.h',
     64         '../experimental/Intersection/QuadraticUtilities.h',
     65         '../experimental/Intersection/QuarticRoot.h',
     66         '../experimental/Intersection/ShapeOps.h',
     67         '../experimental/Intersection/Simplify.h',
     68         '../experimental/Intersection/TSearch.h',
     69         '../experimental/Intersection/TriangleUtilities.h',
     70      ],
     71       'dependencies': [
     72         'skia_lib.gyp:skia_lib',
     73         'views.gyp:views',
     74         'xml.gyp:xml',
     75       ],
     76       'conditions' : [
     77         [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
     78         }],
     79         [ 'skia_os == "win"', {
     80         }],
     81         [ 'skia_os == "mac"', {
     82           'sources': [
     83 
     84             # Mac files
     85             '../src/views/mac/SkEventNotifier.h',
     86             '../src/views/mac/SkEventNotifier.mm',
     87             '../src/views/mac/skia_mac.mm',
     88             '../src/views/mac/SkNSView.h',
     89             '../src/views/mac/SkNSView.mm',
     90             '../src/views/mac/SkOptionsTableView.h',
     91             '../src/views/mac/SkOptionsTableView.mm',
     92             '../src/views/mac/SkOSWindow_Mac.mm',
     93             '../src/views/mac/SkTextFieldCell.h',
     94             '../src/views/mac/SkTextFieldCell.m',
     95           ],
     96           'libraries': [
     97             '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
     98             '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
     99           ],
    100           'xcode_settings' : {
    101             'INFOPLIST_FILE' : '../experimental/Intersection/EdgeDemoApp-Info.plist',
    102           },
    103           'mac_bundle_resources' : [
    104             '../experimental/Intersection/EdgeDemoApp.xib',
    105           ],
    106         }],
    107       ],
    108       'msvs_settings': {
    109         'VCLinkerTool': {
    110           'SubSystem': '2',
    111           'AdditionalDependencies': [
    112             'd3d9.lib',
    113           ],
    114         },
    115       },
    116     },
    117   ],
    118 }
    119 
    120 # Local Variables:
    121 # tab-width:2
    122 # indent-tabs-mode:nil
    123 # End:
    124 # vim: set expandtab tabstop=2 shiftwidth=2:
    125