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 14 matching lines...) Expand all Loading... |
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 # | 29 # |
30 | 30 |
31 { | 31 { |
32 'includes': [ | 32 'includes': [ |
33 '../build/features.gypi', | 33 '../build/features.gypi', |
34 '../build/scripts/scripts.gypi', | 34 '../build/scripts/scripts.gypi', |
| 35 'platform_generated.gypi', |
35 ], | 36 ], |
36 | 37 |
37 'targets': [ | 38 'targets': [ |
38 { | 39 { |
39 'target_name': 'make_platform_generated', | 40 'target_name': 'make_platform_generated', |
40 'type': 'none', | 41 'type': 'none', |
41 'hard_dependency': 1, | 42 'hard_dependency': 1, |
42 'actions': [ | 43 'actions': [ |
43 { | 44 { |
44 'action_name': 'FontFamilyNames', | 45 'action_name': 'FontFamilyNames', |
45 'inputs': [ | 46 'inputs': [ |
46 '<@(make_names_files)', | 47 '<@(make_names_files)', |
47 'fonts/FontFamilyNames.in', | 48 'fonts/FontFamilyNames.in', |
48 ], | 49 ], |
49 'outputs': [ | 50 'outputs': [ |
50 '<(SHARED_INTERMEDIATE_DIR)/blink/FontFamilyNames.cpp', | 51 '<(blink_platform_output_dir)/FontFamilyNames.cpp', |
51 '<(SHARED_INTERMEDIATE_DIR)/blink/FontFamilyNames.h', | 52 '<(blink_platform_output_dir)/FontFamilyNames.h', |
52 ], | 53 ], |
53 'action': [ | 54 'action': [ |
54 'python', | 55 'python', |
55 '../build/scripts/make_names.py', | 56 '../build/scripts/make_names.py', |
56 'fonts/FontFamilyNames.in', | 57 'fonts/FontFamilyNames.in', |
57 '--output_dir', | 58 '--output_dir', |
58 '<(SHARED_INTERMEDIATE_DIR)/blink', | 59 '<(blink_platform_output_dir)', |
59 ], | 60 ], |
60 }, | 61 }, |
61 { | 62 { |
62 'action_name': 'RuntimeEnabledFeatures', | 63 'action_name': 'RuntimeEnabledFeatures', |
63 'inputs': [ | 64 'inputs': [ |
64 '<@(scripts_for_in_files)', | 65 '<@(scripts_for_in_files)', |
65 '../build/scripts/make_runtime_features.py', | 66 '../build/scripts/make_runtime_features.py', |
66 'RuntimeEnabledFeatures.in', | 67 'RuntimeEnabledFeatures.in', |
67 '../build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl', | 68 '../build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl', |
68 '../build/scripts/templates/RuntimeEnabledFeatures.h.tmpl', | 69 '../build/scripts/templates/RuntimeEnabledFeatures.h.tmpl', |
69 ], | 70 ], |
70 'outputs': [ | 71 'outputs': [ |
71 '<(SHARED_INTERMEDIATE_DIR)/blink/RuntimeEnabledFeatures.cpp', | 72 '<(blink_platform_output_dir)/RuntimeEnabledFeatures.cpp', |
72 '<(SHARED_INTERMEDIATE_DIR)/blink/RuntimeEnabledFeatures.h', | 73 '<(blink_platform_output_dir)/RuntimeEnabledFeatures.h', |
73 ], | 74 ], |
74 'action': [ | 75 'action': [ |
75 'python', | 76 'python', |
76 '../build/scripts/make_runtime_features.py', | 77 '../build/scripts/make_runtime_features.py', |
77 'RuntimeEnabledFeatures.in', | 78 'RuntimeEnabledFeatures.in', |
78 '--output_dir', | 79 '--output_dir', |
79 '<(SHARED_INTERMEDIATE_DIR)/blink', | 80 '<(blink_platform_output_dir)', |
80 ], | 81 ], |
81 }, | 82 }, |
82 { | 83 { |
83 'action_name': 'ColorData', | 84 'action_name': 'ColorData', |
84 'inputs': [ | 85 'inputs': [ |
85 'ColorData.gperf', | 86 'ColorData.gperf', |
86 ], | 87 ], |
87 'outputs': [ | 88 'outputs': [ |
88 '<(SHARED_INTERMEDIATE_DIR)/blink/ColorData.cpp', | 89 '<(blink_platform_output_dir)/ColorData.cpp', |
89 ], | 90 ], |
90 'action': [ | 91 'action': [ |
91 '<(gperf_exe)', | 92 '<(gperf_exe)', |
92 '--key-positions=*', | 93 '--key-positions=*', |
93 '-D', '-s', '2', | 94 '-D', '-s', '2', |
94 '<@(_inputs)', | 95 '<@(_inputs)', |
95 '--output-file=<(SHARED_INTERMEDIATE_DIR)/blink/ColorData.cpp', | 96 '--output-file=<(blink_platform_output_dir)/ColorData.cpp', |
96 ], | 97 ], |
97 }, | 98 }, |
98 ] | 99 ] |
99 }, | 100 }, |
100 ], | 101 ], |
101 } | 102 } |
OLD | NEW |