| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 config("libsync_config") { | 5 config("libsync_config") { |
| 6 include_dirs = [ "include" ] | 6 include_dirs = [ "include" ] |
| 7 } | 7 } |
| 8 | 8 |
| 9 source_set("libsync") { | 9 source_set("libsync") { |
| 10 sources = [ | 10 sources = [ |
| 11 "include/linux/sw_sync.h", | 11 "include/linux/sw_sync.h", |
| 12 "include/linux/sync.h", | 12 "include/linux/sync.h", |
| 13 "include/sw_sync.h", | 13 "include/sw_sync.h", |
| 14 "include/sync/sync.h", | 14 "include/sync/sync.h", |
| 15 "strlcpy.c", | 15 "strlcpy.c", |
| 16 "sync.c", | 16 "sync.c", |
| 17 ] | 17 ] |
| 18 | 18 |
| 19 configs -= [ "//build/config/compiler:chromium_code" ] | 19 configs -= [ "//build/config/compiler:chromium_code" ] |
| 20 configs += [ "//build/config/compiler:no_chromium_code" ] | 20 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 21 | 21 |
| 22 public_configs = [ ":libsync_config" ] | 22 public_configs = [ ":libsync_config" ] |
| 23 |
| 24 cflags_c = [ "-Wno-implicit-function-declaration" ] |
| 23 } | 25 } |
| OLD | NEW |