1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 { 5 'includes': [ 6 'modules_generated.gypi', 7 '../bindings/scripts/scripts.gypi', 8 '../build/features.gypi', 9 '../build/scripts/scripts.gypi', 10 ], 11 'targets': [ 12 { 13 # GN version: //third_party/WebKit/Source/modules:make_modules_generated 14 'target_name': 'make_modules_generated', 15 'type': 'none', 16 'hard_dependency': 1, 17 'dependencies': [ 18 '../bindings/modules/generated.gyp:modules_event_generated', 19 '../config.gyp:config', 20 ], 21 'actions': [ 22 { 23 'action_name': 'IndexedDBNames', 24 'inputs': [ 25 '<@(make_names_files)', 26 'indexeddb/IndexedDBNames.in', 27 ], 28 'outputs': [ 29 '<(blink_modules_output_dir)/IndexedDBNames.cpp', 30 '<(blink_modules_output_dir)/IndexedDBNames.h', 31 ], 32 'action': [ 33 'python', 34 '../build/scripts/make_names.py', 35 'indexeddb/IndexedDBNames.in', 36 '--output_dir', 37 '<(blink_modules_output_dir)', 38 ], 39 }, 40 ], 41 }, 42 ], 43 } 44