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

Side by Side Diff: third_party/snappy/BUILD.gn

Issue 2778153002: Add missing header files to GN files (Closed)
Patch Set: fix merge Created 3 years, 8 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
« no previous file with comments | « third_party/libxml/BUILD.gn ('k') | tools/gn/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 config("snappy_config") { 7 config("snappy_config") {
8 include_dirs = [ "src" ] 8 include_dirs = [ "src" ]
9 9
10 # These OS-specific generated headers were made by running the configure 10 # These OS-specific generated headers were made by running the configure
(...skipping 25 matching lines...) Expand all
36 sources = [ 36 sources = [
37 "src/snappy-internal.h", 37 "src/snappy-internal.h",
38 "src/snappy-sinksource.cc", 38 "src/snappy-sinksource.cc",
39 "src/snappy-sinksource.h", 39 "src/snappy-sinksource.h",
40 "src/snappy-stubs-internal.cc", 40 "src/snappy-stubs-internal.cc",
41 "src/snappy-stubs-internal.h", 41 "src/snappy-stubs-internal.h",
42 "src/snappy.cc", 42 "src/snappy.cc",
43 "src/snappy.h", 43 "src/snappy.h",
44 ] 44 ]
45 45
46 if (is_win) {
47 sources += [ "win32/snappy-stubs-public.h" ]
48 } else if (is_mac) {
49 sources += [ "mac/snappy-stubs-public.h" ]
50 } else {
51 sources += [ "linux/snappy-stubs-public.h" ]
52 }
53
46 configs -= [ "//build/config/compiler:chromium_code" ] 54 configs -= [ "//build/config/compiler:chromium_code" ]
47 configs += [ 55 configs += [
48 "//build/config/compiler:no_chromium_code", 56 "//build/config/compiler:no_chromium_code",
49 57
50 # Must be after no_chromium_code for warning flags to be ordered correctly. 58 # Must be after no_chromium_code for warning flags to be ordered correctly.
51 ":snappy_warnings", 59 ":snappy_warnings",
52 ] 60 ]
53 public_configs = [ ":snappy_config" ] 61 public_configs = [ ":snappy_config" ]
54 62
55 # Chromium doesn't use automake, but we generated config.h offline for all the 63 # Chromium doesn't use automake, but we generated config.h offline for all the
56 # platforms that we build for. 64 # platforms that we build for.
57 defines = [ "HAVE_CONFIG_H" ] 65 defines = [ "HAVE_CONFIG_H" ]
58 } 66 }
OLDNEW
« no previous file with comments | « third_party/libxml/BUILD.gn ('k') | tools/gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698