Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: build/linux/libudev/BUILD.gn

Issue 1945893002: Split generated libraries out of //build/linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2015 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 import("//tools/generate_library_loader/generate_library_loader.gni")
6
7 gypi_values = exec_script("//build/gypi_to_gn.py",
8 [ rebase_path("../system.gyp") ],
9 "scope",
10 [ "../system.gyp" ])
11
12 # This generates a target named "udev0_loader".
13 generate_library_loader("udev0_loader") {
14 name = "LibUdev0Loader"
15 output_h = "libudev0.h"
16 output_cc = "libudev0_loader.cc"
17 header = "\"third_party/libudev/libudev0.h\""
18
19 functions = gypi_values.libudev_functions
20 }
21
22 # This generates a target named "udev1_loader".
23 generate_library_loader("udev1_loader") {
24 name = "LibUdev1Loader"
25 output_h = "libudev1.h"
26 output_cc = "libudev1_loader.cc"
27 header = "\"third_party/libudev/libudev1.h\""
28
29 functions = gypi_values.libudev_functions
30 }
31
32 group("udev") {
33 public_deps = [
34 ":udev0_loader",
35 ":udev1_loader",
36 ]
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698