Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 # GN version: //ui/events/ipc | 11 # GN version: //ui/accelerometer |
|
flackr
2014/08/29 01:55:07
Do I need to write a BUILD.gn?
sky
2014/08/29 02:15:27
Yes. You should add a BUILD.gn file.
flackr
2014/08/29 03:09:52
Done.
| |
| 12 'target_name': 'events_ipc', | 12 'target_name': 'ui_accelerometer', |
| 13 'type': '<(component)', | 13 'type': '<(component)', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '<(DEPTH)/base/base.gyp:base', | 15 '../gfx/gfx.gyp:gfx_geometry', |
| 16 '<(DEPTH)/ipc/ipc.gyp:ipc', | |
| 17 ], | 16 ], |
| 18 'defines': [ | 17 'defines': [ |
| 19 'EVENTS_IMPLEMENTATION', | 18 'UI_ACCELEROMETER_IMPLEMENTATION', |
| 19 ], | |
| 20 'sources' : [ | |
| 21 'accelerometer_types.cc', | |
| 22 'accelerometer_types.h', | |
| 23 'ui_accelerometer_export.h', | |
| 20 ], | 24 ], |
| 21 'include_dirs': [ | 25 'include_dirs': [ |
| 22 '../..', | 26 '../..', |
| 23 ], | 27 ], |
| 24 'sources': [ | |
| 25 'latency_info_param_traits.cc', | |
| 26 'latency_info_param_traits.h', | |
| 27 ], | |
| 28 }, | 28 }, |
| 29 ], | 29 ], |
| 30 } | 30 } |
| OLD | NEW |