OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 '../Source/build/features.gypi', | 32 '../Source/build/features.gypi', |
33 ], | 33 ], |
34 'targets': [ | 34 'targets': [ |
35 { | 35 { |
36 'target_name': 'blink', | 36 'target_name': 'blink', |
37 'type': 'none', | 37 'type': 'none', |
38 'dependencies': [ | 38 'dependencies': [ |
39 '../Source/web/web.gyp:blink_web', | 39 '../Source/web/web.gyp:blink_web', |
40 '../Source/platform/blink_platform.gyp:blink_platform', | 40 '../Source/platform/blink_platform.gyp:blink_platform', |
41 'blink_minimal', | 41 'blink_minimal', |
| 42 'blink_headers', |
42 ], | 43 ], |
43 'export_dependent_settings': [ | 44 'export_dependent_settings': [ |
44 '../Source/web/web.gyp:blink_web', | 45 '../Source/web/web.gyp:blink_web', |
45 '../Source/platform/blink_platform.gyp:blink_platform', | 46 '../Source/platform/blink_platform.gyp:blink_platform', |
46 'blink_minimal', | 47 'blink_minimal', |
47 ], | 48 ], |
48 }, | 49 }, |
49 { | 50 { |
| 51 # Depend on this target to use public blink API headers for things |
| 52 # like enums and public structures without actually linking against an
y Blink |
| 53 # libraries. |
| 54 'target_name': 'blink_headers', |
| 55 'type': 'none', |
| 56 'direct_dependent_settings': { |
| 57 'include_dirs': [ '..' ], |
| 58 }, |
| 59 }, |
| 60 { |
50 # This target provides a minimal set of Blink APIs such as WebString
to use in | 61 # This target provides a minimal set of Blink APIs such as WebString
to use in |
51 # places that cannot link against the full Blink library. | 62 # places that cannot link against the full Blink library. |
52 # FIXME: We really shouldn't have this at all and should instead rem
ove all uses | 63 # FIXME: We really shouldn't have this at all and should instead rem
ove all uses |
53 # of Blink's API types from places that can't link against Blink. cr
bug.com/248653 | 64 # of Blink's API types from places that can't link against Blink. cr
bug.com/248653 |
54 'target_name': 'blink_minimal', | 65 'target_name': 'blink_minimal', |
55 'type': 'none', | 66 'type': 'none', |
56 'dependencies': [ | 67 'dependencies': [ |
57 '../Source/platform/blink_platform.gyp:blink_common', | 68 '../Source/platform/blink_platform.gyp:blink_common', |
58 ], | 69 ], |
59 'export_dependent_settings': [ | 70 'export_dependent_settings': [ |
(...skipping 15 matching lines...) Expand all Loading... |
75 'type': 'none', | 86 'type': 'none', |
76 'dependencies': [ | 87 'dependencies': [ |
77 'blink_test_support', | 88 'blink_test_support', |
78 ], | 89 ], |
79 'export_dependent_settings': [ | 90 'export_dependent_settings': [ |
80 'blink_test_support', | 91 'blink_test_support', |
81 ], | 92 ], |
82 }, | 93 }, |
83 ], | 94 ], |
84 } | 95 } |
OLD | NEW |