Chromium Code Reviews| 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 component("uribeacon") { | 5 static_library("sudden_motion_sensor") { |
|
brettw
2015/04/15 19:01:06
This should be a source_set.
Jiang Jiang
2015/04/15 20:21:26
Done. Is there a rule of thumb for choosing source
brettw
2015/04/16 17:04:18
Yes, use source_set unless there's a good reason n
| |
| 6 sources = [ | |
| 7 "uri_encoder.cc", | |
| 8 "uri_encoder.h", | |
| 9 ] | |
| 10 deps = [ | 6 deps = [ |
| 11 "//base", | 7 "//base", |
| 12 ] | 8 ] |
| 9 sources = [ | |
|
brettw
2015/04/15 19:01:06
GN style is to put the source first.
Jiang Jiang
2015/04/15 20:21:26
Done.
| |
| 10 "sudden_motion_sensor_mac.cc", | |
| 11 "sudden_motion_sensor_mac.h", | |
| 12 ] | |
| 13 } | 13 } |
| OLD | NEW |