aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-15 18:04:58 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-15 18:04:58 +0000
commit1fd56dc6e189ea0e94b5df9af959c243573f8883 (patch)
treebd8aa15599b99c4af90fb49340420071abd8d773 /gyp
parent129b8e3237b80b9d258a8f48e8f54c0073cafbdc (diff)
Implement SkPoint::Normalize() for SK_SCALAR_IS_FIXED and add performance warning to its declaration
Diffstat (limited to 'gyp')
-rw-r--r--gyp/core.gyp12
-rw-r--r--gyp/tests.gyp1
2 files changed, 13 insertions, 0 deletions
diff --git a/gyp/core.gyp b/gyp/core.gyp
index b5bc962122..9017a4f0ae 100644
--- a/gyp/core.gyp
+++ b/gyp/core.gyp
@@ -330,6 +330,18 @@
'opts.gyp:opts'
],
},
+ {
+ 'target_name': 'core_tests',
+ 'type': 'static_library',
+ 'all_dependent_settings': {
+ 'sources': [
+ '../tests/core/PointTest.cpp',
+ ],
+ 'include_dirs': [
+ '../tests',
+ ],
+ },
+ },
],
}
diff --git a/gyp/tests.gyp b/gyp/tests.gyp
index 1888a21497..fa2e17910d 100644
--- a/gyp/tests.gyp
+++ b/gyp/tests.gyp
@@ -69,6 +69,7 @@
],
'dependencies': [
'core.gyp:core',
+ 'core.gyp:core_tests',
'effects.gyp:effects',
'experimental.gyp:experimental',
'images.gyp:images',