| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //components/version_ui | 8 # GN version: //components/version_ui |
| 9 'target_name': 'version_ui', | 9 'target_name': 'version_ui', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'include_dirs': [ | 11 'include_dirs': [ |
| 12 '..', | 12 '..', |
| 13 ], | 13 ], |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'variations', | 15 'variations', |
| 16 '../base/base.gyp:base', | 16 '../base/base.gyp:base', |
| 17 'mojo_bindings', |
| 17 ], | 18 ], |
| 18 'sources': [ | 19 'sources': [ |
| 19 # Note: sources list duplicated in GN build. | 20 # Note: sources list duplicated in GN build. |
| 20 'version_ui/version_handler_helper.cc', | 21 'version_ui/version_handler_helper.cc', |
| 21 'version_ui/version_handler_helper.h', | 22 'version_ui/version_handler_helper.h', |
| 22 'version_ui/version_ui_constants.cc', | 23 'version_ui/version_ui_constants.cc', |
| 23 'version_ui/version_ui_constants.h', | 24 'version_ui/version_ui_constants.h', |
| 24 ], | 25 ], |
| 25 }, | 26 }, |
| 27 { |
| 28 'target_name': 'mojo_bindings', |
| 29 # The type of this target must be none. This is so that resources can |
| 30 # depend upon this target for generating the js bindings files. Any |
| 31 # generated cpp files be listed explicitly in browser_ui. |
| 32 'type': 'none', |
| 33 'sources': [ |
| 34 # GN version: //components/version_ui:mojo_bindings |
| 35 'version_ui/version.mojom', |
| 36 ], |
| 37 'includes': [ '../mojo/mojom_bindings_generator.gypi' ], |
| 38 }, |
| 26 ], | 39 ], |
| 27 } | 40 } |
| OLD | NEW |