OLD | NEW |
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 config("zlib_config") { | 5 config("zlib_config") { |
6 include_dirs = [ "." ] | 6 include_dirs = [ "." ] |
7 } | 7 } |
8 | 8 |
9 static_library("zlib_x86_simd") { | 9 static_library("zlib_x86_simd") { |
10 if (!is_ios && (cpu_arch == "x86" || cpu_arch == "x64")) { | 10 if (!is_ios && (cpu_arch == "x86" || cpu_arch == "x64")) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "trees.c", | 50 "trees.c", |
51 "trees.h", | 51 "trees.h", |
52 "uncompr.c", | 52 "uncompr.c", |
53 "x86.h", | 53 "x86.h", |
54 "zconf.h", | 54 "zconf.h", |
55 "zlib.h", | 55 "zlib.h", |
56 "zutil.c", | 56 "zutil.c", |
57 "zutil.h", | 57 "zutil.h", |
58 ] | 58 ] |
59 | 59 |
60 if (!is_win && (cpu_arch == "x86" || cpu_arch == "x64")) { | 60 if (!is_ios && (cpu_arch == "x86" || cpu_arch == "x64")) { |
61 sources += [ "x86.c" ] | 61 sources += [ "x86.c" ] |
62 } | 62 } |
63 | 63 |
64 configs -= [ "//build/config/compiler:chromium_code" ] | 64 configs -= [ "//build/config/compiler:chromium_code" ] |
65 configs += [ "//build/config/compiler:no_chromium_code" ] | 65 configs += [ "//build/config/compiler:no_chromium_code" ] |
66 | 66 |
67 public_configs = [ ":zlib_config" ] | 67 public_configs = [ ":zlib_config" ] |
68 deps = [ ":zlib_x86_simd" ] | 68 deps = [ ":zlib_x86_simd" ] |
69 } | 69 } |
70 | 70 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 "google/zip_internal.cc", | 111 "google/zip_internal.cc", |
112 "google/zip_internal.h", | 112 "google/zip_internal.h", |
113 "google/zip_reader.cc", | 113 "google/zip_reader.cc", |
114 "google/zip_reader.h", | 114 "google/zip_reader.h", |
115 ] | 115 ] |
116 deps = [ | 116 deps = [ |
117 ":minizip", | 117 ":minizip", |
118 "//base", | 118 "//base", |
119 ] | 119 ] |
120 } | 120 } |
OLD | NEW |